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

bg_public.h File Reference

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  animation_s
struct  gitem_s
struct  pmove_t

Defines

#define ANIM_TOGGLEBIT   128
#define ARENAS_PER_TIER   4
#define ARMOR_PROTECTION   0.66
#define CROUCH_VIEWHEIGHT   12
#define CS_BOTINFO   25
#define CS_FLAGSTATUS   23
#define CS_GAME_VERSION   20
#define CS_INTERMISSION   22
#define CS_ITEMS   27
#define CS_LEVEL_START_TIME   21
#define CS_LOCATIONS   (CS_PLAYERS+MAX_CLIENTS)
#define CS_MAX   (CS_PARTICLES+MAX_LOCATIONS)
#define CS_MESSAGE   3
#define CS_MODELS   32
#define CS_MOTD   4
#define CS_MUSIC   2
#define CS_PARTICLES   (CS_LOCATIONS+MAX_LOCATIONS)
#define CS_PLAYERS   (CS_SOUNDS+MAX_SOUNDS)
#define CS_SCORES1   6
#define CS_SCORES2   7
#define CS_SHADERSTATE   24
#define CS_SOUNDS   (CS_MODELS+MAX_MODELS)
#define CS_TEAMVOTE_NO   18
#define CS_TEAMVOTE_STRING   14
#define CS_TEAMVOTE_TIME   12
#define CS_TEAMVOTE_YES   16
#define CS_VOTE_NO   11
#define CS_VOTE_STRING   9
#define CS_VOTE_TIME   8
#define CS_VOTE_YES   10
#define CS_WARMUP   5
#define DEAD_VIEWHEIGHT   -16
#define DEFAULT_GRAVITY   800
#define DEFAULT_SHOTGUN_COUNT   11
#define DEFAULT_SHOTGUN_SPREAD   700
#define DEFAULT_VIEWHEIGHT   26
#define DF_FIXED_FOV   16
#define DF_NO_FALLING   8
#define DF_NO_FOOTSTEPS   32
#define EF_AWARD_ASSIST   0x00020000
#define EF_AWARD_CAP   0x00000800
#define EF_AWARD_DEFEND   0x00010000
#define EF_AWARD_DENIED   0x00040000
#define EF_AWARD_EXCELLENT   0x00000008
#define EF_AWARD_GAUNTLET   0x00000040
#define EF_AWARD_IMPRESSIVE   0x00008000
#define EF_BOUNCE   0x00000010
#define EF_BOUNCE_HALF   0x00000020
#define EF_CONNECTION   0x00002000
#define EF_DEAD   0x00000001
#define EF_FIRING   0x00000100
#define EF_KAMIKAZE   0x00000200
#define EF_MOVER_STOP   0x00000400
#define EF_NODRAW   0x00000080
#define EF_PLAYER_EVENT   0x00000010
#define EF_TALK   0x00001000
#define EF_TEAMVOTED   0x00080000
#define EF_TELEPORT_BIT   0x00000004
#define EF_VOTED   0x00004000
#define EV_EVENT_BIT1   0x00000100
#define EV_EVENT_BIT2   0x00000200
#define EV_EVENT_BITS   (EV_EVENT_BIT1|EV_EVENT_BIT2)
#define EVENT_VALID_MSEC   300
#define GAME_VERSION   "baseq3-1"
#define GIB_HEALTH   -40
#define ITEM_INDEX(x)   ((x)-bg_itemlist)
#define ITEM_RADIUS   15
#define KAMI_BOOMSPHERE_MAXRADIUS   720
#define KAMI_BOOMSPHEREMODEL_RADIUS   72
#define KAMI_EXPLODE_STARTTIME   250
#define KAMI_IMPLODE_ENDTIME   2250
#define KAMI_IMPLODE_STARTTIME   2000
#define KAMI_SHOCKWAVE2_ENDTIME   3000
#define KAMI_SHOCKWAVE2_MAXRADIUS   704
#define KAMI_SHOCKWAVE2_STARTTIME   2000
#define KAMI_SHOCKWAVE2FADE_STARTTIME   2500
#define KAMI_SHOCKWAVE_ENDTIME   2000
#define KAMI_SHOCKWAVE_MAXRADIUS   1320
#define KAMI_SHOCKWAVE_STARTTIME   0
#define KAMI_SHOCKWAVEFADE_STARTTIME   1500
#define KAMI_SHOCKWAVEMODEL_RADIUS   88
#define LIGHTNING_RANGE   768
#define MASK_ALL   (-1)
#define MASK_DEADSOLID   (CONTENTS_SOLID|CONTENTS_PLAYERCLIP)
#define MASK_OPAQUE   (CONTENTS_SOLID|CONTENTS_SLIME|CONTENTS_LAVA)
#define MASK_PLAYERSOLID   (CONTENTS_SOLID|CONTENTS_PLAYERCLIP|CONTENTS_BODY)
#define MASK_SHOT   (CONTENTS_SOLID|CONTENTS_BODY|CONTENTS_CORPSE)
#define MASK_SOLID   (CONTENTS_SOLID)
#define MASK_WATER   (CONTENTS_WATER|CONTENTS_LAVA|CONTENTS_SLIME)
#define MAX_ARENAS   1024
#define MAX_ARENAS_TEXT   8192
#define MAX_BOTS   1024
#define MAX_BOTS_TEXT   8192
#define MAX_ITEM_MODELS   4
#define MAX_ITEMS   256
#define MAXTOUCH   32
#define MINS_Z   -24
#define PLAYEREVENT_DENIEDREWARD   0x0001
#define PLAYEREVENT_GAUNTLETREWARD   0x0002
#define PLAYEREVENT_HOLYSHIT   0x0004
#define PMF_ALL_TIMES   (PMF_TIME_WATERJUMP|PMF_TIME_LAND|PMF_TIME_KNOCKBACK)
#define PMF_BACKWARDS_JUMP   8
#define PMF_BACKWARDS_RUN   16
#define PMF_DUCKED   1
#define PMF_FOLLOW   4096
#define PMF_GRAPPLE_PULL   2048
#define PMF_INVULEXPAND   16384
#define PMF_JUMP_HELD   2
#define PMF_RESPAWNED   512
#define PMF_SCOREBOARD   8192
#define PMF_TIME_KNOCKBACK   64
#define PMF_TIME_LAND   32
#define PMF_TIME_WATERJUMP   256
#define PMF_USE_ITEM_HELD   1024
#define RANK_TIED_FLAG   0x4000
#define SCORE_NOT_PRESENT   -9999
#define TEAM_LOCATION_UPDATE_TIME   1000
#define TEAM_MAXOVERLAY   32
#define VOTE_TIME   30000

Typedefs

typedef animation_s animation_t
typedef gitem_s gitem_t

Enumerations

enum  animNumber_t {
  BOTH_DEATH1, BOTH_DEAD1, BOTH_DEATH2, BOTH_DEAD2,
  BOTH_DEATH3, BOTH_DEAD3, TORSO_GESTURE, TORSO_ATTACK,
  TORSO_ATTACK2, TORSO_DROP, TORSO_RAISE, TORSO_STAND,
  TORSO_STAND2, LEGS_WALKCR, LEGS_WALK, LEGS_RUN,
  LEGS_BACK, LEGS_SWIM, LEGS_JUMP, LEGS_LAND,
  LEGS_JUMPB, LEGS_LANDB, LEGS_IDLE, LEGS_IDLECR,
  LEGS_TURN, TORSO_GETFLAG, TORSO_GUARDBASE, TORSO_PATROL,
  TORSO_FOLLOWME, TORSO_AFFIRMATIVE, TORSO_NEGATIVE, MAX_ANIMATIONS,
  LEGS_BACKCR, LEGS_BACKWALK, FLAG_RUN, FLAG_STAND,
  FLAG_STAND2RUN, MAX_TOTALANIMATIONS
}
enum  entity_event_t {
  EV_NONE, EV_FOOTSTEP, EV_FOOTSTEP_METAL, EV_FOOTSPLASH,
  EV_FOOTWADE, EV_SWIM, EV_STEP_4, EV_STEP_8,
  EV_STEP_12, EV_STEP_16, EV_FALL_SHORT, EV_FALL_MEDIUM,
  EV_FALL_FAR, EV_JUMP_PAD, EV_JUMP, EV_WATER_TOUCH,
  EV_WATER_LEAVE, EV_WATER_UNDER, EV_WATER_CLEAR, EV_ITEM_PICKUP,
  EV_GLOBAL_ITEM_PICKUP, EV_NOAMMO, EV_CHANGE_WEAPON, EV_FIRE_WEAPON,
  EV_USE_ITEM0, EV_USE_ITEM1, EV_USE_ITEM2, EV_USE_ITEM3,
  EV_USE_ITEM4, EV_USE_ITEM5, EV_USE_ITEM6, EV_USE_ITEM7,
  EV_USE_ITEM8, EV_USE_ITEM9, EV_USE_ITEM10, EV_USE_ITEM11,
  EV_USE_ITEM12, EV_USE_ITEM13, EV_USE_ITEM14, EV_USE_ITEM15,
  EV_ITEM_RESPAWN, EV_ITEM_POP, EV_PLAYER_TELEPORT_IN, EV_PLAYER_TELEPORT_OUT,
  EV_GRENADE_BOUNCE, EV_GENERAL_SOUND, EV_GLOBAL_SOUND, EV_GLOBAL_TEAM_SOUND,
  EV_BULLET_HIT_FLESH, EV_BULLET_HIT_WALL, EV_MISSILE_HIT, EV_MISSILE_MISS,
  EV_MISSILE_MISS_METAL, EV_RAILTRAIL, EV_SHOTGUN, EV_BULLET,
  EV_PAIN, EV_DEATH1, EV_DEATH2, EV_DEATH3,
  EV_OBITUARY, EV_POWERUP_QUAD, EV_POWERUP_BATTLESUIT, EV_POWERUP_REGEN,
  EV_GIB_PLAYER, EV_SCOREPLUM, EV_PROXIMITY_MINE_STICK, EV_PROXIMITY_MINE_TRIGGER,
  EV_KAMIKAZE, EV_OBELISKEXPLODE, EV_OBELISKPAIN, EV_INVUL_IMPACT,
  EV_JUICED, EV_LIGHTNINGBOLT, EV_DEBUG_LINE, EV_STOPLOOPINGSOUND,
  EV_TAUNT, EV_TAUNT_YES, EV_TAUNT_NO, EV_TAUNT_FOLLOWME,
  EV_TAUNT_GETFLAG, EV_TAUNT_GUARDBASE, EV_TAUNT_PATROL
}
enum  entityType_t {
  ET_GENERAL, ET_PLAYER, ET_ITEM, ET_MISSILE,
  ET_MOVER, ET_BEAM, ET_PORTAL, ET_SPEAKER,
  ET_PUSH_TRIGGER, ET_TELEPORT_TRIGGER, ET_INVISIBLE, ET_GRAPPLE,
  ET_TEAM, ET_EVENTS
}
enum  gametype_t {
  GT_FFA, GT_TOURNAMENT, GT_SINGLE_PLAYER, GT_TEAM,
  GT_CTF, GT_1FCTF, GT_OBELISK, GT_HARVESTER,
  GT_MAX_GAME_TYPE
}
enum  gender_t { GENDER_MALE, GENDER_FEMALE, GENDER_NEUTER }
enum  global_team_sound_t {
  GTS_RED_CAPTURE, GTS_BLUE_CAPTURE, GTS_RED_RETURN, GTS_BLUE_RETURN,
  GTS_RED_TAKEN, GTS_BLUE_TAKEN, GTS_REDOBELISK_ATTACKED, GTS_BLUEOBELISK_ATTACKED,
  GTS_REDTEAM_SCORED, GTS_BLUETEAM_SCORED, GTS_REDTEAM_TOOK_LEAD, GTS_BLUETEAM_TOOK_LEAD,
  GTS_TEAMS_ARE_TIED, GTS_KAMIKAZE
}
enum  holdable_t {
  HI_NONE, HI_TELEPORTER, HI_MEDKIT, HI_KAMIKAZE,
  HI_PORTAL, HI_INVULNERABILITY, HI_NUM_HOLDABLE
}
enum  itemType_t {
  IT_BAD, IT_WEAPON, IT_AMMO, IT_ARMOR,
  IT_HEALTH, IT_POWERUP, IT_HOLDABLE, IT_PERSISTANT_POWERUP,
  IT_TEAM
}
enum  meansOfDeath_t {
  MOD_UNKNOWN, MOD_SHOTGUN, MOD_GAUNTLET, MOD_MACHINEGUN,
  MOD_GRENADE, MOD_GRENADE_SPLASH, MOD_ROCKET, MOD_ROCKET_SPLASH,
  MOD_PLASMA, MOD_PLASMA_SPLASH, MOD_RAILGUN, MOD_LIGHTNING,
  MOD_BFG, MOD_BFG_SPLASH, MOD_WATER, MOD_SLIME,
  MOD_LAVA, MOD_CRUSH, MOD_TELEFRAG, MOD_FALLING,
  MOD_SUICIDE, MOD_TARGET_LASER, MOD_TRIGGER_HURT, MOD_GRAPPLE
}
enum  persEnum_t {
  PERS_SCORE, PERS_HITS, PERS_RANK, PERS_TEAM,
  PERS_SPAWN_COUNT, PERS_PLAYEREVENTS, PERS_ATTACKER, PERS_ATTACKEE_ARMOR,
  PERS_KILLED, PERS_IMPRESSIVE_COUNT, PERS_EXCELLENT_COUNT, PERS_DEFEND_COUNT,
  PERS_ASSIST_COUNT, PERS_GAUNTLET_FRAG_COUNT, PERS_CAPTURES
}
enum  pmtype_t {
  PM_NORMAL, PM_NOCLIP, PM_SPECTATOR, PM_DEAD,
  PM_FREEZE, PM_INTERMISSION, PM_SPINTERMISSION
}
enum  powerup_t {
  PW_NONE, PW_QUAD, PW_BATTLESUIT, PW_HASTE,
  PW_INVIS, PW_REGEN, PW_FLIGHT, PW_REDFLAG,
  PW_BLUEFLAG, PW_NEUTRALFLAG, PW_SCOUT, PW_GUARD,
  PW_DOUBLER, PW_AMMOREGEN, PW_INVULNERABILITY, PW_NUM_POWERUPS
}
enum  statIndex_t {
  STAT_HEALTH, STAT_HOLDABLE_ITEM, STAT_WEAPONS, STAT_ARMOR,
  STAT_DEAD_YAW, STAT_CLIENTS_READY, STAT_MAX_HEALTH
}
enum  team_t {
  TEAM_FREE, TEAM_RED, TEAM_BLUE, TEAM_SPECTATOR,
  TEAM_NUM_TEAMS
}
enum  teamtask_t {
  TEAMTASK_NONE, TEAMTASK_OFFENSE, TEAMTASK_DEFENSE, TEAMTASK_PATROL,
  TEAMTASK_FOLLOW, TEAMTASK_RETRIEVE, TEAMTASK_ESCORT, TEAMTASK_CAMP
}
enum  weapon_t {
  WP_NONE, WP_GAUNTLET, WP_MACHINEGUN, WP_SHOTGUN,
  WP_GRENADE_LAUNCHER, WP_ROCKET_LAUNCHER, WP_LIGHTNING, WP_RAILGUN,
  WP_PLASMAGUN, WP_BFG, WP_GRAPPLING_HOOK, WP_NUM_WEAPONS
}
enum  weaponstate_t { WEAPON_READY, WEAPON_RAISING, WEAPON_DROPPING, WEAPON_FIRING }

Functions

void BG_AddPredictableEventToPlayerstate (int newEvent, int eventParm, playerState_t *ps)
qboolean BG_CanItemBeGrabbed (int gametype, const entityState_t *ent, const playerState_t *ps)
void BG_EvaluateTrajectory (const trajectory_t *tr, int atTime, vec3_t result)
void BG_EvaluateTrajectoryDelta (const trajectory_t *tr, int atTime, vec3_t result)
gitem_tBG_FindItem (const char *pickupName)
gitem_tBG_FindItemForHoldable (holdable_t pw)
gitem_tBG_FindItemForPowerup (powerup_t pw)
gitem_tBG_FindItemForWeapon (weapon_t weapon)
void BG_PlayerStateToEntityState (playerState_t *ps, entityState_t *s, qboolean snap)
void BG_PlayerStateToEntityStateExtraPolate (playerState_t *ps, entityState_t *s, int time, qboolean snap)
qboolean BG_PlayerTouchesItem (playerState_t *ps, entityState_t *item, int atTime)
void BG_TouchJumpPad (playerState_t *ps, entityState_t *jumppad)
void PM_UpdateViewAngles (playerState_t *ps, const usercmd_t *cmd)
void Pmove (pmove_t *pmove)

Variables

gitem_t bg_itemlist []
int bg_numItems


Define Documentation

#define ANIM_TOGGLEBIT   128
 

Definition at line 541 of file bg_public.h.

#define ARENAS_PER_TIER   4
 

Definition at line 709 of file bg_public.h.

Referenced by UI_LoadArenas(), UI_SPLevelMenu_LevelEvent(), UI_SPLevelMenu_SetMenuItems(), and UI_SPPostgameMenu_MenuDraw().

#define ARMOR_PROTECTION   0.66
 

Definition at line 32 of file bg_public.h.

Referenced by CG_GetColorForHealth(), and CheckArmor().

#define CROUCH_VIEWHEIGHT   12
 

Definition at line 51 of file bg_public.h.

#define CS_BOTINFO   25
 

Definition at line 81 of file bg_public.h.

Referenced by BotSetInfoConfigString().

#define CS_FLAGSTATUS   23
 

Definition at line 79 of file bg_public.h.

Referenced by CG_SetConfigValues(), and Team_SetFlagStatus().

#define CS_GAME_VERSION   20
 

Definition at line 76 of file bg_public.h.

Referenced by CG_Init(), and SP_worldspawn().

#define CS_INTERMISSION   22
 

Definition at line 78 of file bg_public.h.

Referenced by LogExit().

#define CS_ITEMS   27
 

Definition at line 83 of file bg_public.h.

Referenced by CG_RegisterGraphics(), CG_RegisterSounds(), and SaveRegisteredItems().

#define CS_LEVEL_START_TIME   21
 

Definition at line 77 of file bg_public.h.

Referenced by CG_Init(), CG_SetConfigValues(), and SP_worldspawn().

#define CS_LOCATIONS   (CS_PLAYERS+MAX_CLIENTS)
 

Definition at line 88 of file bg_public.h.

Referenced by CG_DrawNewTeamInfo(), CG_DrawPlayerLocation(), CG_DrawSelectedPlayerLocation(), CG_DrawTeamOverlay(), and target_location_linkup().

#define CS_MAX   (CS_PARTICLES+MAX_LOCATIONS)
 

Definition at line 91 of file bg_public.h.

#define CS_MESSAGE   3
 

Definition at line 61 of file bg_public.h.

Referenced by CG_DrawInformation(), and SP_worldspawn().

#define CS_MODELS   32
 

Definition at line 85 of file bg_public.h.

#define CS_MOTD   4
 

Definition at line 62 of file bg_public.h.

Referenced by CG_DrawInformation(), CG_DrawOldTourneyScoreboard(), and SP_worldspawn().

#define CS_MUSIC   2
 

Definition at line 60 of file bg_public.h.

Referenced by CG_StartMusic(), and SP_worldspawn().

#define CS_PARTICLES   (CS_LOCATIONS+MAX_LOCATIONS)
 

Definition at line 89 of file bg_public.h.

#define CS_PLAYERS   (CS_SOUNDS+MAX_SOUNDS)
 

Definition at line 87 of file bg_public.h.

Referenced by BotFirstClientInRankings(), BotIsFirstInRankings(), BotIsLastInRankings(), BotIsObserver(), BotLastClientInRankings(), BotNumActivePlayers(), BotNumTeamMates(), BotRandomOpponentName(), BotSameTeam(), BotSortTeamMatesByBaseTravelTime(), BotTeam(), BotTeamOrders(), BotTeamplayReport(), BotUpdateInfoConfigStrings(), CG_ConfigStringModified(), CG_DrawAttacker(), CG_ForceModelChange(), CG_LoadingClient(), CG_NewClientInfo(), CG_Obituary(), CG_RegisterClients(), ClientDisconnect(), ClientFromName(), ClientName(), ClientOnSameTeamFromName(), ClientSkin(), ClientUserinfoChanged(), InGame_MenuInit(), NumPlayersOnSameTeam(), Prepname(), UI_BuildPlayerList(), UI_RemoveBotsMenu_GetBots(), UI_RemoveBotsMenu_SetBotNames(), UI_SPPostgameMenu_MenuDrawScoreLine(), UI_TeamOrdersMenu_BuildBotList(), and UI_TeamOrdersMenu_f().

#define CS_SCORES1   6
 

Definition at line 64 of file bg_public.h.

Referenced by CalculateRanks(), and CG_SetConfigValues().

#define CS_SCORES2   7
 

Definition at line 65 of file bg_public.h.

Referenced by CalculateRanks(), and CG_SetConfigValues().

#define CS_SHADERSTATE   24
 

Definition at line 80 of file bg_public.h.

Referenced by CG_ShaderStateChanged(), G_RemapTeamShaders(), and G_UseTargets().

#define CS_SOUNDS   (CS_MODELS+MAX_MODELS)
 

Definition at line 86 of file bg_public.h.

#define CS_TEAMVOTE_NO   18
 

Definition at line 74 of file bg_public.h.

Referenced by CG_ConfigStringModified(), Cmd_CallTeamVote_f(), and Cmd_TeamVote_f().

#define CS_TEAMVOTE_STRING   14
 

Definition at line 72 of file bg_public.h.

Referenced by CG_ConfigStringModified(), and Cmd_CallTeamVote_f().

#define CS_TEAMVOTE_TIME   12
 

Definition at line 71 of file bg_public.h.

Referenced by CG_ConfigStringModified(), CheckTeamVote(), and Cmd_CallTeamVote_f().

#define CS_TEAMVOTE_YES   16
 

Definition at line 73 of file bg_public.h.

Referenced by CG_ConfigStringModified(), Cmd_CallTeamVote_f(), and Cmd_TeamVote_f().

#define CS_VOTE_NO   11
 

Definition at line 69 of file bg_public.h.

Referenced by Cmd_CallVote_f(), and Cmd_Vote_f().

#define CS_VOTE_STRING   9
 

Definition at line 67 of file bg_public.h.

Referenced by Cmd_CallVote_f().

#define CS_VOTE_TIME   8
 

Definition at line 66 of file bg_public.h.

Referenced by CheckVote(), and Cmd_CallVote_f().

#define CS_VOTE_YES   10
 

Definition at line 68 of file bg_public.h.

Referenced by Cmd_CallVote_f(), and Cmd_Vote_f().

#define CS_WARMUP   5
 

Definition at line 63 of file bg_public.h.

Referenced by CG_ParseWarmup(), CG_SetConfigValues(), CheckTournament(), SP_worldspawn(), and SV_MapRestart_f().

#define DEAD_VIEWHEIGHT   -16
 

Definition at line 52 of file bg_public.h.

#define DEFAULT_GRAVITY   800
 

Definition at line 30 of file bg_public.h.

Referenced by BG_EvaluateTrajectory(), and BG_EvaluateTrajectoryDelta().

#define DEFAULT_SHOTGUN_COUNT   11
 

Definition at line 39 of file bg_public.h.

#define DEFAULT_SHOTGUN_SPREAD   700
 

Definition at line 38 of file bg_public.h.

Referenced by CG_ShotgunPattern(), and ShotgunPattern().

#define DEFAULT_VIEWHEIGHT   26
 

Definition at line 50 of file bg_public.h.

#define DF_FIXED_FOV   16
 

Definition at line 658 of file bg_public.h.

#define DF_NO_FALLING   8
 

Definition at line 657 of file bg_public.h.

#define DF_NO_FOOTSTEPS   32
 

Definition at line 659 of file bg_public.h.

#define EF_AWARD_ASSIST   0x00020000
 

Definition at line 262 of file bg_public.h.

Referenced by ClientThink_real(), player_die(), Team_FragBonuses(), Team_TouchOurFlag(), and weapon_railgun_fire().

#define EF_AWARD_CAP   0x00000800
 

Definition at line 256 of file bg_public.h.

#define EF_AWARD_DEFEND   0x00010000
 

Definition at line 261 of file bg_public.h.

Referenced by ClientThink_real(), player_die(), Team_FragBonuses(), Team_TouchOurFlag(), and weapon_railgun_fire().

#define EF_AWARD_DENIED   0x00040000
 

Definition at line 263 of file bg_public.h.

#define EF_AWARD_EXCELLENT   0x00000008
 

Definition at line 247 of file bg_public.h.

Referenced by ClientThink_real(), G_RankReward(), player_die(), Team_FragBonuses(), Team_TouchOurFlag(), and weapon_railgun_fire().

#define EF_AWARD_GAUNTLET   0x00000040
 

Definition at line 251 of file bg_public.h.

Referenced by ClientThink_real(), player_die(), Team_FragBonuses(), Team_TouchOurFlag(), and weapon_railgun_fire().

#define EF_AWARD_IMPRESSIVE   0x00008000
 

Definition at line 260 of file bg_public.h.

Referenced by ClientThink_real(), G_RankReward(), player_die(), Team_FragBonuses(), Team_TouchOurFlag(), and weapon_railgun_fire().

#define EF_BOUNCE   0x00000010
 

Definition at line 249 of file bg_public.h.

Referenced by G_MissileImpact().

#define EF_BOUNCE_HALF   0x00000020
 

Definition at line 250 of file bg_public.h.

#define EF_CONNECTION   0x00002000
 

Definition at line 258 of file bg_public.h.

#define EF_DEAD   0x00000001
 

Definition at line 242 of file bg_public.h.

#define EF_FIRING   0x00000100
 

Definition at line 253 of file bg_public.h.

#define EF_KAMIKAZE   0x00000200
 

Definition at line 254 of file bg_public.h.

#define EF_MOVER_STOP   0x00000400
 

Definition at line 255 of file bg_public.h.

#define EF_NODRAW   0x00000080
 

Definition at line 252 of file bg_public.h.

#define EF_PLAYER_EVENT   0x00000010
 

Definition at line 248 of file bg_public.h.

#define EF_TALK   0x00001000
 

Definition at line 257 of file bg_public.h.

#define EF_TEAMVOTED   0x00080000
 

Definition at line 264 of file bg_public.h.

#define EF_TELEPORT_BIT   0x00000004
 

Definition at line 246 of file bg_public.h.

Referenced by ClientSpawn().

#define EF_VOTED   0x00004000
 

Definition at line 259 of file bg_public.h.

Referenced by ClientSpawn(), and SpectatorClientEndFrame().

#define EV_EVENT_BIT1   0x00000100
 

Definition at line 341 of file bg_public.h.

#define EV_EVENT_BIT2   0x00000200
 

Definition at line 342 of file bg_public.h.

#define EV_EVENT_BITS   (EV_EVENT_BIT1|EV_EVENT_BIT2)
 

Definition at line 343 of file bg_public.h.

#define EVENT_VALID_MSEC   300
 

Definition at line 345 of file bg_public.h.

#define GAME_VERSION   "baseq3-1"
 

Definition at line 28 of file bg_public.h.

Referenced by CG_Init(), and SP_worldspawn().

#define GIB_HEALTH   -40
 

Definition at line 31 of file bg_public.h.

Referenced by body_die(), and player_die().

#define ITEM_INDEX  )     ((x)-bg_itemlist)
 

Definition at line 651 of file bg_public.h.

Referenced by CG_DrawFlagModel().

#define ITEM_RADIUS   15
 

Definition at line 41 of file bg_public.h.

Referenced by FinishSpawningItem(), and LaunchItem().

#define KAMI_BOOMSPHERE_MAXRADIUS   720
 

Definition at line 736 of file bg_public.h.

#define KAMI_BOOMSPHEREMODEL_RADIUS   72
 

Definition at line 733 of file bg_public.h.

#define KAMI_EXPLODE_STARTTIME   250
 

Definition at line 724 of file bg_public.h.

#define KAMI_IMPLODE_ENDTIME   2250
 

Definition at line 726 of file bg_public.h.

#define KAMI_IMPLODE_STARTTIME   2000
 

Definition at line 725 of file bg_public.h.

#define KAMI_SHOCKWAVE2_ENDTIME   3000
 

Definition at line 730 of file bg_public.h.

#define KAMI_SHOCKWAVE2_MAXRADIUS   704
 

Definition at line 737 of file bg_public.h.

#define KAMI_SHOCKWAVE2_STARTTIME   2000
 

Definition at line 728 of file bg_public.h.

#define KAMI_SHOCKWAVE2FADE_STARTTIME   2500
 

Definition at line 729 of file bg_public.h.

#define KAMI_SHOCKWAVE_ENDTIME   2000
 

Definition at line 722 of file bg_public.h.

#define KAMI_SHOCKWAVE_MAXRADIUS   1320
 

Definition at line 735 of file bg_public.h.

#define KAMI_SHOCKWAVE_STARTTIME   0
 

Definition at line 720 of file bg_public.h.

#define KAMI_SHOCKWAVEFADE_STARTTIME   1500
 

Definition at line 721 of file bg_public.h.

#define KAMI_SHOCKWAVEMODEL_RADIUS   88
 

Definition at line 732 of file bg_public.h.

#define LIGHTNING_RANGE   768
 

Definition at line 43 of file bg_public.h.

Referenced by CG_LightningBolt(), and Weapon_LightningFire().

#define MASK_ALL   (-1)
 

Definition at line 662 of file bg_public.h.

#define MASK_DEADSOLID   (CONTENTS_SOLID|CONTENTS_PLAYERCLIP)
 

Definition at line 665 of file bg_public.h.

#define MASK_OPAQUE   (CONTENTS_SOLID|CONTENTS_SLIME|CONTENTS_LAVA)
 

Definition at line 667 of file bg_public.h.

#define MASK_PLAYERSOLID   (CONTENTS_SOLID|CONTENTS_PLAYERCLIP|CONTENTS_BODY)
 

Definition at line 664 of file