#include "q_shared.h"#include "bg_public.h"#include "bg_vehicles.h"#include "g_public.h"#include "b_public.h"#include "../namespace_begin.h"#include "../namespace_end.h"#include "g_team.h"Go to the source code of this file.
Data Structures | |
| struct | alertEvent_s |
| struct | bot_settings_s |
| struct | clientPersistant_t |
| struct | clientSession_t |
| struct | combatPoint_t |
| struct | gclient_s |
| struct | gentity_s |
| struct | interestPoint_t |
| struct | level_locals_t |
| struct | playerTeamState_t |
| struct | reference_tag_s |
| struct | renderInfo_s |
| struct | waypointData_t |
Defines | |
| #define | GAME_INLINE ID_INLINE |
| #define | GAMEVERSION "basejka_mod" |
| #define | BODY_QUEUE_SIZE 8 |
| #define | INFINITE 1000000 |
| #define | FRAMETIME 100 |
| #define | CARNAGE_REWARD_TIME 3000 |
| #define | REWARD_SPRITE_TIME 2000 |
| #define | INTERMISSION_DELAY_TIME 1000 |
| #define | SP_INTERMISSION_DELAY_TIME 5000 |
| #define | START_TIME_LINK_ENTS FRAMETIME*1 |
| #define | START_TIME_FIND_LINKS FRAMETIME*2 |
| #define | START_TIME_MOVERS_SPAWNED FRAMETIME*2 |
| #define | START_TIME_REMOVE_ENTS FRAMETIME*3 |
| #define | START_TIME_NAV_CALC FRAMETIME*4 |
| #define | START_TIME_FIND_WAYPOINT FRAMETIME*5 |
| #define | FL_GODMODE 0x00000010 |
| #define | FL_NOTARGET 0x00000020 |
| #define | FL_TEAMSLAVE 0x00000400 |
| #define | FL_NO_KNOCKBACK 0x00000800 |
| #define | FL_DROPPED_ITEM 0x00001000 |
| #define | FL_NO_BOTS 0x00002000 |
| #define | FL_NO_HUMANS 0x00004000 |
| #define | FL_FORCE_GESTURE 0x00008000 |
| #define | FL_INACTIVE 0x00010000 |
| #define | FL_NAVGOAL 0x00020000 |
| #define | FL_DONT_SHOOT 0x00040000 |
| #define | FL_SHIELDED 0x00080000 |
| #define | FL_UNDYING 0x00100000 |
| #define | FL_BOUNCE 0x00100000 |
| #define | FL_BOUNCE_HALF 0x00200000 |
| #define | FL_BOUNCE_SHRAPNEL 0x00400000 |
| #define | FL_VEH_BOARDING 0x00800000 |
| #define | FL_DMG_BY_SABER_ONLY 0x01000000 |
| #define | FL_DMG_BY_HEAVY_WEAP_ONLY 0x02000000 |
| #define | FL_BBRUSH 0x04000000 |
| #define | DEBUG_SABER_BOX |
| #define | MAX_G_SHARED_BUFFER_SIZE 8192 |
| #define | SP_PODIUM_MODEL "models/mapobjects/podium/podium4.md3" |
| #define | DAMAGEREDIRECT_HEAD 1 |
| #define | DAMAGEREDIRECT_RLEG 2 |
| #define | DAMAGEREDIRECT_LLEG 3 |
| #define | FOLLOW_ACTIVE1 -1 |
| #define | FOLLOW_ACTIVE2 -2 |
| #define | PSG_VOTED (1<<0) |
| #define | PSG_TEAMVOTED (1<<1) |
| #define | MAX_NETNAME 36 |
| #define | MAX_VOTE_COUNT 3 |
| #define | MAX_INTEREST_POINTS 64 |
| #define | MAX_COMBAT_POINTS 512 |
| #define | MAX_ALERT_EVENTS 32 |
| #define | DAMAGE_NORMAL 0x00000000 |
| #define | DAMAGE_RADIUS 0x00000001 |
| #define | DAMAGE_NO_ARMOR 0x00000002 |
| #define | DAMAGE_NO_KNOCKBACK 0x00000004 |
| #define | DAMAGE_NO_PROTECTION 0x00000008 |
| #define | DAMAGE_NO_TEAM_PROTECTION 0x00000010 |
| #define | DAMAGE_EXTRA_KNOCKBACK 0x00000040 |
| #define | DAMAGE_DEATH_KNOCKBACK 0x00000080 |
| #define | DAMAGE_IGNORE_TEAM 0x00000100 |
| #define | DAMAGE_NO_DAMAGE 0x00000200 |
| #define | DAMAGE_HALF_ABSORB 0x00000400 |
| #define | DAMAGE_HALF_ARMOR_REDUCTION 0x00000800 |
| #define | DAMAGE_HEAVY_WEAP_CLASS 0x00001000 |
| #define | DAMAGE_NO_HIT_LOC 0x00002000 |
| #define | DAMAGE_NO_SELF_PROTECTION 0x00004000 |
| #define | DAMAGE_NO_DISMEMBER 0x00008000 |
| #define | DAMAGE_SABER_KNOCKBACK1 0x00010000 |
| #define | DAMAGE_SABER_KNOCKBACK2 0x00020000 |
| #define | DAMAGE_SABER_KNOCKBACK1_B2 0x00040000 |
| #define | DAMAGE_SABER_KNOCKBACK2_B2 0x00080000 |
| #define | SPF_BUTTON_USABLE 1 |
| #define | SPF_BUTTON_FPUSHABLE 2 |
| #define | MAX_REFNAME 32 |
| #define | START_TIME_LINK_ENTS FRAMETIME*1 |
| #define | RTF_NONE 0 |
| #define | RTF_NAVGOAL 0x00000001 |
| #define | MAX_FILEPATH 144 |
| #define | FOFS(x) ((int)&(((gentity_t *)0)->x)) |
Typedefs | |
| typedef gentity_s | gentity_t |
| typedef gclient_s | gclient_t |
| typedef int | clientConnected_t |
| typedef renderInfo_s | renderInfo_t |
| typedef alertEvent_s | alertEvent_t |
| typedef reference_tag_s | reference_tag_t |
| typedef bot_settings_s | bot_settings_t |
Enumerations | |
| enum | moverState_t { MOVER_POS1, MOVER_POS2, MOVER_1TO2, MOVER_2TO1 } |
| enum | { HL_NONE = 0, HL_FOOT_RT, HL_FOOT_LT, HL_LEG_RT, HL_LEG_LT, HL_WAIST, HL_BACK_RT, HL_BACK_LT, HL_BACK, HL_CHEST_RT, HL_CHEST_LT, HL_CHEST, HL_ARM_RT, HL_ARM_LT, HL_HAND_RT, HL_HAND_LT, HL_HEAD, HL_GENERIC1, HL_GENERIC2, HL_GENERIC3, HL_GENERIC4, HL_GENERIC5, HL_GENERIC6, HL_MAX } |
| enum | { CON_DISCONNECTED, CON_CONNECTING, CON_CONNECTED } |
| enum | spectatorState_t { SPECTATOR_NOT, SPECTATOR_FREE, SPECTATOR_FOLLOW, SPECTATOR_SCOREBOARD } |
| enum | playerTeamStateState_t { TEAM_BEGIN, TEAM_ACTIVE } |
| enum | alertEventType_e { AET_SIGHT, AET_SOUND } |
| enum | alertEventLevel_e { AEL_MINOR, AEL_SUSPICIOUS, AEL_DISCOVERED, AEL_DANGER, AEL_DANGER_GREAT } |
Functions | |
| qboolean | G_SpawnString (const char *key, const char *defaultString, char **out) |
| qboolean | G_SpawnFloat (const char *key, const char *defaultString, float *out) |
| qboolean | G_SpawnInt (const char *key, const char *defaultString, int *out) |
| qboolean | G_SpawnVector (const char *key, const char *defaultString, float *out) |
| void | G_SpawnEntitiesFromString (qboolean inSubBSP) |
| char * | G_NewString (const char *string) |
| void | Cmd_Score_f (gentity_t *ent) |
| void | StopFollowing (gentity_t *ent) |
| void | BroadcastTeamChange (gclient_t *client, int oldTeam) |
| void | SetTeam (gentity_t *ent, char *s) |
| void | Cmd_FollowCycle_f (gentity_t *ent, int dir) |
| void | Cmd_SaberAttackCycle_f (gentity_t *ent) |
| int | G_ItemUsable (playerState_t *ps, int forcedUse) |
| void | Cmd_ToggleSaber_f (gentity_t *ent) |
| void | Cmd_EngageDuel_f (gentity_t *ent) |
| gentity_t * | G_GetDuelWinner (gclient_t *client) |
| void | ItemUse_Binoculars (gentity_t *ent) |
| void | ItemUse_Shield (gentity_t *ent) |
| void | ItemUse_Sentry (gentity_t *ent) |
| void | Jetpack_Off (gentity_t *ent) |
| void | Jetpack_On (gentity_t *ent) |
| void | ItemUse_Jetpack (gentity_t *ent) |
| void | ItemUse_UseCloak (gentity_t *ent) |
| void | ItemUse_UseDisp (gentity_t *ent, int type) |
| void | ItemUse_UseEWeb (gentity_t *ent) |
| void | G_PrecacheDispensers (void) |
| void | ItemUse_Seeker (gentity_t *ent) |
| void | ItemUse_MedPack (gentity_t *ent) |
| void | ItemUse_MedPack_Big (gentity_t *ent) |
| void | G_CheckTeamItems (void) |
| void | G_RunItem (gentity_t *ent) |
| void | RespawnItem (gentity_t *ent) |
| void | UseHoldableItem (gentity_t *ent) |
| void | PrecacheItem (gitem_t *it) |
| gentity_t * | Drop_Item (gentity_t *ent, gitem_t *item, float angle) |
| gentity_t * | LaunchItem (gitem_t *item, vec3_t origin, vec3_t velocity) |
| void | SetRespawn (gentity_t *ent, float delay) |
| void | G_SpawnItem (gentity_t *ent, gitem_t *item) |
| void | FinishSpawningItem (gentity_t *ent) |
| void | Think_Weapon (gentity_t *ent) |
| int | ArmorIndex (gentity_t *ent) |
| void | Add_Ammo (gentity_t *ent, int weapon, int count) |
| void | Touch_Item (gentity_t *ent, gentity_t *other, trace_t *trace) |
| void | ClearRegisteredItems (void) |
| void | RegisterItem (gitem_t *item) |
| void | SaveRegisteredItems (void) |
| int | G_ModelIndex (const char *name) |
| int | G_SoundIndex (const char *name) |
| int | G_SoundSetIndex (const char *name) |
| int | G_EffectIndex (const char *name) |
| int | G_BSPIndex (const char *name) |
| int | G_IconIndex (const char *name) |
| qboolean | G_PlayerHasCustomSkeleton (gentity_t *ent) |
| void | G_TeamCommand (team_t team, char *cmd) |
| void | G_ScaleNetHealth (gentity_t *self) |
| void | G_KillBox (gentity_t *ent) |
| gentity_t * | G_Find (gentity_t *from, int fieldofs, const char *match) |
| int | G_RadiusList (vec3_t origin, float radius, gentity_t *ignore, qboolean takeDamage, gentity_t *ent_list[MAX_GENTITIES]) |
| void | G_Throw (gentity_t *targ, vec3_t newDir, float push) |
| void | G_FreeFakeClient (gclient_t **cl) |
| void | G_CreateFakeClient (int entNum, gclient_t **cl) |
| void | G_CleanAllFakeClients (void) |
| void | G_SetAnim (gentity_t *ent, usercmd_t *ucmd, int setAnimParts, int anim, int setAnimFlags, int blendTime) |
| gentity_t * | G_PickTarget (char *targetname) |
| void | GlobalUse (gentity_t *self, gentity_t *other, gentity_t *activator) |
| void | G_UseTargets2 (gentity_t *ent, gentity_t *activator, const char *string) |
| void | G_UseTargets (gentity_t *ent, gentity_t *activator) |
| void | G_SetMovedir (vec3_t angles, vec3_t movedir) |
| void | G_SetAngles (gentity_t *ent, vec3_t angles) |
| void | G_InitGentity (gentity_t *e) |
| gentity_t * | G_Spawn (void) |
| gentity_t * | G_TempEntity (vec3_t origin, int event) |
| gentity_t * | G_PlayEffect (int fxID, vec3_t org, vec3_t ang) |
| gentity_t * | G_PlayEffectID (const int fxID, vec3_t org, vec3_t ang) |
| gentity_t * | G_ScreenShake (vec3_t org, gentity_t *target, float intensity, int duration, qboolean global) |
| void | G_MuteSound (int entnum, int channel) |
| void | G_Sound (gentity_t *ent, int channel, int soundIndex) |
| void | G_SoundAtLoc (vec3_t loc, int channel, int soundIndex) |
| void | G_EntitySound (gentity_t *ent, int channel, int soundIndex) |
| void | TryUse (gentity_t *ent) |
| void | G_SendG2KillQueue (void) |
| void | G_KillG2Queue (int entNum) |
| void | G_FreeEntity (gentity_t *e) |
| qboolean | G_EntitiesFree (void) |
| qboolean | G_ActivateBehavior (gentity_t *self, int bset) |
| void | G_TouchTriggers (gentity_t *ent) |
| void | G_TouchSolids (gentity_t *ent) |
| void | GetAnglesForDirection (const vec3_t p1, const vec3_t p2, vec3_t out) |
| void | G_RunObject (gentity_t *ent) |
| float * | tv (float x, float y, float z) |
| char * | vtos (const vec3_t v) |
| void | G_AddPredictableEvent (gentity_t *ent, int event, int eventParm) |
| void | G_AddEvent (gentity_t *ent, int event, int eventParm) |
| void | G_SetOrigin (gentity_t *ent, vec3_t origin) |
| qboolean | G_CheckInSolid (gentity_t *self, qboolean fix) |
| void | AddRemap (const char *oldShader, const char *newShader, float timeOffset) |
| const char * | BuildShaderStateConfig (void) |
| int | G_BoneIndex (const char *name) |
| qhandle_t | trap_R_RegisterSkin (const char *name) |
| void | trap_G2_ListModelSurfaces (void *ghlInfo) |
| void | trap_G2_ListModelBones (void *ghlInfo, int frame) |
| void | trap_G2_SetGhoul2ModelIndexes (void *ghoul2, qhandle_t *modelList, qhandle_t *skinList) |
| qboolean | trap_G2_HaveWeGhoul2Models (void *ghoul2) |
| qboolean | trap_G2API_GetBoltMatrix (void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *matrix, const vec3_t angles, const vec3_t position, const int frameNum, qhandle_t *modelList, vec3_t scale) |
| qboolean | trap_G2API_GetBoltMatrix_NoReconstruct (void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *matrix, const vec3_t angles, const vec3_t position, const int frameNum, qhandle_t *modelList, vec3_t scale) |
| qboolean | trap_G2API_GetBoltMatrix_NoRecNoRot (void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *matrix, const vec3_t angles, const vec3_t position, const int frameNum, qhandle_t *modelList, vec3_t scale) |
| int | trap_G2API_InitGhoul2Model (void **ghoul2Ptr, const char *fileName, int modelIndex, qhandle_t customSkin, qhandle_t customShader, int modelFlags, int lodBias) |
| qboolean | trap_G2API_SetSkin (void *ghoul2, int modelIndex, qhandle_t customSkin, qhandle_t renderSkin) |
| int | trap_G2API_Ghoul2Size (void *ghlInfo) |
| int | trap_G2API_AddBolt (void *ghoul2, int modelIndex, const char *boneName) |
| void | trap_G2API_SetBoltInfo (void *ghoul2, int modelIndex, int boltInfo) |
| int | trap_G2API_CopyGhoul2Instance (void *g2From, void *g2To, int modelIndex) |
| void | trap_G2API_CopySpecificGhoul2Model (void *g2From, int modelFrom, void *g2To, int modelTo) |
| void | trap_G2API_DuplicateGhoul2Instance (void *g2From, void **g2To) |
| qboolean | trap_G2API_HasGhoul2ModelOnIndex (void *ghlInfo, int modelIndex) |
| qboolean | trap_G2API_RemoveGhoul2Model (void *ghlInfo, int modelIndex) |
| qboolean | trap_G2API_RemoveGhoul2Models (void *ghlInfo) |
| void | trap_G2API_CleanGhoul2Models (void **ghoul2Ptr) |
| void | trap_G2API_CollisionDetect (CollisionRecord_t *collRecMap, void *ghoul2, const vec3_t angles, const vec3_t position, int frameNumber, int entNum, vec3_t rayStart, vec3_t rayEnd, vec3_t scale, int traceFlags, int useLod, float fRadius) |
| void | trap_G2API_CollisionDetectCache (CollisionRecord_t *collRecMap, void *ghoul2, const vec3_t angles, const vec3_t position, int frameNumber, int entNum, vec3_t rayStart, vec3_t rayEnd, vec3_t scale, int traceFlags, int useLod, float fRadius) |
| qboolean | trap_G2API_SetBoneAngles (void *ghoul2, int modelIndex, const char *boneName, const vec3_t angles, const int flags, const int up, const int right, const int forward, qhandle_t *modelList, int blendTime, int currentTime) |
| void | trap_G2API_GetGLAName (void *ghoul2, int modelIndex, char *fillBuf) |
| qboolean | trap_G2API_SetBoneAnim (void *ghoul2, const int modelIndex, const char *boneName, const int startFrame, const int endFrame, const int flags, const float animSpeed, const int currentTime, const float setFrame, const int blendTime) |
| qboolean | trap_G2API_GetBoneAnim (void *ghoul2, const char *boneName, const int currentTime, float *currentFrame, int *startFrame, int *endFrame, int *flags, float *animSpeed, int *modelList, const int modelIndex) |
| void | trap_G2API_GetSurfaceName (void *ghoul2, int surfNumber, int modelIndex, char *fillBuf) |
| qboolean | trap_G2API_SetRootSurface (void *ghoul2, const int modelIndex, const char *surfaceName) |
| qboolean | trap_G2API_SetSurfaceOnOff (void *ghoul2, const char *surfaceName, const int flags) |
| qboolean | trap_G2API_SetNewOrigin (void *ghoul2, const int boltIndex) |
| qboolean | trap_G2API_DoesBoneExist (void *ghoul2, int modelIndex, const char *boneName) |
| int | trap_G2API_GetSurfaceRenderStatus (void *ghoul2, const int modelIndex, const char *surfaceName) |
| void | trap_G2API_AbsurdSmoothing (void *ghoul2, qboolean status) |
| void | trap_G2API_SetRagDoll (void *ghoul2, sharedRagDollParams_t *params) |
| void | trap_G2API_AnimateG2Models (void *ghoul2, int time, sharedRagDollUpdateParams_t *params) |
| qboolean | trap_G2API_RagPCJConstraint (void *ghoul2, const char *boneName, vec3_t min, vec3_t max) |
| qboolean | trap_G2API_RagPCJGradientSpeed (void *ghoul2, const char *boneName, const float speed) |
| qboolean | trap_G2API_RagEffectorGoal (void *ghoul2, const char *boneName, vec3_t pos) |
| qboolean | trap_G2API_GetRagBonePos (void *ghoul2, const char *boneName, vec3_t pos, vec3_t entAngles, vec3_t entPos, vec3_t entScale) |
| qboolean | trap_G2API_RagEffectorKick (void *ghoul2, const char *boneName, vec3_t velocity) |
| qboolean | trap_G2API_RagForceSolve (void *ghoul2, qboolean force) |
| qboolean | trap_G2API_SetBoneIKState (void *ghoul2, int time, const char *boneName, int ikState, sharedSetBoneIKStateParams_t *params) |
| qboolean | trap_G2API_IKMove (void *ghoul2, int time, sharedIKMoveParams_t *params) |
| qboolean | trap_G2API_RemoveBone (void *ghoul2, const char *boneName, int modelIndex) |
| void | trap_G2API_AttachInstanceToEntNum (void *ghoul2, int entityNum, qboolean server) |
| void | trap_G2API_ClearAttachedInstance (int entityNum) |
| void | trap_G2API_CleanEntAttachments (void) |
| qboolean | trap_G2API_OverrideServer (void *serverInstance) |
| qboolean | CanDamage (gentity_t *targ, vec3_t origin) |
| 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_RadiusDamage (vec3_t origin, gentity_t *attacker, float damage, float radius, gentity_t *ignore, gentity_t *missile, int mod) |
| void | body_die (gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int damage, int meansOfDeath) |
| void | TossClientWeapon (gentity_t *self, vec3_t direction, float speed) |
| void | TossClientItems (gentity_t *self) |
| void | TossClientCubes (gentity_t *self) |
| void | ExplodeDeath (gentity_t *self) |
| void | G_CheckForDismemberment (gentity_t *ent, gentity_t *enemy, vec3_t point, int damage, int deathAnim, qboolean postDeath) |
| void | G_RunExPhys (gentity_t *ent, float gravity, float mass, float bounce, qboolean autoKill, int *g2Bolts, int numG2Bolts) |
| void | G_ReflectMissile (gentity_t *ent, gentity_t *missile, vec3_t forward) |
| void | G_RunMissile (gentity_t *ent) |
| gentity_t * | CreateMissile (vec3_t org, vec3_t dir, float vel, int life, gentity_t *owner, qboolean altFire) |
| void | G_BounceProjectile (vec3_t start, vec3_t impact, vec3_t dir, vec3_t endout) |
| void | G_ExplodeMissile (gentity_t *ent) |
| void | WP_FireBlasterMissile (gentity_t *ent, vec3_t start, vec3_t dir, qboolean altFire) |
| void | G_PlayDoorLoopSound (gentity_t *ent) |
| void | G_PlayDoorSound (gentity_t *ent, int type) |
| void | G_RunMover (gentity_t *ent) |
| void | Touch_DoorTrigger (gentity_t *ent, gentity_t *other, trace_t *trace) |
| void | trigger_teleporter_touch (gentity_t *self, gentity_t *other, trace_t *trace) |
| void | TAG_Init (void) |
| reference_tag_t * | TAG_Find (const char *owner, const char *name) |
| reference_tag_t * | TAG_Add (const char *name, const char *owner, vec3_t origin, vec3_t angles, int radius, int flags) |
| int | TAG_GetOrigin (const char *owner, const char *name, vec3_t origin) |
| int | TAG_GetOrigin2 (const char *owner, const char *name, vec3_t origin) |
| int | TAG_GetAngles (const char *owner, const char *name, vec3_t angles) |
| int | TAG_GetRadius (const char *owner, const char *name) |
| int | TAG_GetFlags (const char *owner, const char *name) |
| void | TeleportPlayer (gentity_t *player, vec3_t origin, vec3_t angles) |
| void | WP_FireTurretMissile (gentity_t *ent, vec3_t start, vec3_t dir, qboolean altFire, int damage, int velocity, int mod, gentity_t *ignore) |
| void | WP_FireGenericBlasterMissile (gentity_t *ent, vec3_t start, vec3_t dir, qboolean altFire, int damage, int velocity, int mod) |
| qboolean | LogAccuracyHit (gentity_t *target, gentity_t *attacker) |
| void | CalcMuzzlePoint (gentity_t *ent, vec3_t forward, vec3_t right, vec3_t up, vec3_t muzzlePoint) |
| void | SnapVectorTowards (vec3_t v, vec3_t to) |
| qboolean | CheckGauntletAttack (gentity_t *ent) |
| team_t | TeamCount (int ignoreClientNum, int team) |
| int | TeamLeader (int team) |
| team_t | PickTeam (int ignoreClientNum) |
| void | SetClientViewAngle (gentity_t *ent, vec3_t angle) |
| gentity_t * | SelectSpawnPoint (vec3_t avoidPoint, vec3_t origin, vec3_t angles, team_t team) |
| void | MaintainBodyQueue (gentity_t *ent) |
| void | respawn (gentity_t *ent) |
| void | BeginIntermission (void) |
| void | InitBodyQue (void) |
| void | ClientSpawn (gentity_t *ent) |
| void | player_die (gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int damage, int mod) |
| void | AddScore (gentity_t *ent, vec3_t origin, int score) |
| void | CalculateRanks (void) |
| qboolean | SpotWouldTelefrag (gentity_t *spot) |
| qboolean | ConsoleCommand (void) |
| void | G_ProcessIPBans (void) |
| qboolean | G_FilterPacket (char *from) |
| void | FireWeapon (gentity_t *ent, qboolean altFire) |
| void | BlowDetpacks (gentity_t *ent) |
| void | MoveClientToIntermission (gentity_t *client) |
| void | G_SetStats (gentity_t *ent) |
| void | DeathmatchScoreboardMessage (gentity_t *client) |
| void | G_PowerDuelCount (int *loners, int *doubles, qboolean countSpec) |
| void | FindIntermissionPoint (void) |
| void | SetLeader (int team, int client) |
| void | CheckTeamLeader (int team) |
| void | G_RunThink (gentity_t *ent) |
| void QDECL | G_LogPrintf (const char *fmt,...) |
| void | SendScoreboardMessageToAllClients (void) |
| void QDECL | G_Printf (const char *fmt,...) |
| void QDECL | G_Error (const char *fmt,...) |
| const char * | G_GetStringEdString (char *refSection, char *refName) |
| char * | ClientConnect (int clientNum, qboolean firstTime, qboolean isBot) |
| void | ClientUserinfoChanged (int clientNum) |
| void | ClientDisconnect (int clientNum) |
| void | ClientBegin (int clientNum, qboolean allowTeamReset) |
| void | G_BreakArm (gentity_t *ent, int arm) |
| void | G_UpdateClientAnims (gentity_t *self, float animSpeedScale) |
| void | ClientCommand (int clientNum) |
| void | G_CheckClientTimeouts (gentity_t *ent) |
| void | ClientThink (int clientNum, usercmd_t *ucmd) |
| void | ClientEndFrame (gentity_t *ent) |
| void | G_RunClient (gentity_t *ent) |
| qboolean | OnSameTeam (gentity_t *ent1, gentity_t *ent2) |
| void | Team_CheckDroppedItem (gentity_t *dropped) |
| void * | G_Alloc (int size) |
| void | G_InitMemory (void) |
| void | Svcmd_GameMem_f (void) |
| void | G_ReadSessionData (gclient_t *client) |
| void | G_InitSessionData (gclient_t *client, char *userinfo, qboolean isBot) |
| void | G_InitWorldSession (void) |
| void | G_WriteSessionData (void) |
| void | AddSightEvent (gentity_t *owner, vec3_t position, float radius, alertEventLevel_e alertLevel, float addLight) |
| void | AddSoundEvent (gentity_t *owner, vec3_t position, float radius, alertEventLevel_e alertLevel, qboolean needLOS) |
| qboolean | G_CheckForDanger (gentity_t *self, int alertEvent) |
| int | G_CheckAlertEvents (gentity_t *self, qboolean checkSight, qboolean checkSound, float maxSeeDist, float maxHearDist, int ignoreAlert, qboolean mustHaveOwner, int minAlertLevel) |
| qboolean | G_ClearLOS (gentity_t *self, const vec3_t start, const vec3_t end) |
| qboolean | G_ClearLOS2 (gentity_t *self, gentity_t *ent, const vec3_t end) |
| qboolean | G_ClearLOS3 (gentity_t *self, const vec3_t start, gentity_t *ent) |
| qboolean | G_ClearLOS4 (gentity_t *self, gentity_t *ent) |
| qboolean | G_ClearLOS5 (gentity_t *self, const vec3_t end) |
| void | UpdateTournamentInfo (void) |
| void | G_InitBots (qboolean restart) |
| char * | G_GetBotInfoByNumber (int num) |
| char * | G_GetBotInfoByName (const char *name) |
| void | G_CheckBotSpawn (void) |
| void | G_RemoveQueuedBotBegin (int clientNum) |
| qboolean | G_BotConnect (int clientNum, qboolean restart) |
| void | Svcmd_AddBot_f (void) |
| void | Svcmd_BotList_f (void) |
| void | BotInterbreedEndMatch (void) |
| qboolean | G_DoesMapSupportGametype (const char *mapname, int gametype) |
| const char * | G_RefreshNextMap (int gametype, qboolean forced) |
| gentity_t * | G_PreDefSound (vec3_t org, int pdSound) |
| qboolean | HasSetSaberOnly (void) |
| void | WP_ForcePowerStop (gentity_t *self, forcePowers_t forcePower) |
| void | WP_SaberPositionUpdate (gentity_t *self, usercmd_t *ucmd) |
| int | WP_SaberCanBlock (gentity_t *self, vec3_t point, int dflags, int mod, qboolean projectile, int attackStr) |
| void | WP_SaberInitBladeData (gentity_t *ent) |
| void | WP_InitForcePowers (gentity_t *ent) |
| void | WP_SpawnInitForcePowers (gentity_t *ent) |
| void | WP_ForcePowersUpdate (gentity_t *self, usercmd_t *ucmd) |
| int | ForcePowerUsableOn (gentity_t *attacker, gentity_t *other, forcePowers_t forcePower) |
| void | ForceHeal (gentity_t *self) |
| void | ForceSpeed (gentity_t *self, int forceDuration) |
| void | ForceRage (gentity_t *self) |
| void | ForceGrip (gentity_t *self) |
| void | ForceProtect (gentity_t *self) |
| void | ForceAbsorb (gentity_t *self) |
| void | ForceTeamHeal (gentity_t *self) |
| void | ForceTeamForceReplenish (gentity_t *self) |
| void | ForceSeeing (gentity_t *self) |
| void | ForceThrow (gentity_t *self, qboolean pull) |
| void | ForceTelepathy (gentity_t *self) |
| qboolean | Jedi_DodgeEvasion (gentity_t *self, gentity_t *shooter, trace_t *tr, int hitLoc) |
| void QDECL | G_LogWeaponPickup (int client, int weaponid) |
| void QDECL | G_LogWeaponFire (int client, int weaponid) |
| void QDECL | G_LogWeaponDamage (int client, int mod, int amount) |
| void QDECL | G_LogWeaponKill (int client, int mod) |
| void QDECL | G_LogWeaponDeath (int client, int weaponid) |
| void QDECL | G_LogWeaponFrag (int attacker, int deadguy) |
| void QDECL | G_LogWeaponPowerup (int client, int powerupid) |
| void QDECL | G_LogWeaponItem (int client, int itemid) |
| void QDECL | G_LogWeaponInit (void) |
| void QDECL | G_LogWeaponOutput (void) |
| void QDECL | G_LogExit (const char *string) |
| void QDECL | G_ClearClientLog (int client) |
| void | InitSiegeMode (void) |
| void | G_SiegeClientExData (gentity_t *msgTarg) |
| void | TIMER_Clear (void) |
| void | TIMER_Clear2 (gentity_t *ent) |
| void | TIMER_Set (gentity_t *ent, const char *identifier, int duration) |
| int | TIMER_Get (gentity_t *ent, const char *identifier) |
| qboolean | TIMER_Done (gentity_t *ent, const char *identifier) |
| qboolean | TIMER_Start (gentity_t *self, const char *identifier, int duration) |
| qboolean | TIMER_Done2 (gentity_t *ent, const char *identifier, qboolean remove) |
| qboolean | TIMER_Exists (gentity_t *ent, const char *identifier) |
| void | TIMER_Remove (gentity_t *ent, const char *identifier) |
| float | NPC_GetHFOVPercentage (vec3_t spot, vec3_t from, vec3_t facing, float hFOV) |
| float | NPC_GetVFOVPercentage (vec3_t spot, vec3_t from, vec3_t facing, float vFOV) |
| void | G_SetEnemy (gentity_t *self, gentity_t *enemy) |
| qboolean | InFront (vec3_t spot, vec3_t from, vec3_t fromAngles, float threshHold) |
| int | OrgVisible (vec3_t org1, vec3_t org2, int ignore) |
| void | BotOrder (gentity_t *ent, int clientnum, int ordernum) |
| int | InFieldOfVision (vec3_t viewangles, float fov, vec3_t angles) |
| void | B_InitAlloc (void) |
| void | B_CleanupAlloc (void) |
| int | BotAISetup (int restart) |
| int | BotAIShutdown (int restart) |
| int | BotAILoadMap (int restart) |
| int | BotAISetupClient (int client, struct bot_settings_s *settings, qboolean restart) |
| int | BotAIShutdownClient (int client, qboolean restart) |
| int | BotAIStartFrame (int time) |
| void | trap_Printf (const char *fmt) |
| void | trap_Error (const char *fmt) |
| int | trap_Milliseconds (void) |
| void | trap_PrecisionTimer_Start (void **theNewTimer) |
| int | trap_PrecisionTimer_End (void *theTimer) |
| int | trap_Argc (void) |
| void | trap_Argv (int n, char *buffer, int bufferLength) |
| void | trap_Args (char *buffer, int bufferLength) |
| int | trap_FS_FOpenFile (const char *qpath, fileHandle_t *f, fsMode_t mode) |
| void | trap_FS_Read (void *buffer, int len, fileHandle_t f) |
| void | trap_FS_Write (const void *buffer, int len, fileHandle_t f) |
| void | trap_FS_FCloseFile (fileHandle_t f) |
| int | trap_FS_GetFileList (const char *path, const char *extension, char *listbuf, int bufsize) |
| void | trap_SendConsoleCommand (int exec_when, const char *text) |
| void | trap_Cvar_Register (vmCvar_t *cvar, const char *var_name, const char *value, int flags) |
| void | trap_Cvar_Update (vmCvar_t *cvar) |
| void | trap_Cvar_Set (const char *var_name, const char *value) |
| int | trap_Cvar_VariableIntegerValue (const char *var_name) |
| float | trap_Cvar_VariableValue (const char *var_name) |
| void | trap_Cvar_VariableStringBuffer (const char *var_name, char *buffer, int bufsize) |
| void | trap_LocateGameData (gentity_t *gEnts, int numGEntities, int sizeofGEntity_t, playerState_t *gameClients, int sizeofGameClient) |
| void | trap_DropClient (int clientNum, const char *reason) |
| void | trap_SendServerCommand (int clientNum, const char *text) |
| void | trap_SetConfigstring (int num, const char *string) |
| void | trap_GetConfigstring (int num, char *buffer, int bufferSize) |
| void | trap_GetUserinfo (int num, char *buffer, int bufferSize) |
| void | trap_SetUserinfo (int num, const char *buffer) |
| void | trap_GetServerinfo (char *buffer, int bufferSize) |
| void | trap_SetServerCull (float cullDistance) |
| void | trap_SetBrushModel (gentity_t *ent, const char *name) |
| 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_G2Trace (trace_t *results, const vec3_t start, const vec3_t mins, const vec3_t maxs, const vec3_t end, int passEntityNum, int contentmask, int g2TraceType, int traceLod) |
| int | trap_PointContents (const vec3_t point, int passEntityNum) |
| qboolean | trap_InPVS (const vec3_t p1, const vec3_t p2) |
| qboolean | trap_InPVSIgnorePortals (const vec3_t p1, const vec3_t p2) |
| void | trap_AdjustAreaPortalState (gentity_t *ent, qboolean open) |
| qboolean | trap_AreasConnected (int area1, int area2) |
| void | trap_LinkEntity (gentity_t *ent) |
| void | trap_UnlinkEntity (gentity_t *ent) |
| 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) |
| int | trap_BotAllocateClient (void) |