Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

g_local.h File Reference

#include "q_shared.h"
#include "bg_public.h"
#include "g_public.h"
#include "g_team.h"

Include dependency graph for g_local.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  bot_settings_s
struct  clientPersistant_t
struct  clientSession_t
struct  gclient_s
struct  gentity_s
struct  level_locals_t
struct  playerTeamState_t

Defines

#define BODY_QUEUE_SIZE   8
#define CARNAGE_REWARD_TIME   3000
#define DAMAGE_NO_ARMOR   0x00000002
#define DAMAGE_NO_KNOCKBACK   0x00000004
#define DAMAGE_NO_PROTECTION   0x00000008
#define DAMAGE_RADIUS   0x00000001
#define FL_DROPPED_ITEM   0x00001000
#define FL_FORCE_GESTURE   0x00008000
#define FL_GODMODE   0x00000010
#define FL_NO_BOTS   0x00002000
#define FL_NO_HUMANS   0x00004000
#define FL_NO_KNOCKBACK   0x00000800
#define FL_NOTARGET   0x00000020
#define FL_TEAMSLAVE   0x00000400
#define FOFS(x)   ((int)&(((gentity_t *)0)->x))
#define FOLLOW_ACTIVE1   -1
#define FOLLOW_ACTIVE2   -2
#define FRAMETIME   100
#define GAMEVERSION   "baseq3"
#define INFINITE   1000000
#define INTERMISSION_DELAY_TIME   1000
#define MAX_FILEPATH   144
#define MAX_NETNAME   36
#define MAX_SPAWN_VARS   64
#define MAX_SPAWN_VARS_CHARS   4096
#define MAX_VOTE_COUNT   3
#define REWARD_SPRITE_TIME   2000
#define SP_INTERMISSION_DELAY_TIME   5000
#define SP_PODIUM_MODEL   "models/mapobjects/podium/podium4.md3"

Typedefs

typedef bot_settings_s bot_settings_t
typedef gclient_s gclient_t
typedef gentity_s gentity_t

Enumerations

enum  clientConnected_t { CON_DISCONNECTED, CON_CONNECTING, CON_CONNECTED }
enum  moverState_t { MOVER_POS1, MOVER_POS2, MOVER_1TO2, MOVER_2TO1 }
enum  playerTeamStateState_t { TEAM_BEGIN, TEAM_ACTIVE }
enum  spectatorState_t { SPECTATOR_NOT, SPECTATOR_FREE, SPECTATOR_FOLLOW, SPECTATOR_SCOREBOARD }

Functions

void Add_Ammo (gentity_t *ent, int weapon, int count)
void AddRemap (const char *oldShader, const char *newShader, float timeOffset)
void AddScore (gentity_t *ent, vec3_t origin, int score)
int ArmorIndex (gentity_t *ent)
void BeginIntermission (void)
void body_die (gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int damage, int meansOfDeath)
int BotAILoadMap (int restart)
int BotAISetup (int restart)
int BotAISetupClient (int client, struct bot_settings_s *settings, qboolean restart)
int BotAIShutdown (int restart)
int BotAIShutdownClient (int client, qboolean restart)
int BotAIStartFrame (int time)
void BotInterbreedEndMatch (void)
void BotTestAAS (vec3_t origin)
void BroadcastTeamChange (gclient_t *client, int oldTeam)
const char * BuildShaderStateConfig ()
void CalcMuzzlePoint (gentity_t *ent, vec3_t forward, vec3_t right, vec3_t up, vec3_t muzzlePoint)
void CalculateRanks (void)
qboolean CanDamage (gentity_t *targ, vec3_t origin)
qboolean CheckGauntletAttack (gentity_t *ent)
qboolean CheckObeliskAttack (gentity_t *obelisk, gentity_t *attacker)
void CheckTeamLeader (int team)
void ClearRegisteredItems (void)
void ClientBegin (int clientNum)
void ClientCommand (int clientNum)
char * ClientConnect (int clientNum, qboolean firstTime, qboolean isBot)
void ClientDisconnect (int clientNum)
void ClientEndFrame (gentity_t *ent)
void ClientSpawn (gentity_t *ent)
void ClientThink (int clientNum)
void ClientUserinfoChanged (int clientNum)
void Cmd_FollowCycle_f (gentity_t *ent, int dir)
void Cmd_Score_f (gentity_t *ent)
qboolean ConsoleCommand (void)
void CopyToBodyQue (gentity_t *ent)
void DeathmatchScoreboardMessage (gentity_t *client)
gentity_tDrop_Item (gentity_t *ent, gitem_t *item, float angle)
void FindIntermissionPoint (void)
void FinishSpawningItem (gentity_t *ent)
gentity_tfire_bfg (gentity_t *self, vec3_t start, vec3_t dir)
gentity_tfire_blaster (gentity_t *self, vec3_t start, vec3_t aimdir)
gentity_tfire_grapple (gentity_t *self, vec3_t start, vec3_t dir)
gentity_tfire_grenade (gentity_t *self, vec3_t start, vec3_t aimdir)
gentity_tfire_plasma (gentity_t *self, vec3_t start, vec3_t aimdir)
gentity_tfire_rocket (gentity_t *self, vec3_t start, vec3_t dir)
void FireWeapon (gentity_t *ent)
void G_AddEvent (gentity_t *ent, int event, int eventParm)
void G_AddPredictableEvent (gentity_t *ent, int event, int eventParm)
void * G_Alloc (int size)
qboolean G_BotConnect (int clientNum, qboolean restart)
void G_CheckBotSpawn (void)
void G_CheckTeamItems (void)
void G_Damage (gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, vec3_t dir, vec3_t point, int damage, int dflags, int mod)
qboolean G_EntitiesFree (void)
void QDECL G_Error (const char *fmt,...)
qboolean G_FilterPacket (char *from)
gentity_tG_Find (gentity_t *from, int fieldofs, const char *match)
void G_FreeEntity (gentity_t *e)
char * G_GetBotInfoByName (const char *name)
char * G_GetBotInfoByNumber (int num)
void G_InitBots (qboolean restart)
void G_InitGentity (gentity_t *e)
void G_InitMemory (void)
void G_InitSessionData (gclient_t *client, char *userinfo)
void G_InitWorldSession (void)
int G_InvulnerabilityEffect (gentity_t *targ, vec3_t dir, vec3_t point, vec3_t impactpoint, vec3_t bouncedir)
void G_KillBox (gentity_t *ent)
void QDECL G_LogPrintf (const char *fmt,...)
int G_ModelIndex (char *name)
char * G_NewString (const char *string)
gentity_tG_PickTarget (char *targetname)
void QDECL G_Printf (const char *fmt,...)
void G_ProcessIPBans (void)
qboolean G_RadiusDamage (vec3_t origin, gentity_t *attacker, float damage, float radius, gentity_t *ignore, int mod)
void G_ReadSessionData (gclient_t *client)
void G_RemoveQueuedBotBegin (int clientNum)
void G_RunClient (gentity_t *ent)
void G_RunItem (gentity_t *ent)
void G_RunMissile (gentity_t *ent)
void G_RunMover (gentity_t *ent)
void G_RunThink (gentity_t *ent)
void G_SetMovedir (vec3_t angles, vec3_t movedir)
void G_SetOrigin (gentity_t *ent, vec3_t origin)
void G_SetStats (gentity_t *ent)
void G_Sound (gentity_t *ent, int channel, int soundIndex)
int G_SoundIndex (char *name)
gentity_tG_Spawn (void)
void G_SpawnEntitiesFromString (void)
qboolean G_SpawnFloat (const char *key, const char *defaultString, float *out)
qboolean G_SpawnInt (const char *key, const char *defaultString, int *out)
void G_SpawnItem (gentity_t *ent, gitem_t *item)
qboolean G_SpawnString (const char *key, const char *defaultString, char **out)
qboolean G_SpawnVector (const char *key, const char *defaultString, float *out)
void G_TeamCommand (team_t team, char *cmd)
gentity_tG_TempEntity (vec3_t origin, int event)
void G_TouchSolids (gentity_t *ent)
void G_TouchTriggers (gentity_t *ent)
void G_UseTargets (gentity_t *ent, gentity_t *activator)
void G_WriteSessionData (void)
void InitBodyQue (void)
void InitClientPersistant (gclient_t *client)
void InitClientResp (gclient_t *client)
gentity_tLaunchItem (gitem_t *item, vec3_t origin, vec3_t velocity)
qboolean LogAccuracyHit (gentity_t *target, gentity_t *attacker)
void MoveClientToIntermission (gentity_t *client)
qboolean OnSameTeam (gentity_t *ent1, gentity_t *ent2)
team_t PickTeam (int ignoreClientNum)
void player_die (gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int damage, int mod)
void PrecacheItem (gitem_t *it)
void RegisterItem (gitem_t *item)
void respawn (gentity_t *ent)
void RespawnItem (gentity_t *ent)
void SaveRegisteredItems (void)
gentity_tSelectSpawnPoint (vec3_t avoidPoint, vec3_t origin, vec3_t angles)
void SendScoreboardMessageToAllClients (void)
void SetClientViewAngle (gentity_t *ent, vec3_t angle)
void SetLeader (int team, int client)
void SetRespawn (gentity_t *ent, float delay)
void SetTeam (gentity_t *ent, char *s)
void SnapVectorTowards (vec3_t v, vec3_t to)
void SpawnModelsOnVictoryPads (void)
qboolean SpotWouldTelefrag (gentity_t *spot)
void StopFollowing (gentity_t *ent)
void Svcmd_AbortPodium_f (void)
void Svcmd_AddBot_f (void)
void Svcmd_BotList_f (void)
void Svcmd_GameMem_f (void)
void Team_CheckDroppedItem (gentity_t *dropped)
team_t TeamCount (int ignoreClientNum, int team)
int TeamLeader (int team)
void TeleportPlayer (gentity_t *player, vec3_t origin, vec3_t angles)
void Think_Weapon (gentity_t *ent)
void TossClientCubes (gentity_t *self)
void TossClientItems (gentity_t *self)
void Touch_DoorTrigger (gentity_t *ent, gentity_t *other, trace_t *trace)
void Touch_Item (gentity_t *ent, gentity_t *other, trace_t *trace)
int trap_AAS_AlternativeRouteGoals (vec3_t start, int startareanum, vec3_t goal, int goalareanum, int travelflags, void *altroutegoals, int maxaltroutegoals, int type)
int trap_AAS_AreaInfo (int areanum, void *info)
int trap_AAS_AreaReachability (int areanum)
int trap_AAS_AreaTravelTimeToGoalArea (int areanum, vec3_t origin, int goalareanum, int travelflags)
int trap_AAS_BBoxAreas (vec3_t absmins, vec3_t absmaxs, int *areas, int maxareas)
int trap_AAS_EnableRoutingArea (int areanum, int enable)
void trap_AAS_EntityInfo (int entnum, void *info)
int trap_AAS_FloatForBSPEpairKey (int ent, char *key, float *value)
int trap_AAS_Initialized (void)
int trap_AAS_IntForBSPEpairKey (int ent, char *key, int *value)
int trap_AAS_NextBSPEntity (int ent)
int trap_AAS_PointAreaNum (vec3_t point)
int trap_AAS_PointContents (vec3_t point)
int trap_AAS_PointReachabilityAreaIndex (vec3_t point)
int trap_AAS_PredictClientMovement (void *move, int entnum, vec3_t origin, int presencetype, int onground, vec3_t velocity, vec3_t cmdmove, int cmdframes, int maxframes, float frametime, int stopevent, int stopareanum, int visualize)
int trap_AAS_PredictRoute (void *route, int areanum, vec3_t origin, int goalareanum, int travelflags, int maxareas, int maxtime, int stopevent, int stopcontents, int stoptfl, int stopareanum)
void trap_AAS_PresenceTypeBoundingBox (int presencetype, vec3_t mins, vec3_t maxs)
int trap_AAS_Swimming (vec3_t origin)
float trap_AAS_Time (void)
int trap_AAS_TraceAreas (vec3_t start, vec3_t end, int *areas, vec3_t *points, int maxareas)
int trap_AAS_ValueForBSPEpairKey (int ent, char *key, char *value, int size)
int trap_AAS_VectorForBSPEpairKey (int ent, char *key, vec3_t v)
void trap_AdjustAreaPortalState (gentity_t *ent, qboolean open)
qboolean trap_AreasConnected (int area1, int area2)
int trap_Argc (void)
void trap_Args (char *buffer, int bufferLength)
void trap_Argv (int n, char *buffer, int bufferLength)
void trap_BotAddAvoidSpot (int movestate, vec3_t origin, float radius, int type)
int trap_BotAllocateClient (void)
int trap_BotAllocChatState (void)
int trap_BotAllocGoalState (int state)
int trap_BotAllocMoveState (void)
int trap_BotAllocWeaponState (void)
float trap_BotAvoidGoalTime (int goalstate, int number)
int trap_BotChatLength (int chatstate)
int trap_BotChooseBestFightWeapon (int weaponstate, int *inventory)
int trap_BotChooseLTGItem (int goalstate, vec3_t origin, int *inventory, int travelflags)
int trap_BotChooseNBGItem (int goalstate, vec3_t origin, int *inventory, int travelflags, void *ltg, float maxtime)
void trap_BotDumpAvoidGoals (int goalstate)
void trap_BotDumpGoalStack (int goalstate)
void trap_BotEmptyGoalStack (int goalstate)
void trap_BotEnterChat (int chatstate, int client, int sendto)
int trap_BotFindMatch (char *str, void *match, unsigned long int context)
void trap_BotFreeCharacter (int character)
void trap_BotFreeChatState (int handle)
void trap_BotFreeClient (int clientNum)
void trap_BotFreeGoalState (int handle)
void trap_BotFreeItemWeights (int goalstate)
void trap_BotFreeMoveState (int handle)
void trap_BotFreeWeaponState (int weaponstate)
void trap_BotGetChatMessage (int chatstate, char *buf, int size)
int trap_BotGetLevelItemGoal (int index, char *classname, void *goal)
int trap_BotGetMapLocationGoal (char *name, void *goal)
int trap_BotGetNextCampSpotGoal (int num, void *goal)
int trap_BotGetSecondGoal (int goalstate, void *goal)
int trap_BotGetServerCommand (int clientNum, char *message, int size)
int trap_BotGetSnapshotEntity (int clientNum, int sequence)
int trap_BotGetTopGoal (int goalstate, void *goal)
void trap_BotGetWeaponInfo (int weaponstate, int weapon, void *weaponinfo)
void trap_BotGoalName (int number, char *name, int size)
void trap_BotInitialChat (int chatstate, char *type, int mcontext, char *var0, char *var1, char *var2, char *var3, char *var4, char *var5, char *var6, char *var7)
void trap_BotInitLevelItems (void)
void trap_BotInitMoveState (int handle, void *initmove)
void trap_BotInterbreedGoalFuzzyLogic (int parent1, int parent2, int child)
int trap_BotItemGoalInVisButNotVisible (int viewer, vec3_t eye, vec3_t viewangles, void *goal)
int trap_BotLibDefine (char *string)
int trap_BotLibLoadMap (const char *mapname)
int trap_BotLibSetup (void)
int trap_BotLibShutdown (void)
int trap_BotLibStartFrame (float time)
int trap_BotLibTest (int parm0, char *parm1, vec3_t parm2, vec3_t parm3)
int trap_BotLibUpdateEntity (int ent, void *bue)
int trap_BotLibVarGet (char *var_name, char *value, int size)
int trap_BotLibVarSet (char *var_name, char *value)
int trap_BotLoadCharacter (char *charfile, float skill)
int trap_BotLoadChatFile (int chatstate, char *chatfile, char *chatname)
int trap_BotLoadItemWeights (int goalstate, char *filename)
int trap_BotLoadWeaponWeights (int weaponstate, char *filename)
void trap_BotMatchVariable (void *match, int variable, char *buf, int size)
int trap_BotMoveInDirection (int movestate, vec3_t dir, float speed, int type)
int trap_BotMovementViewTarget (int movestate, void *goal, int travelflags, float lookahead, vec3_t target)
void trap_BotMoveToGoal (void *result, int movestate, void *goal, int travelflags)
void trap_BotMutateGoalFuzzyLogic (int goalstate, float range)
int trap_BotNextConsoleMessage (int chatstate, void *cm)
int trap_BotNumConsoleMessages (int chatstate)
int trap_BotNumInitialChats (int chatstate, char *type)
void trap_BotPopGoal (int goalstate)
int trap_BotPredictVisiblePosition (vec3_t origin, int areanum, void *goal, int travelflags, vec3_t target)
void trap_BotPushGoal (int goalstate, void *goal)
void trap_BotQueueConsoleMessage (int chatstate, int type, char *message)
int trap_BotReachabilityArea (vec3_t origin, int testground)
void trap_BotRemoveConsoleMessage (int chatstate, int handle)
void trap_BotRemoveFromAvoidGoals (int goalstate, int number)
void trap_BotReplaceSynonyms (char *string, unsigned long int context)
int trap_BotReplyChat (int chatstate, char *message, int mcontext, int vcontext, char *var0, char *var1, char *var2, char *var3, char *var4, char *var5, char *var6, char *var7)
void trap_BotResetAvoidGoals (int goalstate)
void trap_BotResetAvoidReach (int movestate)
void trap_BotResetGoalState (int goalstate)
void trap_BotResetLastAvoidReach (int movestate)
void trap_BotResetMoveState (int movestate)
void trap_BotResetWeaponState (int weaponstate)
void trap_BotSaveGoalFuzzyLogic (int goalstate, char *filename)
void trap_BotSetAvoidGoalTime (int goalstate, int number, float avoidtime)
void trap_BotSetChatGender (int chatstate, int gender)
void trap_BotSetChatName (int chatstate, char *name, int client)
int trap_BotTouchingGoal (vec3_t origin, void *goal)
void trap_BotUpdateEntityItems (void)
void trap_BotUserCommand (int client, usercmd_t *ucmd)
float trap_Characteristic_BFloat (int character, int index, float min, float max)
int trap_Characteristic_BInteger (int character, int index, int min, int max)
float trap_Characteristic_Float (int character, int index)
int trap_Characteristic_Integer (int character, int index)
void trap_Characteristic_String (int character, int index, char *buf, int size)
void trap_Cvar_Register (vmCvar_t *cvar, const char *var_name, const char *value, int flags)
void trap_Cvar_Set (const char *var_name, const char *value)
void trap_Cvar_Update (vmCvar_t *cvar)
int trap_Cvar_VariableIntegerValue (const char *var_name)
void trap_Cvar_VariableStringBuffer (const char *var_name, char *buffer, int bufsize)
float trap_Cvar_VariableValue (const char *var_name)
int trap_DebugPolygonCreate (int color, int numPoints, vec3_t *points)
void trap_DebugPolygonDelete (int id)
void trap_DropClient (int clientNum, const char *reason)
void trap_EA_Action (int client, int action)
void trap_EA_Attack (int client)
void trap_EA_Command (int client, char *command)
void trap_EA_Crouch (int client)
void trap_EA_DelayedJump (int client)
void trap_EA_EndRegular (int client, float thinktime)
void trap_EA_Gesture (int client)
void trap_EA_GetInput (int client, float thinktime, void *input)
void trap_EA_Jump (int client)
void trap_EA_Move (int client, vec3_t dir, float speed)
void trap_EA_MoveBack (int client)
void trap_EA_MoveDown (int client)
void trap_EA_MoveForward (int client)
void trap_EA_MoveLeft (int client)
void trap_EA_MoveRight (int client)
void trap_EA_MoveUp (int client)
void trap_EA_ResetInput (int client)
void trap_EA_Respawn (int client)
void trap_EA_Say (int client, char *str)
void trap_EA_SayTeam (int client, char *str)
void trap_EA_SelectWeapon (int client, int weapon)
void trap_EA_Talk (int client)
void trap_EA_Use (int client)
void trap_EA_View (int client, vec3_t viewangles)
int trap_EntitiesInBox (const vec3_t mins, const vec3_t maxs, int *entityList, int maxcount)
qboolean trap_EntityContact (const vec3_t mins, const vec3_t maxs, const gentity_t *ent)
void trap_Error (const char *fmt)
void trap_FS_FCloseFile (fileHandle_t f)
int trap_FS_FOpenFile (const char *qpath, fileHandle_t *f, fsMode_t mode)
int trap_FS_GetFileList (const char *path, const char *extension, char *listbuf, int bufsize)
void trap_FS_Read (void *buffer, int len, fileHandle_t f)
int trap_FS_Seek (fileHandle_t f, long offset, int origin)
void trap_FS_Write (const void *buffer, int len, fileHandle_t f)
int trap_GeneticParentsAndChildSelection (int numranks, float *ranks, int *parent1, int *parent2, int *child)
void trap_GetConfigstring (int num, char *buffer, int bufferSize)
qboolean trap_GetEntityToken (char *buffer, int bufferSize)
void trap_GetServerinfo (char *buffer, int bufferSize)
void trap_GetUsercmd (int clientNum, usercmd_t *cmd)
void trap_GetUserinfo (int num, char *buffer, int bufferSize)
qboolean trap_InPVS (const vec3_t p1, const vec3_t p2)
qboolean trap_InPVSIgnorePortals (const vec3_t p1, const vec3_t p2)
void trap_LinkEntity (gentity_t *ent)
void trap_LocateGameData (gentity_t *gEnts, int numGEntities, int sizeofGEntity_t, playerState_t *gameClients, int sizeofGameClient)
int trap_Milliseconds (void)
int trap_PointContents (const vec3_t point, int passEntityNum)
void trap_Printf (const char *fmt)
void trap_SendConsoleCommand (int exec_when, const char *text)
void trap_SendServerCommand (int clientNum, const char *text)
void trap_SetBrushModel (gentity_t *ent, const char *name)
void trap_SetConfigstring (int num, const char *string)
void trap_SetUserinfo (int num, const char *buffer)
void trap_SnapVector (float *v)
int trap_StringContains (char *str1, char *str2, int casesensitive)
void trap_Trace (trace_t *results, const vec3_t start, const vec3_t mins, const vec3_t maxs, const vec3_t end, int passEntityNum, int contentmask)
void trap_UnifyWhiteSpaces (char *string)
void trap_UnlinkEntity (gentity_t *ent)
void trigger_teleporter_touch (gentity_t *self, gentity_t *other, trace_t *trace)
float * tv (float x, float y, float z)
void UpdateTournamentInfo (void)
void UseHoldableItem (gentity_t *ent)
float vectoyaw (const vec3_t vec)
char * vtos (const vec3_t v)
void Weapon_HookFree (gentity_t *ent)
void Weapon_HookThink (gentity_t *ent)

Variables

vmCvar_t g_allowVote
vmCvar_t g_banIPs
vmCvar_t g_blood
vmCvar_t g_blueteam
vmCvar_t g_capturelimit
vmCvar_t g_cheats
vmCvar_t g_cubeTimeout
vmCvar_t g_debugAlloc
vmCvar_t g_debugDamage
vmCvar_t g_debugMove
vmCvar_t g_dedicated
vmCvar_t g_dmflags
vmCvar_t g_doWarmup
vmCvar_t g_enableBreath
vmCvar_t g_enableDust
gentity_t g_entities [MAX_GENTITIES]
vmCvar_t g_filterBan
vmCvar_t g_forcerespawn
vmCvar_t g_fraglimit
vmCvar_t g_friendlyFire
vmCvar_t g_gametype
vmCvar_t g_gravity
vmCvar_t g_inactivity
vmCvar_t g_knockback
vmCvar_t g_maxclients
vmCvar_t g_maxGameClients
vmCvar_t g_motd
vmCvar_t g_needpass
vmCvar_t g_obeliskHealth
vmCvar_t g_obeliskRegenAmount
vmCvar_t g_obeliskRegenPeriod
vmCvar_t g_obeliskRespawnDelay
vmCvar_t g_password
vmCvar_t g_proxMineTimeout
vmCvar_t g_quadfactor
vmCvar_t g_rankings
vmCvar_t g_redteam
vmCvar_t g_restarted
vmCvar_t g_singlePlayer
vmCvar_t g_smoothClients
vmCvar_t g_speed
vmCvar_t g_synchronousClients
vmCvar_t g_teamAutoJoin
vmCvar_t g_teamForceBalance
vmCvar_t g_timelimit
vmCvar_t g_warmup
vmCvar_t g_weaponRespawn
vmCvar_t g_weaponTeamRespawn
level_locals_t level
vmCvar_t pmove_fixed
vmCvar_t pmove_msec


Define Documentation

#define BODY_QUEUE_SIZE   8
 

Definition at line 34 of file g_local.h.

#define CARNAGE_REWARD_TIME   3000
 

Definition at line 39 of file g_local.h.

#define DAMAGE_NO_ARMOR   0x00000002
 

Definition at line 511 of file g_local.h.

Referenced by P_WorldEffects().

#define DAMAGE_NO_KNOCKBACK   0x00000004
 

Definition at line 512 of file g_local.h.

Referenced by target_laser_think().

#define DAMAGE_NO_PROTECTION   0x00000008
 

Definition at line 513 of file g_local.h.

Referenced by G_KillBox(), and target_kill_use().

#define DAMAGE_RADIUS   0x00000001
 

Definition at line 510 of file g_local.h.

Referenced by G_RadiusDamage().

#define FL_DROPPED_ITEM   0x00001000
 

Definition at line 50 of file g_local.h.

#define FL_FORCE_GESTURE   0x00008000
 

Definition at line 53 of file g_local.h.

#define FL_GODMODE   0x00000010
 

Definition at line 46 of file g_local.h.

#define FL_NO_BOTS   0x00002000
 

Definition at line 51 of file g_local.h.

#define FL_NO_HUMANS   0x00004000
 

Definition at line 52 of file g_local.h.

#define FL_NO_KNOCKBACK   0x00000800
 

Definition at line 49 of file g_local.h.

#define FL_NOTARGET   0x00000020
 

Definition at line 47 of file g_local.h.

#define FL_TEAMSLAVE   0x00000400
 

Definition at line 48 of file g_local.h.

#define FOFS  )     ((int)&(((gentity_t *)0)->x))
 

Definition at line 715 of file g_local.h.

Referenced by CheckAlmostCapture(), CheckAlmostScored(), FindIntermissionPoint(), G_CheckTeamItems(), G_PickTarget(), G_UseTargets(), SelectInitialSpawnPoint(), SelectNearestDeathmatchSpawnPoint(), SelectRandomDeathmatchSpawnPoint(), SelectRandomFurthestSpawnPoint(), SelectRandomTeamSpawnPoint(), target_laser_start(), Team_FragBonuses(), Team_ResetFlag(), Think_SetupTrainTargets(), and Use_Target_Give().

#define FOLLOW_ACTIVE1   -1
 

Definition at line 219 of file g_local.h.

#define FOLLOW_ACTIVE2   -2
 

Definition at line 220 of file g_local.h.

#define FRAMETIME   100
 

Definition at line 38 of file g_local.h.

Referenced by G_SpawnItem().