centity_s Struct Reference

#include <cg_local.h>


Data Fields

entityState_t currentState
playerState_tplayerState
Vehicle_tm_pVehicle
void * ghoul2
int localAnimIndex
vec3_t modelScale
entityState_t nextState
qboolean interpolate
qboolean currentValid
int muzzleFlashTime
int previousEvent
int trailTime
int dustTrailTime
int miscTime
vec3_t damageAngles
int damageTime
int snapShotTime
playerEntity_t pe
vec3_t rawAngles
vec3_t beamEnd
vec3_t lerpOrigin
vec3_t lerpAngles
vec3_t ragLastOrigin
int ragLastOriginTime
qboolean noLumbar
qboolean noFace
int npcLocalSurfOn
int npcLocalSurfOff
int eventAnimIndex
clientInfo_tnpcClient
int weapon
void * ghoul2weapon
float radius
int boltInfo
int bolt1
int bolt2
int bolt3
int bolt4
float bodyHeight
int torsoBolt
vec3_t turAngles
vec3_t frame_minus1
vec3_t frame_minus2
int frame_minus1_refreshed
int frame_minus2_refreshed
void * frame_hold
int frame_hold_time
int frame_hold_refreshed
void * grip_arm
int trickAlpha
int trickAlphaTime
int teamPowerEffectTime
qboolean teamPowerType
qboolean isRagging
qboolean ownerRagging
int overridingBones
int bodyFadeTime
vec3_t pushEffectOrigin
cgLoopSound_t loopingSound [MAX_CG_LOOPSOUNDS]
int numLoopingSounds
int serverSaberHitIndex
int serverSaberHitTime
qboolean serverSaberFleshImpact
qboolean ikStatus
qboolean saberWasInFlight
float smoothYaw
int uncloaking
qboolean cloaked
int vChatTime


Field Documentation

vec3_t centity_s::beamEnd
 

Definition at line 372 of file cg_local.h.

Referenced by CG_Player(), and CG_ResetPlayerEntity().

int centity_s::bodyFadeTime
 

Definition at line 442 of file cg_local.h.

Referenced by CG_EntityEvent(), and CG_Player().

float centity_s::bodyHeight
 

Definition at line 413 of file cg_local.h.

Referenced by CG_AddPacketEntities(), and CG_EntityEvent().

int centity_s::bolt1
 

Definition at line 408 of file cg_local.h.

Referenced by CG_EntityEvent().

int centity_s::bolt2
 

Definition at line 409 of file cg_local.h.

Referenced by CG_EntityEvent(), and CG_Player().

int centity_s::bolt3
 

Definition at line 410 of file cg_local.h.

Referenced by CG_EntityEvent(), and CG_Player().

int centity_s::bolt4
 

Definition at line 411 of file cg_local.h.

Referenced by CG_EntityEvent(), and TurretClientRun().

int centity_s::boltInfo
 

Definition at line 404 of file cg_local.h.

Referenced by CG_EntityEvent(), and G2_BoltToGhoul2Model().

qboolean centity_s::cloaked
 

Definition at line 459 of file cg_local.h.

Referenced by CG_Player().

entityState_t centity_s::currentState
 

Definition at line 336 of file cg_local.h.

Referenced by CG_AddBracketedEnt(), CG_AddPacketEntities(), CG_AddPlayerWeapon(), CG_AddRadarEnt(), CG_AddSaberBlade(), CG_AddViewWeapon(), CG_AdjustPositionForMover(), CG_Beam(), CG_BracketEntity(), CG_BuildSolidList(), CG_CalcEntityLerpPositions(), CG_CalcMuzzlePoint(), CG_CheckChangedPredictableEvents(), CG_CheckEvents(), CG_CheckPlayerG2Weapons(), CG_CheckPlayerstateEvents(), CG_CheckTargetVehicle(), CG_CheckThirdPersonAlpha(), CG_CopyG2WeaponInstance(), CG_Disintegration(), CG_DrawActiveFrame(), CG_DrawEWebHealth(), CG_DrawHealthBar(), CG_DrawHUD(), CG_DrawPlayerShield(), CG_DrawPlayerSphere(), CG_DrawRadar(), CG_DrawSiegeInfo(), CG_DrawVehicleHud(), CG_EntityEvent(), CG_FireWeapon(), CG_G2Animated(), CG_G2AnimEntModelLoad(), CG_G2PlayerHeadAnims(), CG_G2SaberEffects(), CG_G2ServerBoneAngles(), CG_G2TraceCollide(), CG_G2WeaponInstance(), CG_GetValue(), CG_GlassShatter(), CG_InRoll(), CG_InRollAnim(), CG_LoadClientInfo(), CG_NewClientInfo(), CG_PainEvent(), CG_ParseSiegeExtendedDataEntry(), CG_Particle_OilParticle(), CG_Particle_OilSlick(), CG_ParticleSmoke(), CG_ParticleSnowFlurry(), CG_PlayDoorLoopSound(), CG_PlayDoorSound(), CG_Player(), CG_PlayerAnimEventDo(), CG_PlayerAnimEvents(), CG_PlayerHitFX(), CG_PointContents(), CG_PredictPlayerState(), CG_RadiusForCent(), CG_RagDoll(), CG_ReattachLimb(), CG_ResetPlayerEntity(), CG_ROFF_NotetrackCallback(), CG_S_UpdateLoopingSounds(), CG_SaberCompWork(), CG_SetEntitySoundPosition(), CG_SetInitialSnapshot(), CG_SnowLink(), CG_Special(), CG_ThereIsAMaster(), CG_ToggleBinoculars(), CG_TransitionPermanent(), CG_TriggerAnimSounds(), CG_UpdateSoundTrackers(), CG_VehicleAttachDroidUnit(), CG_VehicleShouldDrawShields(), CG_VehicleWeaponImpact(), CG_VehMuzzleFireFX(), DoFall(), FX_BlasterAltFireThink(), FX_BlasterProjectileThink(), FX_BowcasterAltProjectileThink(), FX_BowcasterProjectileThink(), FX_BryarAltProjectileThink(), FX_BryarProjectileThink(), FX_ConcussionProjectileThink(), FX_DEMP2_ProjectileThink(), FX_DrawPortableShield(), FX_FlechetteAltProjectileThink(), FX_FlechetteProjectileThink(), FX_RepeaterAltProjectileThink(), FX_RepeaterProjectileThink(), FX_RocketAltProjectileThink(), FX_RocketProjectileThink(), FX_TurretProjectileThink(), G2_BoltToGhoul2Model(), and TurretClientRun().

qboolean centity_s::currentValid
 

Definition at line 347 of file cg_local.h.

Referenced by CG_AddPacketEntities(), CG_BuildSolidList(), CG_CalcMuzzlePoint(), CG_SetInitialSnapshot(), and CG_TransitionPermanent().

vec3_t centity_s::damageAngles
 

Definition at line 357 of file cg_local.h.

Referenced by CG_DrawPlayerShield(), and CG_PlayerShieldHit().

int centity_s::damageTime
 

Definition at line 358 of file cg_local.h.

Referenced by CG_DrawPlayerShield(), CG_DrawVehicleDamageHUD(), CG_PlayerHitFX(), CG_PlayerShieldHit(), and CG_VehicleShouldDrawShields().

int centity_s::dustTrailTime
 

Definition at line 354 of file cg_local.h.

Referenced by CG_Disintegration(), CG_Player(), and TurretClientRun().

int centity_s::eventAnimIndex
 

Definition at line 395 of file cg_local.h.

Referenced by CG_G2AnimEntModelLoad(), CG_LoadClientInfo(), CG_NewClientInfo(), CG_Player(), CG_ResetPlayerEntity(), and CG_TriggerAnimSounds().

void* centity_s::frame_hold
 

Definition at line 425 of file cg_local.h.

Referenced by CG_Player().

int centity_s::frame_hold_refreshed
 

Definition at line 428 of file cg_local.h.

Referenced by CG_EntityEvent(), and CG_Player().

int centity_s::frame_hold_time
 

Definition at line 427 of file cg_local.h.

Referenced by CG_EntityEvent(), and CG_Player().

vec3_t centity_s::frame_minus1
 

Definition at line 419 of file cg_local.h.

Referenced by CG_Player().

int centity_s::frame_minus1_refreshed
 

Definition at line 422 of file cg_local.h.

Referenced by CG_EntityEvent(), CG_Player(), and TurretClientRun().

vec3_t centity_s::frame_minus2
 

Definition at line 420 of file cg_local.h.

Referenced by CG_Player().

int centity_s::frame_minus2_refreshed
 

Definition at line 423 of file cg_local.h.

Referenced by CG_EntityEvent(), and CG_Player().

void* centity_s::ghoul2
 

Definition at line 339 of file cg_local.h.

Referenced by CG_AddPlayerWeapon(), CG_AddSaberBlade(), CG_CalcEWebMuzzlePoint(), CG_CalcVehMuzzle(), CG_CheckPassengerTurretView(), CG_CheckPlayerG2Weapons(), CG_Disintegration(), CG_EntityEvent(), CG_G2Animated(), CG_G2AnimEntModelLoad(), CG_G2MarkEvent(), CG_G2ServerBoneAngles(), CG_G2TraceCollide(), CG_GetClientWeaponMuzzleBoltPoint(), CG_LoadClientInfo(), CG_NewClientInfo(), CG_Player(), CG_PlayerAnimEventDo(), CG_PredictPlayerState(), CG_RagDoll(), CG_ReattachLimb(), CG_ResetPlayerEntity(), CG_SaberCompWork(), CG_SetGhoul2Info(), CG_TriggerAnimSounds(), CG_VehicleAttachDroidUnit(), CG_VehMuzzleFireFX(), G2_BoltToGhoul2Model(), TurretClientRun(), and vmMain().

void* centity_s::ghoul2weapon
 

Definition at line 401 of file cg_local.h.

Referenced by CG_CheckPlayerG2Weapons(), CG_EntityEvent(), CG_NewClientInfo(), CG_Player(), CG_ReattachLimb(), and CG_ResetPlayerEntity().

void* centity_s::grip_arm
 

Definition at line 430 of file cg_local.h.

qboolean centity_s::ikStatus
 

Definition at line 452 of file cg_local.h.

Referenced by CG_RagDoll().

qboolean centity_s::interpolate
 

Definition at line 346 of file cg_local.h.

Referenced by CG_CalcEntityLerpPositions(), and CG_SetInitialSnapshot().

qboolean centity_s::isRagging
 

Definition at line 438 of file cg_local.h.

Referenced by CG_CalcEntityLerpPositions(), CG_Player(), and CG_RagDoll().

vec3_t centity_s::lerpAngles
 

Definition at line 376 of file cg_local.h.

Referenced by CG_CalcEntityLerpPositions(), CG_CalcEWebMuzzlePoint(), CG_CalcMuzzlePoint(), CG_CalcVehicleMuzzlePoint(), CG_CalcVehMuzzle(), CG_CheckPassengerTurretView(), CG_CreateDistortionTrailPart(), CG_Disintegration(), CG_DrawRadar(), CG_G2Animated(), CG_G2MarkEvent(), CG_G2TraceCollide(), CG_Player(), CG_PlayerAnimEventDo(), CG_PredictPlayerState(), CG_RagDoll(), CG_ResetPlayerEntity(), CG_ROFF_NotetrackCallback(), CG_SaberCompWork(), CG_SetGhoul2Info(), CG_TransitionPermanent(), and CG_VehicleAttachDroidUnit().

vec3_t centity_s::lerpOrigin
 

Definition at line 375 of file cg_local.h.

Referenced by CG_AddPlayerWeapon(), CG_AddSaberBlade(), CG_BracketEntity(), CG_BuildSolidList(), CG_CalcEntityLerpPositions(), CG_CalcEWebMuzzlePoint(), CG_CalcMuzzlePoint(), CG_CalcVehicleMuzzlePoint(), CG_CalcVehMuzzle(), CG_CheckChangedPredictableEvents(), CG_CheckEvents(), CG_CheckPassengerTurretView(), CG_CheckPlayerG2Weapons(), CG_CheckPlayerstateEvents(), CG_Disintegration(), CG_DrawRadar(), CG_EntityEvent(), CG_G2MarkEvent(), CG_G2TraceCollide(), CG_GetClientWeaponMuzzleBoltPoint(), CG_PlayDoorLoopSound(), CG_Player(), CG_PlayerAnimEventDo(), CG_PlayerHitFX(), CG_PredictPlayerState(), CG_RagDoll(), CG_ResetPlayerEntity(), CG_ROFF_NotetrackCallback(), CG_S_UpdateLoopingSounds(), CG_SaberCompWork(), CG_SetEntitySoundPosition(), CG_TransitionPermanent(), CG_UpdateSoundTrackers(), CG_VehicleAttachDroidUnit(), CG_VehicleWeaponImpact(), FX_BlasterAltFireThink(), FX_BlasterProjectileThink(), FX_BowcasterAltProjectileThink(), FX_BowcasterProjectileThink(), FX_BryarAltProjectileThink(), FX_BryarProjectileThink(), FX_ConcussionProjectileThink(), FX_DEMP2_ProjectileThink(), FX_DrawPortableShield(), FX_FlechetteAltProjectileThink(), FX_FlechetteProjectileThink(), FX_RepeaterAltProjectileThink(), FX_RepeaterProjectileThink(), FX_RocketAltProjectileThink(), FX_RocketProjectileThink(), FX_TurretProjectileThink(), and TurretClientRun().

int centity_s::localAnimIndex
 

Definition at line 340 of file cg_local.h.

Referenced by CG_G2Animated(), CG_G2AnimEntModelLoad(), CG_G2PlayerHeadAnims(), CG_LoadClientInfo(), CG_NewClientInfo(), CG_Player(), CG_PredictPlayerState(), CG_RagDoll(), CG_ResetPlayerEntity(), and CG_TriggerAnimSounds().

cgLoopSound_t centity_s::loopingSound[MAX_CG_LOOPSOUNDS]
 

Definition at line 445 of file cg_local.h.

Referenced by CG_S_AddLoopingSound(), CG_S_StopLoopingSound(), and CG_S_UpdateLoopingSounds().

Vehicle_t* centity_s::m_pVehicle
 

Definition at line 338 of file cg_local.h.

Referenced by CG_BracketEntity(), CG_CalcVehicleMuzzlePoint(), CG_CheckPassengerTurretView(), CG_CheckTargetVehicle(), CG_CheckThirdPersonAlpha(), CG_DrawActiveFrame(), CG_DrawRadar(), CG_DrawVehicleAmmo(), CG_DrawVehicleAmmoLower(), CG_DrawVehicleAmmoUpper(), CG_DrawVehicleArmor(), CG_DrawVehicleDamage(), CG_DrawVehicleDamageHUD(), CG_DrawVehicleHud(), CG_DrawVehicleShields(), CG_DrawVehicleSpeed(), CG_DrawVehicleTurboRecharge(), CG_DrawVehicleWeaponsLinked(), CG_EntityEvent(), CG_G2AnimEntModelLoad(), CG_G2TraceCollide(), CG_InATST(), CG_InFighter(), CG_Player(), CG_PredictPlayerState(), CG_RadiusForCent(), CG_ResetPlayerEntity(), CG_SaberCompWork(), CG_VehicleAttachDroidUnit(), CG_VehicleShouldDrawShields(), and CG_VehMuzzleFireFX().

int centity_s::miscTime
 

Definition at line 355 of file cg_local.h.

Referenced by CG_EntityEvent(), and CG_Player().

vec3_t centity_s::modelScale
 

Definition at line 341 of file cg_local.h.

Referenced by CG_AddPlayerWeapon(), CG_AddSaberBlade(), CG_CalcEWebMuzzlePoint(), CG_CalcVehMuzzle(), CG_CheckPassengerTurretView(), CG_Disintegration(), CG_EntityEvent(), CG_G2MarkEvent(), CG_G2TraceCollide(), CG_GetClientWeaponMuzzleBoltPoint(), CG_Player(), CG_PlayerAnimEventDo(), CG_PredictPlayerState(), CG_RagDoll(), CG_SaberCompWork(), CG_SetGhoul2Info(), CG_VehicleAttachDroidUnit(), G2_BoltToGhoul2Model(), and TurretClientRun().

int centity_s::muzzleFlashTime
 

Definition at line 349 of file cg_local.h.

Referenced by CG_AddPlayerWeapon(), and CG_FireWeapon().

entityState_t centity_s::nextState
 

Definition at line 345 of file cg_local.h.

Referenced by CG_BuildSolidList(), CG_CalcEntityLerpPositions(), CG_PlayerAnimEvents(), CG_TransitionPermanent(), and vmMain().

qboolean centity_s::noFace
 

Definition at line 389 of file cg_local.h.

Referenced by CG_G2AnimEntModelLoad(), CG_G2PlayerHeadAnims(), CG_LoadClientInfo(), CG_NewClientInfo(), CG_Player(), and CG_ResetPlayerEntity().

qboolean centity_s::noLumbar
 

Definition at line 388 of file cg_local.h.

Referenced by CG_G2AnimEntModelLoad(), CG_Player(), and CG_TriggerAnimSounds().

clientInfo_t* centity_s::npcClient
 

Definition at line 397 of file cg_local.h.

Referenced by BG_MySaber(), CG_AddSaberBlade(), CG_AddViewWeapon(), CG_CopyG2WeaponInstance(), CG_CustomSound(), CG_EntityEvent(), CG_G2AnimEntModelLoad(), CG_G2PlayerHeadAnims(), CG_G2WeaponInstance(), CG_Player(), CG_PlayerAnimEventDo(), CG_ReattachLimb(), CG_ResetPlayerEntity(), and CG_SaberCompWork().

int centity_s::npcLocalSurfOff
 

Definition at line 393 of file cg_local.h.

Referenced by CG_G2Animated(), and CG_ResetPlayerEntity().

int centity_s::npcLocalSurfOn
 

Definition at line 392 of file cg_local.h.

Referenced by CG_G2Animated(), and CG_ResetPlayerEntity().

int centity_s::numLoopingSounds
 

Definition at line 446 of file cg_local.h.

Referenced by CG_EntityEvent(), CG_S_AddLoopingSound(), CG_S_StopLoopingSound(), and CG_S_UpdateLoopingSounds().

int centity_s::overridingBones
 

Definition at line 440 of file cg_local.h.

Referenced by CG_RagDoll().

qboolean centity_s::ownerRagging
 

Definition at line 439 of file cg_local.h.

Referenced by CG_RagDoll().

playerEntity_t centity_s::pe
 

Definition at line 362 of file cg_local.h.

Referenced by CG_AddPlayerWeapon(), CG_AddViewWeapon(), CG_FireWeapon(), CG_InRoll(), CG_NewClientInfo(), CG_PainEvent(), CG_Player(), CG_RagDoll(), CG_ResetPlayerEntity(), CG_TriggerAnimSounds(), and DoFall().

playerState_t* centity_s::playerState
 

Definition at line 337 of file cg_local.h.

Referenced by CG_CheckPlayerstateEvents(), CG_Player(), CG_PmoveClientPointerUpdate(), CG_PredictPlayerState(), and DoFall().

int centity_s::previousEvent
 

Definition at line 350 of file cg_local.h.

Referenced by CG_CheckEvents().

vec3_t centity_s::pushEffectOrigin
 

Definition at line 443 of file cg_local.h.

float centity_s::radius
 

Definition at line 403 of file cg_local.h.

Referenced by CG_SetGhoul2Info().

vec3_t centity_s::ragLastOrigin
 

Definition at line 385 of file cg_local.h.

Referenced by CG_RagDoll().

int centity_s::ragLastOriginTime
 

Definition at line 386 of file cg_local.h.

Referenced by CG_RagDoll().

vec3_t centity_s::rawAngles
 

Definition at line 370 of file cg_local.h.

Referenced by CG_ResetPlayerEntity().

qboolean centity_s::saberWasInFlight
 

Definition at line 454 of file cg_local.h.

Referenced by CG_CheckPlayerG2Weapons(), and CG_Player().

qboolean centity_s::serverSaberFleshImpact
 

Definition at line 450 of file cg_local.h.

Referenced by CG_EntityEvent(), and CG_SaberCompWork().

int centity_s::serverSaberHitIndex
 

Definition at line 448 of file cg_local.h.

Referenced by CG_EntityEvent(), CG_Player(), and CG_SaberCompWork().

int centity_s::serverSaberHitTime
 

Definition at line 449 of file cg_local.h.

Referenced by CG_EntityEvent(), and CG_SaberCompWork().

float centity_s::smoothYaw
 

Definition at line 456 of file cg_local.h.

Referenced by CG_G2Animated().

int centity_s::snapShotTime
 

Definition at line 360 of file cg_local.h.

int centity_s::teamPowerEffectTime
 

Definition at line 435 of file cg_local.h.

Referenced by CG_EntityEvent(), and CG_Player().

qboolean centity_s::teamPowerType
 

Definition at line 436 of file cg_local.h.

Referenced by CG_EntityEvent(), and CG_Player().

int centity_s::torsoBolt
 

Definition at line 415 of file cg_local.h.

Referenced by CG_CheckPlayerG2Weapons(), CG_G2Animated(), CG_Player(), CG_ReattachLimb(), and TurretClientRun().

int centity_s::trailTime
 

Definition at line 353 of file cg_local.h.

int centity_s::trickAlpha
 

Definition at line 432 of file cg_local.h.

Referenced by CG_EntityEvent(), and CG_Player().

int centity_s::trickAlphaTime
 

Definition at line 433 of file cg_local.h.

Referenced by CG_EntityEvent(), and CG_Player().

vec3_t centity_s::turAngles
 

Definition at line 417 of file cg_local.h.

Referenced by CG_GetClientWeaponMuzzleBoltPoint(), CG_Player(), CG_RagDoll(), and TurretClientRun().

int centity_s::uncloaking
 

Definition at line 458 of file cg_local.h.

Referenced by CG_Player().

int centity_s::vChatTime
 

Definition at line 461 of file cg_local.h.

Referenced by CG_DrawRadar(), and CG_EntityEvent().

int centity_s::weapon
 

Definition at line 399 of file cg_local.h.

Referenced by CG_CheckPlayerG2Weapons(), CG_EntityEvent(), CG_NewClientInfo(), CG_Player(), and CG_ResetPlayerEntity().


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