cgs_t Struct Reference

#include <cg_local.h>


Data Fields

gameState_t gameState
glconfig_t glconfig
float screenXScale
float screenYScale
float screenXBias
int serverCommandSequence
int processedSnapshotNum
qboolean localServer
int siegeTeamSwitch
int showDuelHealths
gametype_t gametype
int debugMelee
int stepSlideFix
int noSpecMove
int dmflags
int teamflags
int fraglimit
int duel_fraglimit
int capturelimit
int timelimit
int maxclients
qboolean needpass
qboolean jediVmerc
int wDisable
int fDisable
char mapname [MAX_QPATH]
int voteTime
int voteYes
int voteNo
qboolean voteModified
char voteString [MAX_STRING_TOKENS]
int teamVoteTime [2]
int teamVoteYes [2]
int teamVoteNo [2]
qboolean teamVoteModified [2]
char teamVoteString [2][MAX_STRING_TOKENS]
int levelStartTime
int scores1
int scores2
int jediMaster
int duelWinner
int duelist1
int duelist2
int duelist3
int duelist1health
int duelist2health
int duelist3health
int redflag
int blueflag
int flagStatus
qboolean newHud
qhandle_t gameModels [MAX_MODELS]
sfxHandle_t gameSounds [MAX_SOUNDS]
fxHandle_t gameEffects [MAX_FX]
qhandle_t gameIcons [MAX_ICONS]
int numInlineModels
qhandle_t inlineDrawModel [MAX_MODELS]
vec3_t inlineModelMidpoints [MAX_MODELS]
clientInfo_t clientinfo [MAX_CLIENTS]
int cursorX
int cursorY
qboolean eventHandling
qboolean mouseCaptured
qboolean sizingHud
void * capturedItem
qhandle_t activeCursor
cgMedia_t media
cgEffects_t effects


Field Documentation

qhandle_t cgs_t::activeCursor
 

Definition at line 1601 of file cg_local.h.

Referenced by CG_MouseEvent().

int cgs_t::blueflag
 

Definition at line 1576 of file cg_local.h.

Referenced by CG_Init(), CG_OtherTeamHasFlag(), CG_OwnerDrawVisible(), CG_SetConfigValues(), and CG_YourTeamHasFlag().

void* cgs_t::capturedItem
 

Definition at line 1600 of file cg_local.h.

Referenced by CG_KeyEvent(), and CG_MouseEvent().

int cgs_t::capturelimit
 

Definition at line 1539 of file cg_local.h.

Referenced by CG_ParseServerinfo().

clientInfo_t cgs_t::clientinfo[MAX_CLIENTS]
 

Definition at line 1593 of file cg_local.h.

Referenced by BG_MySaber(), CG_ActualLoadDeferredPlayers(), CG_AddSaberBlade(), CG_AddViewWeapon(), CG_BracketEntity(), CG_BuildSpectatorString(), CG_CheckPlayerG2Weapons(), CG_ClientNumFromName(), CG_CopyG2WeaponInstance(), CG_CustomSound(), CG_DrawActiveFrame(), CG_DrawAutoMap(), CG_DrawHead(), CG_DrawNewTeamInfo(), CG_DrawOldScoreboard(), CG_DrawRadar(), CG_DrawSiegeInfo(), CG_EntityEvent(), CG_G2PlayerHeadAnims(), CG_G2WeaponInstance(), CG_GetClassCount(), CG_GetCTFMessageEvent(), CG_GetTeamCount(), CG_GetTeamNonScoreCount(), CG_GetValue(), CG_LoadClientInfo(), CG_NewClientInfo(), CG_Player(), CG_PlayerAnimEventDo(), CG_PredictPlayerState(), CG_ReattachLimb(), CG_ResetPlayerEntity(), CG_SaberCompWork(), and CG_SetInitialSnapshot().

int cgs_t::cursorX
 

Definition at line 1595 of file cg_local.h.

Referenced by CG_KeyEvent(), CG_MouseEvent(), and vmMain().

int cgs_t::cursorY
 

Definition at line 1596 of file cg_local.h.

Referenced by CG_KeyEvent(), CG_MouseEvent(), and vmMain().

int cgs_t::debugMelee
 

Definition at line 1532 of file cg_local.h.

Referenced by CG_ParseServerinfo(), and CG_PredictPlayerState().

int cgs_t::dmflags
 

Definition at line 1535 of file cg_local.h.

Referenced by CG_ParseServerinfo(), and CG_PredictPlayerState().

int cgs_t::duel_fraglimit
 

Definition at line 1538 of file cg_local.h.

Referenced by CG_ParseServerinfo().

int cgs_t::duelist1
 

Definition at line 1568 of file cg_local.h.

Referenced by CG_DrawOldScoreboard(), and CG_SetConfigValues().

int cgs_t::duelist1health
 

Definition at line 1572 of file cg_local.h.

Referenced by CG_DrawDuelistHealth().

int cgs_t::duelist2
 

Definition at line 1569 of file cg_local.h.

Referenced by CG_DrawOldScoreboard(), and CG_SetConfigValues().

int cgs_t::duelist2health
 

Definition at line 1573 of file cg_local.h.

Referenced by CG_DrawDuelistHealth().

int cgs_t::duelist3
 

Definition at line 1570 of file cg_local.h.

Referenced by CG_DrawOldScoreboard().

int cgs_t::duelist3health
 

Definition at line 1574 of file cg_local.h.

int cgs_t::duelWinner
 

Definition at line 1567 of file cg_local.h.

Referenced by CG_DrawOldScoreboard(), and CG_SetConfigValues().

cgEffects_t cgs_t::effects
 

Definition at line 1607 of file cg_local.h.

Referenced by CG_AddSaberBlade(), CG_Disintegration(), CG_EntityEvent(), CG_G2Animated(), CG_G2SaberEffects(), CG_MissileHitPlayer(), CG_MissileHitWall(), CG_Player(), CG_RegisterWeapon(), CG_SaberCompWork(), FX_BlasterAltFireThink(), FX_BlasterProjectileThink(), FX_BlasterWeaponHitPlayer(), FX_BlasterWeaponHitWall(), FX_BowcasterAltProjectileThink(), FX_BowcasterHitPlayer(), FX_BowcasterHitWall(), FX_BowcasterProjectileThink(), FX_BryarAltHitPlayer(), FX_BryarAltHitWall(), FX_BryarAltProjectileThink(), FX_BryarHitPlayer(), FX_BryarHitWall(), FX_BryarProjectileThink(), FX_ConcussionHitPlayer(), FX_ConcussionHitWall(), FX_ConcussionProjectileThink(), FX_DEMP2_HitPlayer(), FX_DEMP2_HitWall(), FX_DEMP2_ProjectileThink(), FX_DisruptorAltHit(), FX_DisruptorAltMiss(), FX_DisruptorHitPlayer(), FX_DisruptorHitWall(), FX_FlechetteAltProjectileThink(), FX_FlechetteProjectileThink(), FX_FlechetteWeaponHitPlayer(), FX_FlechetteWeaponHitWall(), FX_ForceDrained(), FX_RepeaterAltHitPlayer(), FX_RepeaterAltHitWall(), FX_RepeaterAltProjectileThink(), FX_RepeaterHitPlayer(), FX_RepeaterHitWall(), FX_RepeaterProjectileThink(), FX_RocketAltProjectileThink(), FX_RocketHitPlayer(), FX_RocketHitWall(), FX_RocketProjectileThink(), FX_TurretHitPlayer(), FX_TurretHitWall(), FX_TurretProjectileThink(), and TurretClientRun().

qboolean cgs_t::eventHandling
 

Definition at line 1597 of file cg_local.h.

Referenced by CG_EventHandling().

int cgs_t::fDisable
 

Definition at line 1545 of file cg_local.h.

Referenced by CG_ParseServerinfo().

int cgs_t::flagStatus
 

Definition at line 1577 of file cg_local.h.

Referenced by CG_Init(), and CG_OwnerDrawVisible().

int cgs_t::fraglimit
 

Definition at line 1537 of file cg_local.h.

Referenced by CG_CheckLocalSounds(), CG_DrawHUD(), and CG_ParseServerinfo().

fxHandle_t cgs_t::gameEffects[MAX_FX]
 

Definition at line 1586 of file cg_local.h.

Referenced by CG_EntityEvent().

qhandle_t cgs_t::gameIcons[MAX_ICONS]
 

Definition at line 1587 of file cg_local.h.

Referenced by CG_DrawRadar().

qhandle_t cgs_t::gameModels[MAX_MODELS]
 

Definition at line 1584 of file cg_local.h.

Referenced by CG_AddPlayerWeapon(), CG_AddSaberBlade(), CG_Chunks(), CG_Disintegration(), CG_EntityEvent(), CG_G2ServerBoneAngles(), CG_GetClientWeaponMuzzleBoltPoint(), CG_Player(), CG_PlayerAnimEventDo(), CG_RagDoll(), CG_TriggerAnimSounds(), CG_VehicleAttachDroidUnit(), G2_BoltToGhoul2Model(), TurretClientRun(), and vmMain().

sfxHandle_t cgs_t::gameSounds[MAX_SOUNDS]
 

Definition at line 1585 of file cg_local.h.

Referenced by CG_EntityEvent().

gameState_t cgs_t::gameState
 

Definition at line 1517 of file cg_local.h.

Referenced by CG_ConfigString(), and CG_Init().

gametype_t cgs_t::gametype
 

Definition at line 1531 of file cg_local.h.

Referenced by CG_AddSaberBlade(), CG_BracketEntity(), CG_CheckLocalSounds(), CG_CustomSound(), CG_DrawActiveFrame(), CG_DrawAutoMap(), CG_DrawFlagStatus(), CG_DrawHealthBar(), CG_DrawHUD(), CG_DrawInformation(), CG_DrawOldScoreboard(), CG_EntityEvent(), CG_GameTypeString(), CG_GetGameStatusText(), CG_InitSiegeMode(), CG_LoadCISounds(), CG_LoadClientInfo(), CG_NewClientInfo(), CG_OtherTeamHasFlag(), CG_OwnerDrawVisible(), CG_ParseServerinfo(), CG_Player(), CG_PredictPlayerState(), CG_RegisterItemVisuals(), CG_SetConfigValues(), CG_SetScoreSelection(), and CG_YourTeamHasFlag().

glconfig_t cgs_t::glconfig
 

Definition at line 1518 of file cg_local.h.

Referenced by CG_AddSaberBlade(), CG_DoSaber(), CG_Init(), CG_Player(), and CG_TileClear().

qhandle_t cgs_t::inlineDrawModel[MAX_MODELS]
 

Definition at line 1590 of file cg_local.h.

Referenced by CG_GlassShatter().

vec3_t cgs_t::inlineModelMidpoints[MAX_MODELS]
 

Definition at line 1591 of file cg_local.h.

Referenced by CG_PlayDoorLoopSound(), CG_S_UpdateLoopingSounds(), and CG_SetEntitySoundPosition().

int cgs_t::jediMaster
 

Definition at line 1566 of file cg_local.h.

Referenced by CG_SetConfigValues().

qboolean cgs_t::jediVmerc
 

Definition at line 1543 of file cg_local.h.

Referenced by CG_AddSaberBlade(), CG_NewClientInfo(), and CG_ParseServerinfo().

int cgs_t::levelStartTime
 

Definition at line 1563 of file cg_local.h.

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

qboolean cgs_t::localServer
 

Definition at line 1526 of file cg_local.h.

Referenced by CG_RegisterCvars().

char cgs_t::mapname[MAX_QPATH]
 

Definition at line 1547 of file cg_local.h.

Referenced by CG_Init(), CG_InitSiegeMode(), and CG_ParseServerinfo().

int cgs_t::maxclients
 

Definition at line 1541 of file cg_local.h.

Referenced by CG_ActualLoadDeferredPlayers(), CG_ClientNumFromName(), CG_GetClassCount(), CG_GetTeamNonScoreCount(), and CG_ParseServerinfo().

cgMedia_t cgs_t::media
 

Definition at line 1604 of file cg_local.h.

Referenced by CG_AddPlayerWeapon(), CG_AddSaberBlade(), CG_AddScorePlum(), CG_BracketEntity(), CG_CheckAmmo(), CG_CheckLocalSounds(), CG_Chunks(), CG_CreateDistortionTrailPart(), CG_CreateSaberMarks(), CG_Cube(), CG_Disintegration(), CG_DoSaber(), CG_DottedLine(), CG_DrawAutoMap(), CG_DrawChar(), CG_DrawFlagModel(), CG_DrawForcePower(), CG_DrawForceSelect(), CG_DrawHaqrBar(), CG_DrawHead(), CG_DrawInvenSelect(), CG_DrawNewTeamInfo(), CG_DrawNumField(), CG_DrawPlayerShield(), CG_DrawPlayerSphere(), CG_DrawRadar(), CG_DrawSides(), CG_DrawTopBottom(), CG_DrawVehicleTurboRecharge(), CG_DrawVehicleWeaponsLinked(), CG_DrawWeaponSelect(), CG_EntityEvent(), CG_FillRect(), CG_FillRect2(), CG_FragmentBounceSound(), CG_G2AnimEntModelLoad(), CG_G2MarkEvent(), CG_Init(), CG_LoadBar(), CG_MouseEvent(), CG_Player(), CG_RegisterWeapon(), CG_SaberCompWork(), CG_StatusHandle(), CG_SurfaceExplosion(), CG_TestLine(), CG_TileClear(), CG_ToggleBinoculars(), DoFall(), and FX_DEMP2_AltDetonate().

qboolean cgs_t::mouseCaptured
 

Definition at line 1598 of file cg_local.h.

qboolean cgs_t::needpass
 

Definition at line 1542 of file cg_local.h.

Referenced by CG_ParseServerinfo().

qboolean cgs_t::newHud
 

Definition at line 1579 of file cg_local.h.

int cgs_t::noSpecMove
 

Definition at line 1534 of file cg_local.h.

Referenced by CG_ParseServerinfo(), and CG_PredictPlayerState().

int cgs_t::numInlineModels
 

Definition at line 1589 of file cg_local.h.

int cgs_t::processedSnapshotNum
 

Definition at line 1524 of file cg_local.h.

Referenced by CG_Init().

int cgs_t::redflag
 

Definition at line 1576 of file cg_local.h.

Referenced by CG_Init(), CG_OtherTeamHasFlag(), CG_OwnerDrawVisible(), CG_SetConfigValues(), and CG_YourTeamHasFlag().

int cgs_t::scores1
 

Definition at line 1565 of file cg_local.h.

Referenced by CG_CheckLocalSounds(), CG_DrawHUD(), CG_GetValue(), and CG_SetConfigValues().

int cgs_t::scores2
 

Definition at line 1565 of file cg_local.h.

Referenced by CG_DrawHUD(), CG_GetValue(), and CG_SetConfigValues().

float cgs_t::screenXBias
 

Definition at line 1521 of file cg_local.h.

float cgs_t::screenXScale
 

Definition at line 1519 of file cg_local.h.

Referenced by CG_DrawSides(), and CG_Init().

float cgs_t::screenYScale
 

Definition at line 1520 of file cg_local.h.

Referenced by CG_DrawTopBottom(), and CG_Init().

int cgs_t::serverCommandSequence
 

Definition at line 1523 of file cg_local.h.

Referenced by CG_Init().

int cgs_t::showDuelHealths
 

Definition at line 1530 of file cg_local.h.

Referenced by CG_ParseServerinfo().

int cgs_t::siegeTeamSwitch
 

Definition at line 1529 of file cg_local.h.

Referenced by CG_ParseServerinfo().

qboolean cgs_t::sizingHud
 

Definition at line 1599 of file cg_local.h.

int cgs_t::stepSlideFix
 

Definition at line 1533 of file cg_local.h.

Referenced by CG_ParseServerinfo(), and CG_PredictPlayerState().

int cgs_t::teamflags
 

Definition at line 1536 of file cg_local.h.

Referenced by CG_ParseServerinfo().

qboolean cgs_t::teamVoteModified[2]
 

Definition at line 1560 of file cg_local.h.

int cgs_t::teamVoteNo[2]
 

Definition at line 1559 of file cg_local.h.

char cgs_t::teamVoteString[2][MAX_STRING_TOKENS]
 

Definition at line 1561 of file cg_local.h.

int cgs_t::teamVoteTime[2]
 

Definition at line 1557 of file cg_local.h.

int cgs_t::teamVoteYes[2]
 

Definition at line 1558 of file cg_local.h.

int cgs_t::timelimit
 

Definition at line 1540 of file cg_local.h.

Referenced by CG_CheckLocalSounds(), and CG_ParseServerinfo().

qboolean cgs_t::voteModified
 

Definition at line 1554 of file cg_local.h.

int cgs_t::voteNo
 

Definition at line 1553 of file cg_local.h.

char cgs_t::voteString[MAX_STRING_TOKENS]
 

Definition at line 1555 of file cg_local.h.

int cgs_t::voteTime
 

Definition at line 1551 of file cg_local.h.

int cgs_t::voteYes
 

Definition at line 1552 of file cg_local.h.

int cgs_t::wDisable
 

Definition at line 1544 of file cg_local.h.

Referenced by CG_ParseServerinfo().


The documentation for this struct was generated from the following file: