codemp/game/g_public.h File Reference

Go to the source code of this file.

Data Structures

struct  entityShared_t
struct  failedEdge_e
struct  parms_t
struct  sharedEntity_t
struct  T_G_ICARUS_GETFLOAT
struct  T_G_ICARUS_GETSETIDFORSTRING
struct  T_G_ICARUS_GETSTRING
struct  T_G_ICARUS_GETTAG
struct  T_G_ICARUS_GETVECTOR
struct  T_G_ICARUS_KILL
struct  T_G_ICARUS_LERP2ANGLES
struct  T_G_ICARUS_LERP2END
struct  T_G_ICARUS_LERP2ORIGIN
struct  T_G_ICARUS_LERP2POS
struct  T_G_ICARUS_LERP2START
struct  T_G_ICARUS_PLAY
struct  T_G_ICARUS_PLAYSOUND
struct  T_G_ICARUS_REMOVE
struct  T_G_ICARUS_SET
struct  T_G_ICARUS_SOUNDINDEX
struct  T_G_ICARUS_USE

Defines

#define Q3_INFINITE   16777216
#define GAME_API_VERSION   8
#define SVF_NOCLIENT   0x00000001
#define SVF_BOT   0x00000008
#define SVF_PLAYER_USABLE   0x00000010
#define SVF_BROADCAST   0x00000020
#define SVF_PORTAL   0x00000040
#define SVF_USE_CURRENT_ORIGIN   0x00000080
#define SVF_SINGLECLIENT   0x00000100
#define SVF_NOSERVERINFO   0x00000200
#define SVF_CAPSULE   0x00000400
#define SVF_NOTSINGLECLIENT   0x00000800
#define SVF_OWNERNOTSHARED   0x00001000
#define SVF_ICARUS_FREEZE   0x00008000
#define SVF_GLASS_BRUSH   0x08000000
#define SVF_NO_BASIC_SOUNDS   0x10000000
#define SVF_NO_COMBAT_SOUNDS   0x20000000
#define SVF_NO_EXTRA_SOUNDS   0x40000000
#define G2TRFLAG_DOGHOULTRACE   0x00000001
#define G2TRFLAG_HITCORPSES   0x00000002
#define G2TRFLAG_GETSURFINDEX   0x00000004
#define G2TRFLAG_THICK   0x00000008
#define MAX_PARMS   16
#define MAX_PARM_STRING_LENGTH   MAX_QPATH
#define MAX_FAILED_NODES   8

Typedefs

typedef failedEdge_e failedEdge_t
typedef Vehicle_s Vehicle_t

Enumerations

enum  gameImport_t {
  G_PRINT, G_ERROR, G_MILLISECONDS, G_PRECISIONTIMER_START,
  G_PRECISIONTIMER_END, G_CVAR_REGISTER, G_CVAR_UPDATE, G_CVAR_SET,
  G_CVAR_VARIABLE_INTEGER_VALUE, G_CVAR_VARIABLE_STRING_BUFFER, G_ARGC, G_ARGV,
  G_FS_FOPEN_FILE, G_FS_READ, G_FS_WRITE, G_FS_FCLOSE_FILE,
  G_SEND_CONSOLE_COMMAND, G_LOCATE_GAME_DATA, G_DROP_CLIENT, G_SEND_SERVER_COMMAND,
  G_SET_CONFIGSTRING, G_GET_CONFIGSTRING, G_GET_USERINFO, G_SET_USERINFO,
  G_GET_SERVERINFO, G_SET_SERVER_CULL, G_SET_BRUSH_MODEL, G_TRACE,
  G_G2TRACE, G_POINT_CONTENTS, G_IN_PVS, G_IN_PVS_IGNORE_PORTALS,
  G_ADJUST_AREA_PORTAL_STATE, G_AREAS_CONNECTED, G_LINKENTITY, G_UNLINKENTITY,
  G_ENTITIES_IN_BOX, G_ENTITY_CONTACT, G_BOT_ALLOCATE_CLIENT, G_BOT_FREE_CLIENT,
  G_GET_USERCMD, G_GET_ENTITY_TOKEN, G_SIEGEPERSSET, G_SIEGEPERSGET,
  G_FS_GETFILELIST, G_DEBUG_POLYGON_CREATE, G_DEBUG_POLYGON_DELETE, G_REAL_TIME,
  G_SNAPVECTOR, G_TRACECAPSULE, G_ENTITY_CONTACTCAPSULE, SP_GETSTRINGTEXTSTRING,
  G_ROFF_CLEAN, G_ROFF_UPDATE_ENTITIES, G_ROFF_CACHE, G_ROFF_PLAY,
  G_ROFF_PURGE_ENT, G_TRUEMALLOC, G_TRUEFREE, G_ICARUS_RUNSCRIPT,
  G_ICARUS_REGISTERSCRIPT, G_ICARUS_INIT, G_ICARUS_VALIDENT, G_ICARUS_ISINITIALIZED,
  G_ICARUS_MAINTAINTASKMANAGER, G_ICARUS_ISRUNNING, G_ICARUS_TASKIDPENDING, G_ICARUS_INITENT,
  G_ICARUS_FREEENT, G_ICARUS_ASSOCIATEENT, G_ICARUS_SHUTDOWN, G_ICARUS_TASKIDSET,
  G_ICARUS_TASKIDCOMPLETE, G_ICARUS_SETVAR, G_ICARUS_VARIABLEDECLARED, G_ICARUS_GETFLOATVARIABLE,
  G_ICARUS_GETSTRINGVARIABLE, G_ICARUS_GETVECTORVARIABLE, G_SET_SHARED_BUFFER, G_MEMSET = 100,
  G_MEMCPY, G_STRNCPY, G_SIN, G_COS,
  G_ATAN2, G_SQRT, G_MATRIXMULTIPLY, G_ANGLEVECTORS,
  G_PERPENDICULARVECTOR, G_FLOOR, G_CEIL, G_TESTPRINTINT,
  G_TESTPRINTFLOAT, G_ACOS, G_ASIN, G_NAV_INIT = 200,
  G_NAV_FREE, G_NAV_LOAD, G_NAV_SAVE, G_NAV_ADDRAWPOINT,
  G_NAV_CALCULATEPATHS, G_NAV_HARDCONNECT, G_NAV_SHOWNODES, G_NAV_SHOWEDGES,
  G_NAV_SHOWPATH, G_NAV_GETNEARESTNODE, G_NAV_GETBESTNODE, G_NAV_GETNODEPOSITION,
  G_NAV_GETNODENUMEDGES, G_NAV_GETNODEEDGE, G_NAV_GETNUMNODES, G_NAV_CONNECTED,
  G_NAV_GETPATHCOST, G_NAV_GETEDGECOST, G_NAV_GETPROJECTEDNODE, G_NAV_CHECKFAILEDNODES,
  G_NAV_ADDFAILEDNODE, G_NAV_NODEFAILED, G_NAV_NODESARENEIGHBORS, G_NAV_CLEARFAILEDEDGE,
  G_NAV_CLEARALLFAILEDEDGES, G_NAV_EDGEFAILED, G_NAV_ADDFAILEDEDGE, G_NAV_CHECKFAILEDEDGE,
  G_NAV_CHECKALLFAILEDEDGES, G_NAV_ROUTEBLOCKED, G_NAV_GETBESTNODEALTROUTE, G_NAV_GETBESTNODEALT2,
  G_NAV_GETBESTPATHBETWEENENTS, G_NAV_GETNODERADIUS, G_NAV_CHECKBLOCKEDEDGES, G_NAV_CLEARCHECKEDNODES,
  G_NAV_CHECKEDNODE, G_NAV_SETCHECKEDNODE, G_NAV_FLAGALLNODES, G_NAV_GETPATHSCALCULATED,
  G_NAV_SETPATHSCALCULATED, BOTLIB_SETUP = 250, BOTLIB_SHUTDOWN, BOTLIB_LIBVAR_SET,
  BOTLIB_LIBVAR_GET, BOTLIB_PC_ADD_GLOBAL_DEFINE, BOTLIB_START_FRAME, BOTLIB_LOAD_MAP,
  BOTLIB_UPDATENTITY, BOTLIB_TEST, BOTLIB_GET_SNAPSHOT_ENTITY, BOTLIB_GET_CONSOLE_MESSAGE,
  BOTLIB_USER_COMMAND, BOTLIB_AAS_ENABLE_ROUTING_AREA = 300, BOTLIB_AAS_BBOX_AREAS, BOTLIB_AAS_AREA_INFO,
  BOTLIB_AAS_ENTITY_INFO, BOTLIB_AAS_INITIALIZED, BOTLIB_AAS_PRESENCE_TYPE_BOUNDING_BOX, BOTLIB_AAS_TIME,
  BOTLIB_AAS_POINT_AREA_NUM, BOTLIB_AAS_TRACE_AREAS, BOTLIB_AAS_POINT_CONTENTS, BOTLIB_AAS_NEXT_BSP_ENTITY,
  BOTLIB_AAS_VALUE_FOR_BSP_EPAIR_KEY, BOTLIB_AAS_VECTOR_FOR_BSP_EPAIR_KEY, BOTLIB_AAS_FLOAT_FOR_BSP_EPAIR_KEY, BOTLIB_AAS_INT_FOR_BSP_EPAIR_KEY,
  BOTLIB_AAS_AREA_REACHABILITY, BOTLIB_AAS_AREA_TRAVEL_TIME_TO_GOAL_AREA, BOTLIB_AAS_SWIMMING, BOTLIB_AAS_PREDICT_CLIENT_MOVEMENT,
  BOTLIB_EA_SAY = 400, BOTLIB_EA_SAY_TEAM, BOTLIB_EA_COMMAND, BOTLIB_EA_ACTION,
  BOTLIB_EA_GESTURE, BOTLIB_EA_TALK, BOTLIB_EA_ATTACK, BOTLIB_EA_ALT_ATTACK,
  BOTLIB_EA_FORCEPOWER, BOTLIB_EA_USE, BOTLIB_EA_RESPAWN, BOTLIB_EA_CROUCH,
  BOTLIB_EA_MOVE_UP, BOTLIB_EA_MOVE_DOWN, BOTLIB_EA_MOVE_FORWARD, BOTLIB_EA_MOVE_BACK,
  BOTLIB_EA_MOVE_LEFT, BOTLIB_EA_MOVE_RIGHT, BOTLIB_EA_SELECT_WEAPON, BOTLIB_EA_JUMP,
  BOTLIB_EA_DELAYED_JUMP, BOTLIB_EA_MOVE, BOTLIB_EA_VIEW, BOTLIB_EA_END_REGULAR,
  BOTLIB_EA_GET_INPUT, BOTLIB_EA_RESET_INPUT, BOTLIB_AI_LOAD_CHARACTER = 500, BOTLIB_AI_FREE_CHARACTER,
  BOTLIB_AI_CHARACTERISTIC_FLOAT, BOTLIB_AI_CHARACTERISTIC_BFLOAT, BOTLIB_AI_CHARACTERISTIC_INTEGER, BOTLIB_AI_CHARACTERISTIC_BINTEGER,
  BOTLIB_AI_CHARACTERISTIC_STRING, BOTLIB_AI_ALLOC_CHAT_STATE, BOTLIB_AI_FREE_CHAT_STATE, BOTLIB_AI_QUEUE_CONSOLE_MESSAGE,
  BOTLIB_AI_REMOVE_CONSOLE_MESSAGE, BOTLIB_AI_NEXT_CONSOLE_MESSAGE, BOTLIB_AI_NUM_CONSOLE_MESSAGE, BOTLIB_AI_INITIAL_CHAT,
  BOTLIB_AI_REPLY_CHAT, BOTLIB_AI_CHAT_LENGTH, BOTLIB_AI_ENTER_CHAT, BOTLIB_AI_STRING_CONTAINS,
  BOTLIB_AI_FIND_MATCH, BOTLIB_AI_MATCH_VARIABLE, BOTLIB_AI_UNIFY_WHITE_SPACES, BOTLIB_AI_REPLACE_SYNONYMS,
  BOTLIB_AI_LOAD_CHAT_FILE, BOTLIB_AI_SET_CHAT_GENDER, BOTLIB_AI_SET_CHAT_NAME, BOTLIB_AI_RESET_GOAL_STATE,
  BOTLIB_AI_RESET_AVOID_GOALS, BOTLIB_AI_PUSH_GOAL, BOTLIB_AI_POP_GOAL, BOTLIB_AI_EMPTY_GOAL_STACK,
  BOTLIB_AI_DUMP_AVOID_GOALS, BOTLIB_AI_DUMP_GOAL_STACK, BOTLIB_AI_GOAL_NAME, BOTLIB_AI_GET_TOP_GOAL,
  BOTLIB_AI_GET_SECOND_GOAL, BOTLIB_AI_CHOOSE_LTG_ITEM, BOTLIB_AI_CHOOSE_NBG_ITEM, BOTLIB_AI_TOUCHING_GOAL,
  BOTLIB_AI_ITEM_GOAL_IN_VIS_BUT_NOT_VISIBLE, BOTLIB_AI_GET_LEVEL_ITEM_GOAL, BOTLIB_AI_AVOID_GOAL_TIME, BOTLIB_AI_INIT_LEVEL_ITEMS,
  BOTLIB_AI_UPDATE_ENTITY_ITEMS, BOTLIB_AI_LOAD_ITEM_WEIGHTS, BOTLIB_AI_FREE_ITEM_WEIGHTS, BOTLIB_AI_SAVE_GOAL_FUZZY_LOGIC,
  BOTLIB_AI_ALLOC_GOAL_STATE, BOTLIB_AI_FREE_GOAL_STATE, BOTLIB_AI_RESET_MOVE_STATE, BOTLIB_AI_MOVE_TO_GOAL,
  BOTLIB_AI_MOVE_IN_DIRECTION, BOTLIB_AI_RESET_AVOID_REACH, BOTLIB_AI_RESET_LAST_AVOID_REACH, BOTLIB_AI_REACHABILITY_AREA,
  BOTLIB_AI_MOVEMENT_VIEW_TARGET, BOTLIB_AI_ALLOC_MOVE_STATE, BOTLIB_AI_FREE_MOVE_STATE, BOTLIB_AI_INIT_MOVE_STATE,
  BOTLIB_AI_CHOOSE_BEST_FIGHT_WEAPON, BOTLIB_AI_GET_WEAPON_INFO, BOTLIB_AI_LOAD_WEAPON_WEIGHTS, BOTLIB_AI_ALLOC_WEAPON_STATE,
  BOTLIB_AI_FREE_WEAPON_STATE, BOTLIB_AI_RESET_WEAPON_STATE, BOTLIB_AI_GENETIC_PARENTS_AND_CHILD_SELECTION, BOTLIB_AI_INTERBREED_GOAL_FUZZY_LOGIC,
  BOTLIB_AI_MUTATE_GOAL_FUZZY_LOGIC, BOTLIB_AI_GET_NEXT_CAMP_SPOT_GOAL, BOTLIB_AI_GET_MAP_LOCATION_GOAL, BOTLIB_AI_NUM_INITIAL_CHATS,
  BOTLIB_AI_GET_CHAT_MESSAGE, BOTLIB_AI_REMOVE_FROM_AVOID_GOALS, BOTLIB_AI_PREDICT_VISIBLE_POSITION, BOTLIB_AI_SET_AVOID_GOAL_TIME,
  BOTLIB_AI_ADD_AVOID_SPOT, BOTLIB_AAS_ALTERNATIVE_ROUTE_GOAL, BOTLIB_AAS_PREDICT_ROUTE, BOTLIB_AAS_POINT_REACHABILITY_AREA_INDEX,
  BOTLIB_PC_LOAD_SOURCE, BOTLIB_PC_FREE_SOURCE, BOTLIB_PC_READ_TOKEN, BOTLIB_PC_SOURCE_FILE_AND_LINE,
  G_R_REGISTERSKIN, G_G2_LISTBONES, G_G2_LISTSURFACES, G_G2_HAVEWEGHOULMODELS,
  G_G2_SETMODELS, G_G2_GETBOLT, G_G2_GETBOLT_NOREC, G_G2_GETBOLT_NOREC_NOROT,
  G_G2_INITGHOUL2MODEL, G_G2_SETSKIN, G_G2_SIZE, G_G2_ADDBOLT,
  G_G2_SETBOLTINFO, G_G2_ANGLEOVERRIDE, G_G2_PLAYANIM, G_G2_GETBONEANIM,
  G_G2_GETGLANAME, G_G2_COPYGHOUL2INSTANCE, G_G2_COPYSPECIFICGHOUL2MODEL, G_G2_DUPLICATEGHOUL2INSTANCE,
  G_G2_HASGHOUL2MODELONINDEX, G_G2_REMOVEGHOUL2MODEL, G_G2_REMOVEGHOUL2MODELS, G_G2_CLEANMODELS,
  G_G2_COLLISIONDETECT, G_G2_COLLISIONDETECTCACHE, G_G2_SETROOTSURFACE, G_G2_SETSURFACEONOFF,
  G_G2_SETNEWORIGIN, G_G2_DOESBONEEXIST, G_G2_GETSURFACERENDERSTATUS, G_G2_ABSURDSMOOTHING,
  G_G2_SETRAGDOLL, G_G2_ANIMATEG2MODELS, G_G2_RAGPCJCONSTRAINT, G_G2_RAGPCJGRADIENTSPEED,
  G_G2_RAGEFFECTORGOAL, G_G2_GETRAGBONEPOS, G_G2_RAGEFFECTORKICK, G_G2_RAGFORCESOLVE,
  G_G2_SETBONEIKSTATE, G_G2_IKMOVE, G_G2_REMOVEBONE, G_G2_ATTACHINSTANCETOENTNUM,
  G_G2_CLEARATTACHEDINSTANCE, G_G2_CLEANENTATTACHMENTS, G_G2_OVERRIDESERVER, G_G2_GETSURFACENAME,
  G_SET_ACTIVE_SUBBSP, G_CM_REGISTER_TERRAIN, G_RMG_INIT, G_BOT_UPDATEWAYPOINTS,
  G_BOT_CALCULATEPATHS
}
enum  bState_t {
  BS_DEFAULT = 0, BS_ADVANCE_FIGHT, BS_SLEEP, BS_FOLLOW_LEADER,
  BS_JUMP, BS_SEARCH, BS_WANDER, BS_NOCLIP,
  BS_REMOVE, BS_CINEMATIC, BS_WAIT, BS_STAND_GUARD,
  BS_PATROL, BS_INVESTIGATE, BS_STAND_AND_SHOOT, BS_HUNT_AND_KILL,
  BS_FLEE, NUM_BSTATES
}
enum  {
  EDGE_NORMAL, EDGE_PATH, EDGE_BLOCKED, EDGE_FAILED,
  EDGE_MOVEDIR
}
enum  { NODE_NORMAL, NODE_START, NODE_GOAL, NODE_NAVGOAL }
enum  taskID_t {
  TID_CHAN_VOICE = 0, TID_ANIM_UPPER, TID_ANIM_LOWER, TID_ANIM_BOTH,
  TID_MOVE_NAV, TID_ANGLE_FACE, TID_BSTATE, TID_LOCATION,
  TID_RESIZE, TID_SHOOT, NUM_TIDS
}
enum  bSet_t {
  BSET_INVALID = -1, BSET_FIRST = 0, BSET_SPAWN = 0, BSET_USE,
  BSET_AWAKE, BSET_ANGER, BSET_ATTACK, BSET_VICTORY,
  BSET_LOSTENEMY, BSET_PAIN, BSET_FLEE, BSET_DEATH,
  BSET_DELAYED, BSET_BLOCKED, BSET_BUMPED, BSET_STUCK,
  BSET_FFIRE, BSET_FFDEATH, BSET_MINDTRICK, NUM_BSETS
}
enum  gameExport_t {
  GAME_INIT, GAME_SHUTDOWN, GAME_CLIENT_CONNECT, GAME_CLIENT_BEGIN,
  GAME_CLIENT_USERINFO_CHANGED, GAME_CLIENT_DISCONNECT, GAME_CLIENT_COMMAND, GAME_CLIENT_THINK,
  GAME_RUN_FRAME, GAME_CONSOLE_COMMAND, BOTAI_START_FRAME, GAME_ROFF_NOTETRACK_CALLBACK,
  GAME_SPAWN_RMG_ENTITY, GAME_ICARUS_PLAYSOUND, GAME_ICARUS_SET, GAME_ICARUS_LERP2POS,
  GAME_ICARUS_LERP2ORIGIN, GAME_ICARUS_LERP2ANGLES, GAME_ICARUS_GETTAG, GAME_ICARUS_LERP2START,
  GAME_ICARUS_LERP2END, GAME_ICARUS_USE, GAME_ICARUS_KILL, GAME_ICARUS_REMOVE,
  GAME_ICARUS_PLAY, GAME_ICARUS_GETFLOAT, GAME_ICARUS_GETVECTOR, GAME_ICARUS_GETSTRING,
  GAME_ICARUS_SOUNDINDEX, GAME_ICARUS_GETSETIDFORSTRING, GAME_NAV_CLEARPATHTOPOINT, GAME_NAV_CLEARLOS,
  GAME_NAV_CLEARPATHBETWEENPOINTS, GAME_NAV_CHECKNODEFAILEDFORENT, GAME_NAV_ENTISUNLOCKEDDOOR, GAME_NAV_ENTISDOOR,
  GAME_NAV_ENTISBREAKABLE, GAME_NAV_ENTISREMOVABLEUSABLE, GAME_NAV_FINDCOMBATPOINTWAYPOINTS, GAME_GETITEMINDEXBYTAG
}


Define Documentation

#define G2TRFLAG_DOGHOULTRACE   0x00000001
 

Definition at line 44 of file g_public.h.

Referenced by G_RunMissile(), and WP_DisruptorAltFire().

#define G2TRFLAG_GETSURFINDEX   0x00000004
 

Definition at line 46 of file g_public.h.

Referenced by G_RunMissile(), and WP_DisruptorAltFire().

#define G2TRFLAG_HITCORPSES   0x00000002
 

Definition at line 45 of file g_public.h.

Referenced by G_RunMissile(), and WP_DisruptorAltFire().

#define G2TRFLAG_THICK   0x00000008
 

Definition at line 47 of file g_public.h.

Referenced by G_RunMissile(), and WP_DisruptorAltFire().

#define GAME_API_VERSION   8
 

Definition at line 11 of file g_public.h.

#define MAX_FAILED_NODES   8
 

Definition at line 673 of file g_public.h.

Referenced by NAV_CheckNodeFailedForEnt().

#define MAX_PARM_STRING_LENGTH   MAX_QPATH
 

Definition at line 667 of file g_public.h.

#define MAX_PARMS   16
 

Definition at line 666 of file g_public.h.

Referenced by NPC_Spawn_Do(), and Q3_SetParm().

#define Q3_INFINITE   16777216
 

Definition at line 9 of file g_public.h.

Referenced by AI_ClosestGroupEntityNumToPoint(), AI_SetClosestBuddy(), AI_SortGroupByPathCostToEnemy(), Boba_FlyStart(), ClientSpawn(), G_Damage(), G_FindLocalInterestPoint(), G_MissileImpact(), hurt_touch(), Jedi_Cloak(), Jedi_FindEnemyInCone(), NPC_EntRangeFromBolt(), NPC_FindCombatPoint(), NPC_PickEnemy(), NPC_SearchForWeapons(), Rancor_Attack(), RemoveOldestAlert(), ShortestLineSegBewteen2LineSegs(), ST_Commander(), and WP_LobFire().

#define SVF_BOT   0x00000008
 

Definition at line 18 of file g_public.h.

Referenced by CalculateRanks(), CheckIntermissionExit(), CheckTeamLeader(), ClientBegin(), ClientConnect(), ClientDisconnect(), ClientImpacts(), ClientSpawn(), ClientThink(), ClientThink_real(), ClientUserinfoChanged(), G_AddRandomBot(), G_CheckClientIdle(), G_CountBotPlayers(), G_CountHumanPlayers(), G_KickAllBots(), G_RemoveRandomBot(), G_RunClient(), G_TouchTriggers(), OnSameTeam(), SetTeam(), StopFollowing(), UpdateTournamentInfo(), WP_DoSpecificPower(), WP_ForcePowersUpdate(), and WP_InitForcePowers().

#define SVF_BROADCAST   0x00000020
 

Definition at line 20 of file g_public.h.

Referenced by AddTeamScore(), BotWaypointRender(), CheckTournament(), ClientConnect(), fx_runner_use(), G_MuteSound(), G_ScreenShake(), G_TestLine(), NPC_BSGM_Attack(), player_die(), PrintCTFMessage(), Q3_PlaySound(), RespawnItem(), SiegeBroadcast_OBJECTIVECOMPLETE(), SiegeBroadcast_ROUNDOVER(), SiegeIconUse(), SiegeItemRemoveOwner(), SiegeItemTouch(), SP_func_static(), SP_info_siege_objective(), SP_info_siege_radaricon(), SP_misc_ammo_floor_unit(), SP_misc_model_health_power_converter(), SP_misc_shield_floor_unit(), SP_misc_siege_item(), SP_target_speaker(), Team_CaptureFlagSound(), Team_ReturnFlagSound(), Team_TakeFlagSound(), thermalDetonatorExplode(), TossClientItems(), Touch_Item(), and WP_InitForcePowers().

#define SVF_CAPSULE   0x00000400
 

Definition at line 28 of file g_public.h.

#define SVF_GLASS_BRUSH   0x08000000
 

Definition at line 37 of file g_public.h.

Referenced by Boba_FireDecide(), Client_CheckImpactBBrush(), DoImpact(), G_ClearLOS(), G_Damage(), G_EntIsBreakable(), Grenadier_EvaluateShot(), NPC_BSST_Attack(), NPC_EvaluateShot(), Sniper_EvaluateShot(), SP_func_glass(), and WP_DisruptorAltFire().

#define SVF_ICARUS_FREEZE   0x00008000
 

Definition at line 35 of file g_public.h.

Referenced by NPC_Pain(), NPC_Think(), and Q3_SetICARUSFreeze().

#define SVF_NO_BASIC_SOUNDS   0x10000000
 

Definition at line 39 of file g_public.h.

Referenced by NPC_ParseParms(), NPC_Precache(), NPC_Spawn_Do(), and SP_NPC_spawner().

#define SVF_NO_COMBAT_SOUNDS   0x20000000
 

Definition at line 40 of file g_public.h.

Referenced by NPC_ParseParms(), NPC_Precache(), NPC_Spawn_Do(), and SP_NPC_spawner().

#define SVF_NO_EXTRA_SOUNDS   0x40000000
 

Definition at line 41 of file g_public.h.

Referenced by NPC_ParseParms(), NPC_Precache(), NPC_Spawn_Do(), and SP_NPC_spawner().

#define SVF_NOCLIENT   0x00000001
 

Definition at line 17 of file g_public.h.

Referenced by BotAI_GetEntityState(), CheckAlmostCapture(), DownedSaberThink(), func_usable_use(), func_wait_return_solid(), InitTrigger(), NPC_Spawn_Do(), PlaceShield(), RespawnItem(), saberBackToOwner(), saberFirstThrown(), saberKnockDown(), SP_func_timer(), SP_func_usable(), SP_func_wall(), SP_light(), SP_terrain(), SP_trigger_push(), SP_trigger_teleport(), Touch_Item(), use_wall(), WP_SaberInitBladeData(), and WP_SaberPositionUpdate().

#define SVF_NOSERVERINFO   0x00000200
 

Definition at line 25 of file g_public.h.

#define SVF_NOTSINGLECLIENT   0x00000800
 

Definition at line 29 of file g_public.h.

Referenced by SendPendingPredictableEvents().

#define SVF_OWNERNOTSHARED   0x00001000
 

Definition at line 32 of file g_public.h.

Referenced by charge_stick(), G_RunMissile(), laserTrapStick(), and WP_VehWeapSetSolidToOwner().

#define SVF_PLAYER_USABLE   0x00000010
 

Definition at line 19 of file g_public.h.

Referenced by func_usable_think(), func_usable_use(), InitMover(), NPC_SetMiscDefaultData(), Q3_GetFloat(), SP_emplaced_gun(), SP_misc_ammo_floor_unit(), SP_misc_model_ammo_power_converter(), SP_misc_model_health_power_converter(), SP_misc_model_shield_power_converter(), SP_misc_shield_floor_unit(), and ValidUseTarget().

#define SVF_PORTAL   0x00000040
 

Definition at line 21 of file g_public.h.

Referenced by SP_misc_portal_surface().

#define SVF_SINGLECLIENT   0x00000100
 

Definition at line 24 of file g_public.h.

Referenced by ScorePlum(), and Touch_Item().

#define SVF_USE_CURRENT_ORIGIN   0x00000080
 

Definition at line 22 of file g_public.h.

Referenced by CreateLaserTrap(), CreateMissile(), G_Dismember(), InitMover(), MakeDeadSaber(), WP_FireThermalDetonator(), and WP_SaberInitBladeData().


Typedef Documentation

typedef struct failedEdge_e failedEdge_t
 

Referenced by trap_Nav_CheckFailedEdge(), and trap_Nav_ClearFailedEdge().

typedef struct Vehicle_s Vehicle_t
 

Definition at line 675 of file g_public.h.


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
EDGE_NORMAL 
EDGE_PATH 
EDGE_BLOCKED 
EDGE_FAILED 
EDGE_MOVEDIR 

Definition at line 608 of file g_public.h.

00609 {
00610         EDGE_NORMAL,
00611         EDGE_PATH,
00612         EDGE_BLOCKED,
00613         EDGE_FAILED,
00614         EDGE_MOVEDIR
00615 };

anonymous enum
 

Enumeration values:
NODE_NORMAL 
NODE_START 
NODE_GOAL 
NODE_NAVGOAL 

Definition at line 617 of file g_public.h.

00618 {
00619         NODE_NORMAL,
00620         NODE_START,
00621         NODE_GOAL,
00622         NODE_NAVGOAL,
00623 };

enum bSet_t
 

Enumeration values:
BSET_INVALID 
BSET_FIRST 
BSET_SPAWN 
BSET_USE 
BSET_AWAKE 
BSET_ANGER 
BSET_ATTACK 
BSET_VICTORY 
BSET_LOSTENEMY 
BSET_PAIN 
BSET_FLEE 
BSET_DEATH 
BSET_DELAYED 
BSET_BLOCKED 
BSET_BUMPED 
BSET_STUCK 
BSET_FFIRE 
BSET_FFDEATH 
BSET_MINDTRICK 
NUM_BSETS 

Definition at line 641 of file g_public.h.

00642 {//This should check to matching a behavior state name first, then look for a script
00643         BSET_INVALID = -1,
00644         BSET_FIRST = 0,
00645         BSET_SPAWN = 0,//# script to use when first spawned
00646         BSET_USE,//# script to use when used
00647         BSET_AWAKE,//# script to use when awoken/startled
00648         BSET_ANGER,//# script to use when aquire an enemy
00649         BSET_ATTACK,//# script to run when you attack
00650         BSET_VICTORY,//# script to run when you kill someone
00651         BSET_LOSTENEMY,//# script to run when you can't find your enemy
00652         BSET_PAIN,//# script to use when take pain
00653         BSET_FLEE,//# script to use when take pain below 50% of health
00654         BSET_DEATH,//# script to use when killed
00655         BSET_DELAYED,//# script to run when self->delayScriptTime is reached
00656         BSET_BLOCKED,//# script to run when blocked by a friendly NPC or player
00657         BSET_BUMPED,//# script to run when bumped into a friendly NPC or player (can set bumpRadius)
00658         BSET_STUCK,//# script to run when blocked by a wall
00659         BSET_FFIRE,//# script to run when player shoots their own teammates
00660         BSET_FFDEATH,//# script to run when player kills a teammate
00661         BSET_MINDTRICK,//# script to run when player does a mind trick on this NPC
00662 
00663         NUM_BSETS
00664 } bSet_t;

enum bState_t
 

Enumeration values:
BS_DEFAULT 
BS_ADVANCE_FIGHT 
BS_SLEEP 
BS_FOLLOW_LEADER 
BS_JUMP 
BS_SEARCH 
BS_WANDER 
BS_NOCLIP 
BS_REMOVE 
BS_CINEMATIC 
BS_WAIT 
BS_STAND_GUARD 
BS_PATROL 
BS_INVESTIGATE 
BS_STAND_AND_SHOOT 
BS_HUNT_AND_KILL 
BS_FLEE 
NUM_BSTATES 

Definition at line 584 of file g_public.h.

Referenced by G_ActivateBehavior(), NPC_ExecuteBState(), and NPC_ParseParms().

00585 {//These take over only if script allows them to be autonomous
00586         BS_DEFAULT = 0,//# default behavior for that NPC
00587         BS_ADVANCE_FIGHT,//# Advance to captureGoal and shoot enemies if you can
00588         BS_SLEEP,//# Play awake script when startled by sound
00589         BS_FOLLOW_LEADER,//# Follow your leader and shoot any enemies you come across
00590         BS_JUMP,//# Face navgoal and jump to it.
00591         BS_SEARCH,//# Using current waypoint as a base, search the immediate branches of waypoints for enemies
00592         BS_WANDER,//# Wander down random waypoint paths
00593         BS_NOCLIP,//# Moves through walls, etc.
00594         BS_REMOVE,//# Waits for player to leave PVS then removes itself
00595         BS_CINEMATIC,//# Does nothing but face it's angles and move to a goal if it has one
00596         //# #eol
00597         //internal bStates only
00598         BS_WAIT,//# Does nothing but face it's angles
00599         BS_STAND_GUARD,
00600         BS_PATROL,
00601         BS_INVESTIGATE,//# head towards temp goal and look for enemies and listen for sounds
00602         BS_STAND_AND_SHOOT,
00603         BS_HUNT_AND_KILL,
00604         BS_FLEE,//# Run away!
00605         NUM_BSTATES
00606 } bState_t;

enum gameExport_t
 

Enumeration values:
GAME_INIT 
GAME_SHUTDOWN 
GAME_CLIENT_CONNECT 
GAME_CLIENT_BEGIN 
GAME_CLIENT_USERINFO_CHANGED 
GAME_CLIENT_DISCONNECT 
GAME_CLIENT_COMMAND 
GAME_CLIENT_THINK 
GAME_RUN_FRAME 
GAME_CONSOLE_COMMAND 
BOTAI_START_FRAME 
GAME_ROFF_NOTETRACK_CALLBACK 
GAME_SPAWN_RMG_ENTITY 
GAME_ICARUS_PLAYSOUND 
GAME_ICARUS_SET 
GAME_ICARUS_LERP2POS 
GAME_ICARUS_LERP2ORIGIN 
GAME_ICARUS_LERP2ANGLES 
GAME_ICARUS_GETTAG 
GAME_ICARUS_LERP2START 
GAME_ICARUS_LERP2END 
GAME_ICARUS_USE 
GAME_ICARUS_KILL 
GAME_ICARUS_REMOVE 
GAME_ICARUS_PLAY 
GAME_ICARUS_GETFLOAT 
GAME_ICARUS_GETVECTOR 
GAME_ICARUS_GETSTRING 
GAME_ICARUS_SOUNDINDEX 
GAME_ICARUS_GETSETIDFORSTRING 
GAME_NAV_CLEARPATHTOPOINT 
GAME_NAV_CLEARLOS 
GAME_NAV_CLEARPATHBETWEENPOINTS 
GAME_NAV_CHECKNODEFAILEDFORENT 
GAME_NAV_ENTISUNLOCKEDDOOR 
GAME_NAV_ENTISDOOR 
GAME_NAV_ENTISBREAKABLE 
GAME_NAV_ENTISREMOVABLEUSABLE 
GAME_NAV_FINDCOMBATPOINTWAYPOINTS 
GAME_GETITEMINDEXBYTAG 

Definition at line 734 of file g_public.h.

00734              {
00735         GAME_INIT,      // ( int levelTime, int randomSeed, int restart );
00736         // init and shutdown will be called every single level
00737         // The game should call G_GET_ENTITY_TOKEN to parse through all the
00738         // entity configuration text and spawn gentities.
00739 
00740         GAME_SHUTDOWN,  // (void);
00741 
00742         GAME_CLIENT_CONNECT,    // ( int clientNum, qboolean firstTime, qboolean isBot );
00743         // return NULL if the client is allowed to connect, otherwise return
00744         // a text string with the reason for denial
00745 
00746         GAME_CLIENT_BEGIN,                              // ( int clientNum );
00747 
00748         GAME_CLIENT_USERINFO_CHANGED,   // ( int clientNum );
00749 
00750         GAME_CLIENT_DISCONNECT,                 // ( int clientNum );
00751 
00752         GAME_CLIENT_COMMAND,                    // ( int clientNum );
00753 
00754         GAME_CLIENT_THINK,                              // ( int clientNum );
00755 
00756         GAME_RUN_FRAME,                                 // ( int levelTime );
00757 
00758         GAME_CONSOLE_COMMAND,                   // ( void );
00759         // ConsoleCommand will be called when a command has been issued
00760         // that is not recognized as a builtin function.
00761         // The game can issue trap_argc() / trap_argv() commands to get the command
00762         // and parameters.  Return qfalse if the game doesn't recognize it as a command.
00763 
00764         BOTAI_START_FRAME,                              // ( int time );
00765 
00766         GAME_ROFF_NOTETRACK_CALLBACK,   // int entnum, char *notetrack
00767 
00768         GAME_SPAWN_RMG_ENTITY, //rwwRMG - added
00769 
00770         //rww - icarus callbacks
00771         GAME_ICARUS_PLAYSOUND,
00772         GAME_ICARUS_SET,
00773         GAME_ICARUS_LERP2POS,
00774         GAME_ICARUS_LERP2ORIGIN,
00775         GAME_ICARUS_LERP2ANGLES,
00776         GAME_ICARUS_GETTAG,
00777         GAME_ICARUS_LERP2START,
00778         GAME_ICARUS_LERP2END,
00779         GAME_ICARUS_USE,
00780         GAME_ICARUS_KILL,
00781         GAME_ICARUS_REMOVE,
00782         GAME_ICARUS_PLAY,
00783         GAME_ICARUS_GETFLOAT,
00784         GAME_ICARUS_GETVECTOR,
00785         GAME_ICARUS_GETSTRING,
00786         GAME_ICARUS_SOUNDINDEX,
00787         GAME_ICARUS_GETSETIDFORSTRING,
00788         GAME_NAV_CLEARPATHTOPOINT,
00789         GAME_NAV_CLEARLOS,
00790         GAME_NAV_CLEARPATHBETWEENPOINTS,
00791         GAME_NAV_CHECKNODEFAILEDFORENT,
00792         GAME_NAV_ENTISUNLOCKEDDOOR,
00793         GAME_NAV_ENTISDOOR,
00794         GAME_NAV_ENTISBREAKABLE,
00795         GAME_NAV_ENTISREMOVABLEUSABLE,
00796         GAME_NAV_FINDCOMBATPOINTWAYPOINTS,
00797         
00798         GAME_GETITEMINDEXBYTAG
00799 } gameExport_t;

enum gameImport_t
 

Enumeration values:
G_PRINT 
G_ERROR 
G_MILLISECONDS 
G_PRECISIONTIMER_START 
G_PRECISIONTIMER_END 
G_CVAR_REGISTER 
G_CVAR_UPDATE 
G_CVAR_SET 
G_CVAR_VARIABLE_INTEGER_VALUE 
G_CVAR_VARIABLE_STRING_BUFFER 
G_ARGC 
G_ARGV 
G_FS_FOPEN_FILE 
G_FS_READ 
G_FS_WRITE 
G_FS_FCLOSE_FILE 
G_SEND_CONSOLE_COMMAND 
G_LOCATE_GAME_DATA 
G_DROP_CLIENT 
G_SEND_SERVER_COMMAND 
G_SET_CONFIGSTRING 
G_GET_CONFIGSTRING 
G_GET_USERINFO 
G_SET_USERINFO 
G_GET_SERVERINFO 
G_SET_SERVER_CULL 
G_SET_BRUSH_MODEL 
G_TRACE 
G_G2TRACE 
G_POINT_CONTENTS 
G_IN_PVS 
G_IN_PVS_IGNORE_PORTALS 
G_ADJUST_AREA_PORTAL_STATE 
G_AREAS_CONNECTED 
G_LINKENTITY 
G_UNLINKENTITY 
G_ENTITIES_IN_BOX 
G_ENTITY_CONTACT 
G_BOT_ALLOCATE_CLIENT 
G_BOT_FREE_CLIENT 
G_GET_USERCMD 
G_GET_ENTITY_TOKEN 
G_SIEGEPERSSET 
G_SIEGEPERSGET 
G_FS_GETFILELIST 
G_DEBUG_POLYGON_CREATE 
G_DEBUG_POLYGON_DELETE 
G_REAL_TIME 
G_SNAPVECTOR 
G_TRACECAPSULE 
G_ENTITY_CONTACTCAPSULE 
SP_GETSTRINGTEXTSTRING 
G_ROFF_CLEAN 
G_ROFF_UPDATE_ENTITIES 
G_ROFF_CACHE 
G_ROFF_PLAY 
G_ROFF_PURGE_ENT 
G_TRUEMALLOC 
G_TRUEFREE 
G_ICARUS_RUNSCRIPT 
G_ICARUS_REGISTERSCRIPT 
G_ICARUS_INIT 
G_ICARUS_VALIDENT 
G_ICARUS_ISINITIALIZED 
G_ICARUS_MAINTAINTASKMANAGER 
G_ICARUS_ISRUNNING 
G_ICARUS_TASKIDPENDING 
G_ICARUS_INITENT 
G_ICARUS_FREEENT 
G_ICARUS_ASSOCIATEENT 
G_ICARUS_SHUTDOWN 
G_ICARUS_TASKIDSET 
G_ICARUS_TASKIDCOMPLETE 
G_ICARUS_SETVAR 
G_ICARUS_VARIABLEDECLARED 
G_ICARUS_GETFLOATVARIABLE 
G_ICARUS_GETSTRINGVARIABLE 
G_ICARUS_GETVECTORVARIABLE 
G_SET_SHARED_BUFFER 
G_MEMSET 
G_MEMCPY 
G_STRNCPY 
G_SIN 
G_COS 
G_ATAN2 
G_SQRT 
G_MATRIXMULTIPLY 
G_ANGLEVECTORS 
G_PERPENDICULARVECTOR 
G_FLOOR 
G_CEIL 
G_TESTPRINTINT 
G_TESTPRINTFLOAT 
G_ACOS 
G_ASIN 
G_NAV_INIT 
G_NAV_FREE 
G_NAV_LOAD 
G_NAV_SAVE 
G_NAV_ADDRAWPOINT 
G_NAV_CALCULATEPATHS 
G_NAV_HARDCONNECT 
G_NAV_SHOWNODES 
G_NAV_SHOWEDGES 
G_NAV_SHOWPATH 
G_NAV_GETNEARESTNODE 
G_NAV_GETBESTNODE 
G_NAV_GETNODEPOSITION 
G_NAV_GETNODENUMEDGES 
G_NAV_GETNODEEDGE 
G_NAV_GETNUMNODES 
G_NAV_CONNECTED 
G_NAV_GETPATHCOST 
G_NAV_GETEDGECOST 
G_NAV_GETPROJECTEDNODE 
G_NAV_CHECKFAILEDNODES 
G_NAV_ADDFAILEDNODE 
G_NAV_NODEFAILED 
G_NAV_NODESARENEIGHBORS 
G_NAV_CLEARFAILEDEDGE 
G_NAV_CLEARALLFAILEDEDGES 
G_NAV_EDGEFAILED 
G_NAV_ADDFAILEDEDGE 
G_NAV_CHECKFAILEDEDGE 
G_NAV_CHECKALLFAILEDEDGES 
G_NAV_ROUTEBLOCKED 
G_NAV_GETBESTNODEALTROUTE 
G_NAV_GETBESTNODEALT2 
G_NAV_GETBESTPATHBETWEENENTS 
G_NAV_GETNODERADIUS 
G_NAV_CHECKBLOCKEDEDGES 
G_NAV_CLEARCHECKEDNODES 
G_NAV_CHECKEDNODE 
G_NAV_SETCHECKEDNODE 
G_NAV_FLAGALLNODES 
G_NAV_GETPATHSCALCULATED 
G_NAV_SETPATHSCALCULATED 
BOTLIB_SETUP 
BOTLIB_SHUTDOWN 
BOTLIB_LIBVAR_SET 
BOTLIB_LIBVAR_GET 
BOTLIB_PC_ADD_GLOBAL_DEFINE 
BOTLIB_START_FRAME 
BOTLIB_LOAD_MAP 
BOTLIB_UPDATENTITY 
BOTLIB_TEST 
BOTLIB_GET_SNAPSHOT_ENTITY 
BOTLIB_GET_CONSOLE_MESSAGE 
BOTLIB_USER_COMMAND 
BOTLIB_AAS_ENABLE_ROUTING_AREA 
BOTLIB_AAS_BBOX_AREAS 
BOTLIB_AAS_AREA_INFO 
BOTLIB_AAS_ENTITY_INFO 
BOTLIB_AAS_INITIALIZED 
BOTLIB_AAS_PRESENCE_TYPE_BOUNDING_BOX 
BOTLIB_AAS_TIME 
BOTLIB_AAS_POINT_AREA_NUM 
BOTLIB_AAS_TRACE_AREAS 
BOTLIB_AAS_POINT_CONTENTS 
BOTLIB_AAS_NEXT_BSP_ENTITY 
BOTLIB_AAS_VALUE_FOR_BSP_EPAIR_KEY 
BOTLIB_AAS_VECTOR_FOR_BSP_EPAIR_KEY 
BOTLIB_AAS_FLOAT_FOR_BSP_EPAIR_KEY 
BOTLIB_AAS_INT_FOR_BSP_EPAIR_KEY 
BOTLIB_AAS_AREA_REACHABILITY 
BOTLIB_AAS_AREA_TRAVEL_TIME_TO_GOAL_AREA 
BOTLIB_AAS_SWIMMING 
BOTLIB_AAS_PREDICT_CLIENT_MOVEMENT 
BOTLIB_EA_SAY 
BOTLIB_EA_SAY_TEAM 
BOTLIB_EA_COMMAND 
BOTLIB_EA_ACTION 
BOTLIB_EA_GESTURE 
BOTLIB_EA_TALK 
BOTLIB_EA_ATTACK 
BOTLIB_EA_ALT_ATTACK 
BOTLIB_EA_FORCEPOWER 
BOTLIB_EA_USE 
BOTLIB_EA_RESPAWN 
BOTLIB_EA_CROUCH 
BOTLIB_EA_MOVE_UP 
BOTLIB_EA_MOVE_DOWN 
BOTLIB_EA_MOVE_FORWARD 
BOTLIB_EA_MOVE_BACK 
BOTLIB_EA_MOVE_LEFT 
BOTLIB_EA_MOVE_RIGHT 
BOTLIB_EA_SELECT_WEAPON 
BOTLIB_EA_JUMP 
BOTLIB_EA_DELAYED_JUMP 
BOTLIB_EA_MOVE 
BOTLIB_EA_VIEW 
BOTLIB_EA_END_REGULAR 
BOTLIB_EA_GET_INPUT 
BOTLIB_EA_RESET_INPUT 
BOTLIB_AI_LOAD_CHARACTER 
BOTLIB_AI_FREE_CHARACTER 
BOTLIB_AI_CHARACTERISTIC_FLOAT 
BOTLIB_AI_CHARACTERISTIC_BFLOAT 
BOTLIB_AI_CHARACTERISTIC_INTEGER 
BOTLIB_AI_CHARACTERISTIC_BINTEGER 
BOTLIB_AI_CHARACTERISTIC_STRING 
BOTLIB_AI_ALLOC_CHAT_STATE 
BOTLIB_AI_FREE_CHAT_STATE 
BOTLIB_AI_QUEUE_CONSOLE_MESSAGE 
BOTLIB_AI_REMOVE_CONSOLE_MESSAGE 
BOTLIB_AI_NEXT_CONSOLE_MESSAGE 
BOTLIB_AI_NUM_CONSOLE_MESSAGE 
BOTLIB_AI_INITIAL_CHAT 
BOTLIB_AI_REPLY_CHAT 
BOTLIB_AI_CHAT_LENGTH 
BOTLIB_AI_ENTER_CHAT 
BOTLIB_AI_STRING_CONTAINS 
BOTLIB_AI_FIND_MATCH 
BOTLIB_AI_MATCH_VARIABLE 
BOTLIB_AI_UNIFY_WHITE_SPACES 
BOTLIB_AI_REPLACE_SYNONYMS 
BOTLIB_AI_LOAD_CHAT_FILE 
BOTLIB_AI_SET_CHAT_GENDER 
BOTLIB_AI_SET_CHAT_NAME 
BOTLIB_AI_RESET_GOAL_STATE 
BOTLIB_AI_RESET_AVOID_GOALS 
BOTLIB_AI_PUSH_GOAL 
BOTLIB_AI_POP_GOAL 
BOTLIB_AI_EMPTY_GOAL_STACK 
BOTLIB_AI_DUMP_AVOID_GOALS 
BOTLIB_AI_DUMP_GOAL_STACK 
BOTLIB_AI_GOAL_NAME 
BOTLIB_AI_GET_TOP_GOAL 
BOTLIB_AI_GET_SECOND_GOAL 
BOTLIB_AI_CHOOSE_LTG_ITEM 
BOTLIB_AI_CHOOSE_NBG_ITEM 
BOTLIB_AI_TOUCHING_GOAL 
BOTLIB_AI_ITEM_GOAL_IN_VIS_BUT_NOT_VISIBLE 
BOTLIB_AI_GET_LEVEL_ITEM_GOAL 
BOTLIB_AI_AVOID_GOAL_TIME 
BOTLIB_AI_INIT_LEVEL_ITEMS 
BOTLIB_AI_UPDATE_ENTITY_ITEMS 
BOTLIB_AI_LOAD_ITEM_WEIGHTS 
BOTLIB_AI_FREE_ITEM_WEIGHTS 
BOTLIB_AI_SAVE_GOAL_FUZZY_LOGIC 
BOTLIB_AI_ALLOC_GOAL_STATE 
BOTLIB_AI_FREE_GOAL_STATE 
BOTLIB_AI_RESET_MOVE_STATE 
BOTLIB_AI_MOVE_TO_GOAL 
BOTLIB_AI_MOVE_IN_DIRECTION 
BOTLIB_AI_RESET_AVOID_REACH 
BOTLIB_AI_RESET_LAST_AVOID_REACH 
BOTLIB_AI_REACHABILITY_AREA 
BOTLIB_AI_MOVEMENT_VIEW_TARGET 
BOTLIB_AI_ALLOC_MOVE_STATE 
BOTLIB_AI_FREE_MOVE_STATE 
BOTLIB_AI_INIT_MOVE_STATE 
BOTLIB_AI_CHOOSE_BEST_FIGHT_WEAPON 
BOTLIB_AI_GET_WEAPON_INFO 
BOTLIB_AI_LOAD_WEAPON_WEIGHTS 
BOTLIB_AI_ALLOC_WEAPON_STATE 
BOTLIB_AI_FREE_WEAPON_STATE 
BOTLIB_AI_RESET_WEAPON_STATE 
BOTLIB_AI_GENETIC_PARENTS_AND_CHILD_SELECTION 
BOTLIB_AI_INTERBREED_GOAL_FUZZY_LOGIC 
BOTLIB_AI_MUTATE_GOAL_FUZZY_LOGIC 
BOTLIB_AI_GET_NEXT_CAMP_SPOT_GOAL 
BOTLIB_AI_GET_MAP_LOCATION_GOAL 
BOTLIB_AI_NUM_INITIAL_CHATS 
BOTLIB_AI_GET_CHAT_MESSAGE 
BOTLIB_AI_REMOVE_FROM_AVOID_GOALS 
BOTLIB_AI_PREDICT_VISIBLE_POSITION 
BOTLIB_AI_SET_AVOID_GOAL_TIME 
BOTLIB_AI_ADD_AVOID_SPOT 
BOTLIB_AAS_ALTERNATIVE_ROUTE_GOAL 
BOTLIB_AAS_PREDICT_ROUTE 
BOTLIB_AAS_POINT_REACHABILITY_AREA_INDEX 
BOTLIB_PC_LOAD_SOURCE 
BOTLIB_PC_FREE_SOURCE 
BOTLIB_PC_READ_TOKEN 
BOTLIB_PC_SOURCE_FILE_AND_LINE 
G_R_REGISTERSKIN 
G_G2_LISTBONES 
G_G2_LISTSURFACES 
G_G2_HAVEWEGHOULMODELS 
G_G2_SETMODELS 
G_G2_GETBOLT 
G_G2_GETBOLT_NOREC 
G_G2_GETBOLT_NOREC_NOROT 
G_G2_INITGHOUL2MODEL 
G_G2_SETSKIN 
G_G2_SIZE 
G_G2_ADDBOLT 
G_G2_SETBOLTINFO 
G_G2_ANGLEOVERRIDE 
G_G2_PLAYANIM 
G_G2_GETBONEANIM 
G_G2_GETGLANAME 
G_G2_COPYGHOUL2INSTANCE 
G_G2_COPYSPECIFICGHOUL2MODEL 
G_G2_DUPLICATEGHOUL2INSTANCE 
G_G2_HASGHOUL2MODELONINDEX 
G_G2_REMOVEGHOUL2MODEL 
G_G2_REMOVEGHOUL2MODELS 
G_G2_CLEANMODELS 
G_G2_COLLISIONDETECT 
G_G2_COLLISIONDETECTCACHE 
G_G2_SETROOTSURFACE 
G_G2_SETSURFACEONOFF 
G_G2_SETNEWORIGIN 
G_G2_DOESBONEEXIST 
G_G2_GETSURFACERENDERSTATUS 
G_G2_ABSURDSMOOTHING 
G_G2_SETRAGDOLL 
G_G2_ANIMATEG2MODELS 
G_G2_RAGPCJCONSTRAINT 
G_G2_RAGPCJGRADIENTSPEED 
G_G2_RAGEFFECTORGOAL 
G_G2_GETRAGBONEPOS 
G_G2_RAGEFFECTORKICK 
G_G2_RAGFORCESOLVE 
G_G2_SETBONEIKSTATE 
G_G2_IKMOVE 
G_G2_REMOVEBONE 
G_G2_ATTACHINSTANCETOENTNUM 
G_G2_CLEARATTACHEDINSTANCE 
G_G2_CLEANENTATTACHMENTS 
G_G2_OVERRIDESERVER 
G_G2_GETSURFACENAME 
G_SET_ACTIVE_SUBBSP 
G_CM_REGISTER_TERRAIN 
G_RMG_INIT 
G_BOT_UPDATEWAYPOINTS 
G_BOT_CALCULATEPATHS 

Definition at line 102 of file g_public.h.

00102              {
00103         //============== general Quake services ==================
00104 
00105         G_PRINT,                // ( const char *string );
00106         // print message on the local console
00107 
00108         G_ERROR,                // ( const char *string );
00109         // abort the game
00110 
00111         G_MILLISECONDS, // ( void );
00112         // get current time for profiling reasons
00113         // this should NOT be used for any game related tasks,
00114         // because it is not journaled
00115 
00116         //Also for profiling.. do not use for game related tasks.
00117         G_PRECISIONTIMER_START,
00118         G_PRECISIONTIMER_END,
00119 
00120         // console variable interaction
00121         G_CVAR_REGISTER,        // ( vmCvar_t *vmCvar, const char *varName, const char *defaultValue, int flags );
00122         G_CVAR_UPDATE,  // ( vmCvar_t *vmCvar );
00123         G_CVAR_SET,             // ( const char *var_name, const char *value );
00124         G_CVAR_VARIABLE_INTEGER_VALUE,  // ( const char *var_name );
00125 
00126         G_CVAR_VARIABLE_STRING_BUFFER,  // ( const char *var_name, char *buffer, int bufsize );
00127 
00128         G_ARGC,                 // ( void );
00129         // ClientCommand and ServerCommand parameter access
00130 
00131         G_ARGV,                 // ( int n, char *buffer, int bufferLength );
00132 
00133         G_FS_FOPEN_FILE,        // ( const char *qpath, fileHandle_t *file, fsMode_t mode );
00134         G_FS_READ,              // ( void *buffer, int len, fileHandle_t f );
00135         G_FS_WRITE,             // ( const void *buffer, int len, fileHandle_t f );
00136         G_FS_FCLOSE_FILE,               // ( fileHandle_t f );
00137 
00138         G_SEND_CONSOLE_COMMAND, // ( const char *text );
00139         // add commands to the console as if they were typed in
00140         // for map changing, etc
00141 
00142 
00143         //=========== server specific functionality =============
00144 
00145         G_LOCATE_GAME_DATA,             // ( gentity_t *gEnts, int numGEntities, int sizeofGEntity_t,
00146         //                                                      playerState_t *clients, int sizeofGameClient );
00147         // the game needs to let the server system know where and how big the gentities
00148         // are, so it can look at them directly without going through an interface
00149 
00150         G_DROP_CLIENT,          // ( int clientNum, const char *reason );
00151         // kick a client off the server with a message
00152 
00153         G_SEND_SERVER_COMMAND,  // ( int clientNum, const char *fmt, ... );
00154         // reliably sends a command string to be interpreted by the given
00155         // client.  If clientNum is -1, it will be sent to all clients
00156 
00157         G_SET_CONFIGSTRING,     // ( int num, const char *string );
00158         // config strings hold all the index strings, and various other information
00159         // that is reliably communicated to all clients
00160         // All of the current configstrings are sent to clients when
00161         // they connect, and changes are sent to all connected clients.
00162         // All confgstrings are cleared at each level start.
00163 
00164         G_GET_CONFIGSTRING,     // ( int num, char *buffer, int bufferSize );
00165 
00166         G_GET_USERINFO,         // ( int num, char *buffer, int bufferSize );
00167         // userinfo strings are maintained by the server system, so they
00168         // are persistant across level loads, while all other game visible
00169         // data is completely reset
00170 
00171         G_SET_USERINFO,         // ( int num, const char *buffer );
00172 
00173         G_GET_SERVERINFO,       // ( char *buffer, int bufferSize );
00174         // the serverinfo info string has all the cvars visible to server browsers
00175 
00176         G_SET_SERVER_CULL,
00177         //server culling to reduce traffic on open maps -rww
00178 
00179         G_SET_BRUSH_MODEL,      // ( gentity_t *ent, const char *name );
00180         // sets mins and maxs based on the brushmodel name
00181 
00182         G_TRACE,        // ( trace_t *results, const vec3_t start, const vec3_t mins, const vec3_t maxs, const vec3_t end, int passEntityNum, int contentmask );
00183         // collision detection against all linked entities
00184 
00185         G_G2TRACE,      // ( trace_t *results, const vec3_t start, const vec3_t mins, const vec3_t maxs, const vec3_t end, int passEntityNum, int contentmask );
00186         // collision detection against all linked entities with ghoul2 check
00187 
00188         G_POINT_CONTENTS,       // ( const vec3_t point, int passEntityNum );
00189         // point contents against all linked entities
00190 
00191         G_IN_PVS,                       // ( const vec3_t p1, const vec3_t p2 );
00192 
00193         G_IN_PVS_IGNORE_PORTALS,        // ( const vec3_t p1, const vec3_t p2 );
00194 
00195         G_ADJUST_AREA_PORTAL_STATE,     // ( gentity_t *ent, qboolean open );
00196 
00197         G_AREAS_CONNECTED,      // ( int area1, int area2 );
00198 
00199         G_LINKENTITY,           // ( gentity_t *ent );
00200         // an entity will never be sent to a client or used for collision
00201         // if it is not passed to linkentity.  If the size, position, or
00202         // solidity changes, it must be relinked.
00203 
00204         G_UNLINKENTITY,         // ( gentity_t *ent );          
00205         // call before removing an interactive entity
00206 
00207         G_ENTITIES_IN_BOX,      // ( const vec3_t mins, const vec3_t maxs, gentity_t **list, int maxcount );
00208         // EntitiesInBox will return brush models based on their bounding box,
00209         // so exact determination must still be done with EntityContact
00210 
00211         G_ENTITY_CONTACT,       // ( const vec3_t mins, const vec3_t maxs, const gentity_t *ent );
00212         // perform an exact check against inline brush models of non-square shape
00213 
00214         // access for bots to get and free a server client (FIXME?)
00215         G_BOT_ALLOCATE_CLIENT,  // ( void );
00216 
00217         G_BOT_FREE_CLIENT,      // ( int clientNum );
00218 
00219         G_GET_USERCMD,  // ( int clientNum, usercmd_t *cmd )
00220 
00221         G_GET_ENTITY_TOKEN,     // qboolean ( char *buffer, int bufferSize )
00222         // Retrieves the next string token from the entity spawn text, returning
00223         // false when all tokens have been parsed.
00224         // This should only be done at GAME_INIT time.
00225 
00226         G_SIEGEPERSSET,
00227         G_SIEGEPERSGET,
00228 
00229         G_FS_GETFILELIST,
00230         G_DEBUG_POLYGON_CREATE,
00231         G_DEBUG_POLYGON_DELETE,
00232         G_REAL_TIME,
00233         G_SNAPVECTOR,
00234 
00235         G_TRACECAPSULE, // ( trace_t *results, const vec3_t start, const vec3_t mins, const vec3_t maxs, const vec3_t end, int passEntityNum, int contentmask );
00236         G_ENTITY_CONTACTCAPSULE,        // ( const vec3_t mins, const vec3_t maxs, const gentity_t *ent );
00237 
00238 //      SP_REGISTER_SERVER_CMD,
00239         SP_GETSTRINGTEXTSTRING,
00240 
00241         G_ROFF_CLEAN,                           // qboolean     ROFF_Clean(void);
00242         G_ROFF_UPDATE_ENTITIES,         // void         ROFF_UpdateEntities(void);
00243         G_ROFF_CACHE,                           // int          ROFF_Cache(char *file);
00244         G_ROFF_PLAY,                            // qboolean     ROFF_Play(int entID, int roffID, qboolean doTranslation);
00245         G_ROFF_PURGE_ENT,                       // qboolean ROFF_PurgeEnt( int entID )
00246 
00247         //rww - dynamic vm memory allocation!
00248         G_TRUEMALLOC,
00249         G_TRUEFREE,
00250 
00251         //rww - icarus traps
00252         G_ICARUS_RUNSCRIPT,
00253         G_ICARUS_REGISTERSCRIPT,
00254 
00255         G_ICARUS_INIT,
00256         G_ICARUS_VALIDENT,
00257         G_ICARUS_ISINITIALIZED,
00258         G_ICARUS_MAINTAINTASKMANAGER,
00259         G_ICARUS_ISRUNNING,
00260         G_ICARUS_TASKIDPENDING,
00261         G_ICARUS_INITENT,
00262         G_ICARUS_FREEENT,
00263         G_ICARUS_ASSOCIATEENT,
00264         G_ICARUS_SHUTDOWN,
00265         G_ICARUS_TASKIDSET,
00266         G_ICARUS_TASKIDCOMPLETE,
00267         G_ICARUS_SETVAR,
00268         G_ICARUS_VARIABLEDECLARED,
00269         G_ICARUS_GETFLOATVARIABLE,
00270         G_ICARUS_GETSTRINGVARIABLE,
00271         G_ICARUS_GETVECTORVARIABLE,
00272 
00273         G_SET_SHARED_BUFFER,
00274 
00275         //BEGIN VM STUFF
00276         G_MEMSET = 100,
00277         G_MEMCPY,
00278         G_STRNCPY,
00279         G_SIN,
00280         G_COS,
00281         G_ATAN2,
00282         G_SQRT,
00283         G_MATRIXMULTIPLY,
00284         G_ANGLEVECTORS,
00285         G_PERPENDICULARVECTOR,
00286         G_FLOOR,
00287         G_CEIL,
00288 
00289         G_TESTPRINTINT,
00290         G_TESTPRINTFLOAT,
00291 
00292         G_ACOS,
00293         G_ASIN,
00294 
00295         //END VM STUFF
00296 
00297         //rww - BEGIN NPC NAV TRAPS
00298         G_NAV_INIT = 200,
00299         G_NAV_FREE,
00300         G_NAV_LOAD,
00301         G_NAV_SAVE,
00302         G_NAV_ADDRAWPOINT,
00303         G_NAV_CALCULATEPATHS,
00304         G_NAV_HARDCONNECT,
00305         G_NAV_SHOWNODES,
00306         G_NAV_SHOWEDGES,
00307         G_NAV_SHOWPATH,
00308         G_NAV_GETNEARESTNODE,
00309         G_NAV_GETBESTNODE,
00310         G_NAV_GETNODEPOSITION,
00311         G_NAV_GETNODENUMEDGES,
00312         G_NAV_GETNODEEDGE,
00313         G_NAV_GETNUMNODES,
00314         G_NAV_CONNECTED,
00315         G_NAV_GETPATHCOST,
00316         G_NAV_GETEDGECOST,
00317         G_NAV_GETPROJECTEDNODE,
00318         G_NAV_CHECKFAILEDNODES,
00319         G_NAV_ADDFAILEDNODE,
00320         G_NAV_NODEFAILED,
00321         G_NAV_NODESARENEIGHBORS,
00322         G_NAV_CLEARFAILEDEDGE,
00323         G_NAV_CLEARALLFAILEDEDGES,
00324         G_NAV_EDGEFAILED,
00325         G_NAV_ADDFAILEDEDGE,
00326         G_NAV_CHECKFAILEDEDGE,
00327         G_NAV_CHECKALLFAILEDEDGES,
00328         G_NAV_ROUTEBLOCKED,
00329         G_NAV_GETBESTNODEALTROUTE,
00330         G_NAV_GETBESTNODEALT2,
00331         G_NAV_GETBESTPATHBETWEENENTS,
00332         G_NAV_GETNODERADIUS,
00333         G_NAV_CHECKBLOCKEDEDGES,
00334         G_NAV_CLEARCHECKEDNODES,
00335         G_NAV_CHECKEDNODE,
00336         G_NAV_SETCHECKEDNODE,
00337         G_NAV_FLAGALLNODES,
00338         G_NAV_GETPATHSCALCULATED,
00339         G_NAV_SETPATHSCALCULATED,
00340         //rww - END NPC NAV TRAPS
00341 
00342         BOTLIB_SETUP = 250,                             // ( void );
00343         BOTLIB_SHUTDOWN,                                // ( void );
00344         BOTLIB_LIBVAR_SET,
00345         BOTLIB_LIBVAR_GET,
00346         BOTLIB_PC_ADD_GLOBAL_DEFINE,
00347         BOTLIB_START_FRAME,
00348         BOTLIB_LOAD_MAP,
00349         BOTLIB_UPDATENTITY,
00350         BOTLIB_TEST,
00351 
00352         BOTLIB_GET_SNAPSHOT_ENTITY,             // ( int client, int ent );
00353         BOTLIB_GET_CONSOLE_MESSAGE,             // ( int client, char *message, int size );
00354         BOTLIB_USER_COMMAND,                    // ( int client, usercmd_t *ucmd );
00355 
00356         BOTLIB_AAS_ENABLE_ROUTING_AREA = 300,
00357         BOTLIB_AAS_BBOX_AREAS,
00358         BOTLIB_AAS_AREA_INFO,
00359         BOTLIB_AAS_ENTITY_INFO,
00360 
00361         BOTLIB_AAS_INITIALIZED,
00362         BOTLIB_AAS_PRESENCE_TYPE_BOUNDING_BOX,
00363         BOTLIB_AAS_TIME,
00364 
00365         BOTLIB_AAS_POINT_AREA_NUM,
00366         BOTLIB_AAS_TRACE_AREAS,
00367 
00368         BOTLIB_AAS_POINT_CONTENTS,
00369         BOTLIB_AAS_NEXT_BSP_ENTITY,
00370         BOTLIB_AAS_VALUE_FOR_BSP_EPAIR_KEY,
00371         BOTLIB_AAS_VECTOR_FOR_BSP_EPAIR_KEY,
00372         BOTLIB_AAS_FLOAT_FOR_BSP_EPAIR_KEY,
00373         BOTLIB_AAS_INT_FOR_BSP_EPAIR_KEY,
00374 
00375         BOTLIB_AAS_AREA_REACHABILITY,
00376 
00377         BOTLIB_AAS_AREA_TRAVEL_TIME_TO_GOAL_AREA,
00378 
00379         BOTLIB_AAS_SWIMMING,
00380         BOTLIB_AAS_PREDICT_CLIENT_MOVEMENT,
00381 
00382         BOTLIB_EA_SAY = 400,
00383         BOTLIB_EA_SAY_TEAM,
00384         BOTLIB_EA_COMMAND,
00385 
00386         BOTLIB_EA_ACTION,
00387         BOTLIB_EA_GESTURE,
00388         BOTLIB_EA_TALK,
00389         BOTLIB_EA_ATTACK,
00390         BOTLIB_EA_ALT_ATTACK,
00391         BOTLIB_EA_FORCEPOWER,
00392         BOTLIB_EA_USE,
00393         BOTLIB_EA_RESPAWN,
00394         BOTLIB_EA_CROUCH,
00395         BOTLIB_EA_MOVE_UP,
00396         BOTLIB_EA_MOVE_DOWN,
00397         BOTLIB_EA_MOVE_FORWARD,
00398         BOTLIB_EA_MOVE_BACK,
00399         BOTLIB_EA_MOVE_LEFT,
00400         BOTLIB_EA_MOVE_RIGHT,
00401 
00402         BOTLIB_EA_SELECT_WEAPON,
00403         BOTLIB_EA_JUMP,
00404         BOTLIB_EA_DELAYED_JUMP,
00405         BOTLIB_EA_MOVE,
00406         BOTLIB_EA_VIEW,
00407 
00408         BOTLIB_EA_END_REGULAR,
00409         BOTLIB_EA_GET_INPUT,
00410         BOTLIB_EA_RESET_INPUT,
00411 
00412 
00413         BOTLIB_AI_LOAD_CHARACTER = 500,
00414         BOTLIB_AI_FREE_CHARACTER,
00415         BOTLIB_AI_CHARACTERISTIC_FLOAT,
00416         BOTLIB_AI_CHARACTERISTIC_BFLOAT,
00417         BOTLIB_AI_CHARACTERISTIC_INTEGER,
00418         BOTLIB_AI_CHARACTERISTIC_BINTEGER,
00419         BOTLIB_AI_CHARACTERISTIC_STRING,
00420 
00421         BOTLIB_AI_ALLOC_CHAT_STATE,
00422         BOTLIB_AI_FREE_CHAT_STATE,
00423         BOTLIB_AI_QUEUE_CONSOLE_MESSAGE,
00424         BOTLIB_AI_REMOVE_CONSOLE_MESSAGE,
00425         BOTLIB_AI_NEXT_CONSOLE_MESSAGE,
00426         BOTLIB_AI_NUM_CONSOLE_MESSAGE,
00427         BOTLIB_AI_INITIAL_CHAT,
00428         BOTLIB_AI_REPLY_CHAT,
00429         BOTLIB_AI_CHAT_LENGTH,
00430         BOTLIB_AI_ENTER_CHAT,
00431         BOTLIB_AI_STRING_CONTAINS,
00432         BOTLIB_AI_FIND_MATCH,
00433         BOTLIB_AI_MATCH_VARIABLE,
00434         BOTLIB_AI_UNIFY_WHITE_SPACES,
00435         BOTLIB_AI_REPLACE_SYNONYMS,
00436         BOTLIB_AI_LOAD_CHAT_FILE,
00437         BOTLIB_AI_SET_CHAT_GENDER,
00438         BOTLIB_AI_SET_CHAT_NAME,
00439 
00440         BOTLIB_AI_RESET_GOAL_STATE,
00441         BOTLIB_AI_RESET_AVOID_GOALS,
00442         BOTLIB_AI_PUSH_GOAL,
00443         BOTLIB_AI_POP_GOAL,
00444         BOTLIB_AI_EMPTY_GOAL_STACK,
00445         BOTLIB_AI_DUMP_AVOID_GOALS,
00446         BOTLIB_AI_DUMP_GOAL_STACK,
00447         BOTLIB_AI_GOAL_NAME,
00448         BOTLIB_AI_GET_TOP_GOAL,
00449         BOTLIB_AI_GET_SECOND_GOAL,
00450         BOTLIB_AI_CHOOSE_LTG_ITEM,
00451         BOTLIB_AI_CHOOSE_NBG_ITEM,
00452         BOTLIB_AI_TOUCHING_GOAL,
00453         BOTLIB_AI_ITEM_GOAL_IN_VIS_BUT_NOT_VISIBLE,
00454         BOTLIB_AI_GET_LEVEL_ITEM_GOAL,
00455         BOTLIB_AI_AVOID_GOAL_TIME,
00456         BOTLIB_AI_INIT_LEVEL_ITEMS,
00457         BOTLIB_AI_UPDATE_ENTITY_ITEMS,
00458         BOTLIB_AI_LOAD_ITEM_WEIGHTS,
00459         BOTLIB_AI_FREE_ITEM_WEIGHTS,
00460         BOTLIB_AI_SAVE_GOAL_FUZZY_LOGIC,
00461         BOTLIB_AI_ALLOC_GOAL_STATE,
00462         BOTLIB_AI_FREE_GOAL_STATE,
00463 
00464         BOTLIB_AI_RESET_MOVE_STATE,
00465         BOTLIB_AI_MOVE_TO_GOAL,
00466         BOTLIB_AI_MOVE_IN_DIRECTION,
00467         BOTLIB_AI_RESET_AVOID_REACH,
00468         BOTLIB_AI_RESET_LAST_AVOID_REACH,
00469         BOTLIB_AI_REACHABILITY_AREA,
00470         BOTLIB_AI_MOVEMENT_VIEW_TARGET,
00471         BOTLIB_AI_ALLOC_MOVE_STATE,
00472         BOTLIB_AI_FREE_MOVE_STATE,
00473         BOTLIB_AI_INIT_MOVE_STATE,
00474 
00475         BOTLIB_AI_CHOOSE_BEST_FIGHT_WEAPON,
00476         BOTLIB_AI_GET_WEAPON_INFO,
00477         BOTLIB_AI_LOAD_WEAPON_WEIGHTS,
00478         BOTLIB_AI_ALLOC_WEAPON_STATE,
00479         BOTLIB_AI_FREE_WEAPON_STATE,
00480         BOTLIB_AI_RESET_WEAPON_STATE,
00481 
00482         BOTLIB_AI_GENETIC_PARENTS_AND_CHILD_SELECTION,
00483         BOTLIB_AI_INTERBREED_GOAL_FUZZY_LOGIC,
00484         BOTLIB_AI_MUTATE_GOAL_FUZZY_LOGIC,
00485         BOTLIB_AI_GET_NEXT_CAMP_SPOT_GOAL,
00486         BOTLIB_AI_GET_MAP_LOCATION_GOAL,
00487         BOTLIB_AI_NUM_INITIAL_CHATS,
00488         BOTLIB_AI_GET_CHAT_MESSAGE,
00489         BOTLIB_AI_REMOVE_FROM_AVOID_GOALS,
00490         BOTLIB_AI_PREDICT_VISIBLE_POSITION,
00491 
00492         BOTLIB_AI_SET_AVOID_GOAL_TIME,
00493         BOTLIB_AI_ADD_AVOID_SPOT,
00494         BOTLIB_AAS_ALTERNATIVE_ROUTE_GOAL,
00495         BOTLIB_AAS_PREDICT_ROUTE,
00496         BOTLIB_AAS_POINT_REACHABILITY_AREA_INDEX,
00497 
00498         BOTLIB_PC_LOAD_SOURCE,
00499         BOTLIB_PC_FREE_SOURCE,
00500         BOTLIB_PC_READ_TOKEN,
00501         BOTLIB_PC_SOURCE_FILE_AND_LINE,
00502 
00503         /*
00504 Ghoul2 Insert Start
00505 */
00506         G_R_REGISTERSKIN,
00507         G_G2_LISTBONES,
00508         G_G2_LISTSURFACES,
00509         G_G2_HAVEWEGHOULMODELS,
00510         G_G2_SETMODELS,
00511         G_G2_GETBOLT,
00512         G_G2_GETBOLT_NOREC,
00513         G_G2_GETBOLT_NOREC_NOROT,
00514         G_G2_INITGHOUL2MODEL,
00515         G_G2_SETSKIN,
00516         G_G2_SIZE,
00517         G_G2_ADDBOLT,
00518         G_G2_SETBOLTINFO,
00519         G_G2_ANGLEOVERRIDE,
00520         G_G2_PLAYANIM,
00521         G_G2_GETBONEANIM,
00522         G_G2_GETGLANAME,
00523         G_G2_COPYGHOUL2INSTANCE,
00524         G_G2_COPYSPECIFICGHOUL2MODEL,
00525         G_G2_DUPLICATEGHOUL2INSTANCE,
00526         G_G2_HASGHOUL2MODELONINDEX,
00527         G_G2_REMOVEGHOUL2MODEL,
00528         G_G2_REMOVEGHOUL2MODELS,
00529         G_G2_CLEANMODELS,
00530         G_G2_COLLISIONDETECT,
00531         G_G2_COLLISIONDETECTCACHE,
00532 
00533         G_G2_SETROOTSURFACE,
00534         G_G2_SETSURFACEONOFF,
00535         G_G2_SETNEWORIGIN,
00536         G_G2_DOESBONEEXIST,
00537         G_G2_GETSURFACERENDERSTATUS,
00538 
00539         G_G2_ABSURDSMOOTHING,
00540 
00541 /*
00542         //rww - RAGDOLL_BEGIN
00543 */
00544         G_G2_SETRAGDOLL,
00545         G_G2_ANIMATEG2MODELS,
00546 /*
00547         //rww - RAGDOLL_END
00548 */
00549         //additional ragdoll options -rww
00550         G_G2_RAGPCJCONSTRAINT,
00551         G_G2_RAGPCJGRADIENTSPEED,
00552         G_G2_RAGEFFECTORGOAL,
00553         G_G2_GETRAGBONEPOS,
00554         G_G2_RAGEFFECTORKICK,
00555         G_G2_RAGFORCESOLVE,
00556 
00557         //rww - ik move method, allows you to specify a bone and move it to a world point (within joint constraints)
00558         //by using the majority of gil's existing bone angling stuff from the ragdoll code.
00559         G_G2_SETBONEIKSTATE,
00560         G_G2_IKMOVE,
00561 
00562         G_G2_REMOVEBONE,
00563 
00564         G_G2_ATTACHINSTANCETOENTNUM,
00565         G_G2_CLEARATTACHEDINSTANCE,
00566         G_G2_CLEANENTATTACHMENTS,
00567         G_G2_OVERRIDESERVER,
00568 
00569         G_G2_GETSURFACENAME,
00570 
00571         G_SET_ACTIVE_SUBBSP,
00572         G_CM_REGISTER_TERRAIN,
00573         G_RMG_INIT,
00574 
00575         G_BOT_UPDATEWAYPOINTS,
00576         G_BOT_CALCULATEPATHS
00577 /*
00578 Ghoul2 Insert End
00579 */
00580 
00581 } gameImport_t;

enum taskID_t
 

Enumeration values:
TID_CHAN_VOICE 
TID_ANIM_UPPER 
TID_ANIM_LOWER 
TID_ANIM_BOTH 
TID_MOVE_NAV 
TID_ANGLE_FACE 
TID_BSTATE 
TID_LOCATION 
TID_RESIZE 
TID_SHOOT 
NUM_TIDS 

Definition at line 625 of file g_public.h.

00626 {
00627         TID_CHAN_VOICE = 0,     // Waiting for a voice sound to complete
00628         TID_ANIM_UPPER,         // Waiting to finish a lower anim holdtime
00629         TID_ANIM_LOWER,         // Waiting to finish a lower anim holdtime
00630         TID_ANIM_BOTH,          // Waiting to finish lower and upper anim holdtimes or normal md3 animating
00631         TID_MOVE_NAV,           // Trying to get to a navgoal or For ET_MOVERS
00632         TID_ANGLE_FACE,         // Turning to an angle or facing
00633         TID_BSTATE,                     // Waiting for a certain bState to finish
00634         TID_LOCATION,           // Waiting for ent to enter a specific trigger_location
00635 //      TID_MISSIONSTATUS,      // Waiting for player to finish reading MISSION STATUS SCREEN
00636         TID_RESIZE,                     // Waiting for clear bbox to inflate size
00637         TID_SHOOT,                      // Waiting for fire event
00638         NUM_TIDS,                       // for def of taskID array
00639 } taskID_t;