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

playerState_s Struct Reference

#include <q_shared.h>


Data Fields

int ammo [MAX_WEAPONS]
int bobCycle
int clientNum
int commandTime
int damageCount
int damageEvent
int damagePitch
int damageYaw
int delta_angles [3]
int eFlags
int entityEventSequence
int eventParms [MAX_PS_EVENTS]
int events [MAX_PS_EVENTS]
int eventSequence
int externalEvent
int externalEventParm
int externalEventTime
int generic1
vec3_t grapplePoint
int gravity
int groundEntityNum
int jumppad_ent
int jumppad_frame
int legsAnim
int legsTimer
int loopSound
int movementDir
vec3_t origin
int persistant [MAX_PERSISTANT]
int ping
int pm_flags
int pm_time
int pm_type
int pmove_framecount
int powerups [MAX_POWERUPS]
int speed
int stats [MAX_STATS]
int torsoAnim
int torsoTimer
vec3_t velocity
vec3_t viewangles
int viewheight
int weapon
int weaponstate
int weaponTime


Field Documentation

int ammo[MAX_WEAPONS]
 

Definition at line 1204 of file q_shared.h.

Referenced by Add_Ammo(), BG_CanItemBeGrabbed(), BotUpdateInventory(), CG_CheckAmmo(), CG_DrawPlayerAmmoValue(), CG_DrawStatusBar(), CG_DrawWeaponSelect(), CG_GetValue(), CG_TouchItem(), CG_WeaponSelectable(), ClientTimerActions(), Cmd_Give_f(), MSG_ReadDeltaPlayerstate(), MSG_WriteDeltaPlayerstate(), Pickup_Weapon(), PM_Weapon(), and PmoveSingle().

int bobCycle
 

Definition at line 1151 of file q_shared.h.

Referenced by CG_CalcViewValues(), CG_InterpolatePlayerState(), PM_CrashLand(), and PM_Footsteps().

int clientNum
 

Definition at line 1188 of file q_shared.h.

Referenced by BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), CG_AddPacketEntities(), CG_AddPlayerWeapon(), CG_AddViewWeapon(), CG_Bleed(), CG_CalcMuzzlePoint(), CG_CheckOrderPending(), CG_CheckPlayerstateEvents(), CG_DrawActiveFrame(), CG_DrawAttacker(), CG_DrawClientScore(), CG_DrawFollow(), CG_DrawOldScoreboard(), CG_DrawPlayerAmmoIcon(), CG_DrawPlayerAmmoValue(), CG_DrawPlayerArmorIcon(), CG_DrawPlayerArmorValue(), CG_DrawPlayerHead(), CG_DrawPlayerLocation(), CG_DrawPlayerStatus(), CG_DrawStatusBar(), CG_DrawStatusBarHead(), CG_EntityEvent(), CG_General(), CG_GetValue(), CG_LightningBolt(), CG_Obituary(), CG_OffsetThirdPersonView(), CG_Player(), CG_PlayerFloatSprite(), CG_PlayVoiceChat(), CG_PowerupTimerSounds(), CG_ScanForCrosshairEntity(), CG_ScorePlum(), CG_SetInitialSnapshot(), CG_SetNextSnap(), CG_TransitionPlayerState(), CG_TransitionSnapshot(), CG_UseItem(), Cmd_CallTeamVote_f(), GetClientState(), PM_CheckDuck(), PM_CheckWaterJump(), PM_CorrectAllSolid(), PM_GroundTrace(), PM_GroundTraceMissed(), PM_SetWaterLevel(), PM_SlideMove(), PM_StepSlideMove(), SendPendingPredictableEvents(), SetTeam(), StopFollowing(), SV_AddEntitiesVisibleFromPoint(), and SV_BuildClientSnapshot().

int commandTime
 

Definition at line 1149 of file q_shared.h.

Referenced by CG_DrawDisconnect(), CG_PredictPlayerState(), CL_ParseSnapshot(), ClientEndFrame(), ClientThink_real(), Pmove(), and PmoveSingle().

int damageCount
 

Definition at line 1199 of file q_shared.h.

Referenced by CG_TransitionPlayerState(), and P_DamageFeedback().

int damageEvent
 

Definition at line 1196 of file q_shared.h.

Referenced by CG_TransitionPlayerState(), and P_DamageFeedback().

int damagePitch
 

Definition at line 1198 of file q_shared.h.

Referenced by CG_TransitionPlayerState(), and P_DamageFeedback().

int damageYaw
 

Definition at line 1197 of file q_shared.h.

Referenced by CG_TransitionPlayerState(), and P_DamageFeedback().

int delta_angles[3]
 

Definition at line 1160 of file q_shared.h.

Referenced by BotAI(), BotUpdateInput(), G_MoverPush(), G_TryPushingEntity(), IN_CenterView(), PM_UpdateViewAngles(), and SetClientViewAngle().

int eFlags
 

Definition at line 1178 of file q_shared.h.

Referenced by BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), BotSetTeleportTime(), CG_AddViewWeapon(), CG_SetNextSnap(), CG_TransitionSnapshot(), ClientBegin(), ClientIntermissionThink(), ClientSpawn(), ClientThink_real(), Cmd_CallTeamVote_f(), Cmd_CallVote_f(), Cmd_TeamVote_f(), Cmd_Vote_f(), MoveClientToIntermission(), Pickup_Holdable(), player_die(), PmoveSingle(), SpectatorClientEndFrame(), Team_FragBonuses(), Team_TouchOurFlag(), TeleportPlayer(), and weapon_railgun_fire().

int entityEventSequence
 

Definition at line 1214 of file q_shared.h.

Referenced by BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), and SendPendingPredictableEvents().

int eventParms[MAX_PS_EVENTS]
 

Definition at line 1182 of file q_shared.h.

Referenced by BG_AddPredictableEventToPlayerstate(), BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), CG_CheckChangedPredictableEvents(), and CG_CheckPlayerstateEvents().

int events[MAX_PS_EVENTS]
 

Definition at line 1181 of file q_shared.h.

Referenced by BG_AddPredictableEventToPlayerstate(), BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), CG_CheckChangedPredictableEvents(), CG_CheckPlayerstateEvents(), ClientEvents(), and SendPendingPredictableEvents().

int eventSequence
 

Definition at line 1180 of file q_shared.h.

Referenced by BG_AddPredictableEventToPlayerstate(), BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), CG_CheckChangedPredictableEvents(), CG_CheckPlayerstateEvents(), CG_PredictPlayerState(), ClientEvents(), ClientSpawn(), ClientThink_real(), and SendPendingPredictableEvents().

int externalEvent
 

Definition at line 1184 of file q_shared.h.

Referenced by BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), BotCheckSnapshot(), CG_CheckPlayerstateEvents(), G_AddEvent(), G_RunFrame(), and SendPendingPredictableEvents().

int externalEventParm
 

Definition at line 1185 of file q_shared.h.

Referenced by BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), BotCheckSnapshot(), CG_CheckPlayerstateEvents(), and G_AddEvent().

int externalEventTime
 

Definition at line 1186 of file q_shared.h.

Referenced by G_AddEvent().

int generic1
 

Definition at line 1206 of file q_shared.h.

Referenced by BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), BotUpdateInventory(), CG_DrawStatusBar(), CG_HarvesterSkulls(), ClientEvents(), Team_CheckHurtCarrier(), and Team_FragBonuses().

vec3_t grapplePoint
 

Definition at line 1176 of file q_shared.h.

Referenced by G_MissileImpact(), PM_GrappleMove(), and Weapon_HookThink().

int gravity
 

Definition at line 1158 of file q_shared.h.

Referenced by ClientThink_real(), PM_CrashLand(), PM_SlideMove(), PM_WalkMove(), and PM_WaterJumpMove().

int groundEntityNum
 

Definition at line 1163 of file q_shared.h.

Referenced by BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), BotSetupForMovement(), CG_PredictPlayerState(), PM_CheckJump(), PM_CorrectAllSolid(), PM_Footsteps(), PM_GroundTrace(), and PM_GroundTraceMissed().

int jumppad_ent
 

Definition at line 1208 of file q_shared.h.

Referenced by BG_TouchJumpPad(), CG_TouchTriggerPrediction(), and G_TouchTriggers().

int jumppad_frame
 

Definition at line 1213 of file q_shared.h.

Referenced by BG_TouchJumpPad(), CG_TouchTriggerPrediction(), and G_TouchTriggers().

int legsAnim
 

Definition at line 1166 of file q_shared.h.

Referenced by BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), PM_ContinueLegsAnim(), and PM_StartLegsAnim().

int legsTimer
 

Definition at line 1165 of file q_shared.h.

Referenced by PM_ContinueLegsAnim(), PM_CrashLand(), PM_DropTimers(), PM_ForceLegsAnim(), and PM_StartLegsAnim().

int loopSound
 

Definition at line 1207 of file q_shared.h.

Referenced by BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), and G_SetClientSound().

int movementDir
 

Definition at line 1171 of file q_shared.h.

Referenced by BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), and PM_SetMovementDir().

vec3_t origin
 

Definition at line 1155 of file q_shared.h.

Referenced by BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), BG_PlayerTouchesItem(), BotAI(), BotClientTravelTimeToGoal(), BotSetupForMovement(), CG_AddParticleToScene(), CG_CalcMuzzlePoint(), CG_CalcViewValues(), CG_InterpolatePlayerState(), CG_PredictPlayerState(), CG_TouchTriggerPrediction(), CheckAlmostCapture(), CheckAlmostScored(), ClientBegin(), ClientDisconnect(), ClientEvents(), ClientSpawn(), ClientThink_real(), G_KillBox(), G_MoverPush(), G_TestEntityPosition(), G_TouchTriggers(), G_TryPushingEntity(), MoveClientToIntermission(), Pickup_Powerup(), PM_CheckDuck(), PM_CheckWaterJump(), PM_CorrectAllSolid(), PM_CrashLand(), PM_GrappleMove(), PM_GroundTrace(), PM_GroundTraceMissed(), PM_NoclipMove(), PM_SetWaterLevel(), PM_SlideMove(), PM_StepSlideMove(), PmoveSingle(), respawn(), SendPendingPredictableEvents(), SpectatorThink(), SV_BuildClientSnapshot(), and TeleportPlayer().

int persistant[MAX_PERSISTANT]
 

Definition at line 1202 of file q_shared.h.

Referenced by AddScore(), AINode_Battle_Fight(), BG_CanItemBeGrabbed(), BotDeathmatchAI(), BotFirstClientInRankings(), BotIsFirstInRankings(), BotIsLastInRankings(), BotLastClientInRankings(), CalculateRanks(), CG_AddViewWeapon(), CG_CheckLocalSounds(), CG_Draw2D(), CG_DrawActive(), CG_DrawAttacker(), CG_DrawClientScore(), CG_DrawNewTeamInfo(), CG_DrawOldScoreboard(), CG_DrawPlayerScore(), CG_DrawScores(), CG_DrawStatusBar(), CG_DrawTeamColor(), CG_DrawTeamInfo(), CG_DrawTeamOverlay(), CG_GetGameStatusText(), CG_GetTeamColor(), CG_GetValue(), CG_HarvesterSkulls(), CG_LastAttacker(), CG_Obituary(), CG_OtherTeamHasFlag(), CG_PlayerSprites(), CG_PredictPlayerState(), CG_TouchItem(), CG_TransitionPlayerState(), CG_YourTeamHasFlag(), CheckAlmostCapture(), CheckAlmostScored(), ClientDisconnect(), ClientSpawn(), Cmd_Give_f(), G_Damage(), G_RankClientDisconnect(), G_RankRunFrame(), MSG_ReadDeltaPlayerstate(), MSG_WriteDeltaPlayerstate(), Pickup_Powerup(), player_die(), PM_Weapon(), ScoreIsTied(), ShotgunPattern(), SortRanks(), StopFollowing(), SV_Status_f(), SVC_Status(), Team_FragBonuses(), Team_TouchOurFlag(), UpdateTournamentInfo(), and weapon_railgun_fire().

int ping
 

Definition at line 1211 of file q_shared.h.

Referenced by ClientSpawn(), and SV_CalcPings().

int pm_flags
 

Definition at line 1152 of file q_shared.h.

Referenced by BotSetupForMovement(), CG_DrawActive(), CG_DrawFollow(), CG_EntityEvent(), CG_NextWeapon_f(), CG_OffsetFirstPersonView(), CG_PredictPlayerState(), CG_PrevWeapon_f(), CG_TransitionSnapshot(), CG_Weapon_f(), ClientThink_real(), G_Damage(), G_MissileImpact(), PM_AirMove(), PM_CheckDuck(), PM_CheckJump(), PM_CheckWaterJump(), PM_CrashLand(), PM_DropTimers(), PM_Footsteps(), PM_Friction(), PM_GroundTrace(), PM_GroundTraceMissed(), PM_WalkMove(), PM_WaterJumpMove(), PM_Weapon(), Pmove(), PmoveSingle(), SpectatorClientEndFrame(), StopFollowing(), TeleportPlayer(), and Weapon_HookFree().

int pm_time
 

Definition at line 1153 of file q_shared.h.

Referenced by BotSetupForMovement(), G_Damage(), PM_CheckWaterJump(), PM_DropTimers(), PM_GroundTrace(), PM_SlideMove(), PM_WaterJumpMove(), and TeleportPlayer().

int pm_type
 

Definition at line 1150 of file q_shared.h.

Referenced by BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), BG_TouchJumpPad(), BotIntermission(), BotIsDead(), BotIsObserver(), CG_AddViewWeapon(), CG_CalcFov(), CG_CalcViewValues(), CG_CalcVrect(), CG_Draw2D(), CG_DrawOldScoreboard(), CG_DrawScoreboard(), CG_KeyEvent(), CG_MouseEvent(), CG_OffsetFirstPersonView(), CG_PredictPlayerState(), CG_TouchTriggerPrediction(), CG_TransitionPlayerState(), ClientEndFrame(), ClientThink_real(), Con_DrawNotify(), EntityIsDead(), MoveClientToIntermission(), P_DamageFeedback(), PM_CheckDuck(), PM_Friction(), PM_StartLegsAnim(), PM_StartTorsoAnim(), PM_UpdateViewAngles(), PmoveSingle(), SpectatorThink(), trigger_teleporter_touch(), and Use_target_push().

int pmove_framecount
 

Definition at line 1212 of file q_shared.h.

Referenced by BG_AddPredictableEventToPlayerstate(), BG_TouchJumpPad(), CG_TouchTriggerPrediction(), G_TouchTriggers(), and Pmove().

int powerups[MAX_POWERUPS]
 

Definition at line 1203 of file q_shared.h.

Referenced by BG_CanItemBeGrabbed(), BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), BG_TouchJumpPad(), BotUpdateInventory(), CG_CheckLocalSounds(), CG_DrawAreaPowerUp(), CG_DrawPlayerHasFlag(), CG_DrawPowerups(), CG_DrawStatusBar(), CG_EntityEvent(), CG_OwnerDrawVisible(), CG_PowerupTimerSounds(), CheckGauntletAttack(), ClientEndFrame(), ClientEvents(), ClientThink_real(), ClientTimerActions(), ClientUserinfoChanged(), FireWeapon(), G_Damage(), MoveClientToIntermission(), MSG_ReadDeltaPlayerstate(), MSG_WriteDeltaPlayerstate(), P_WorldEffects(), Pickup_Powerup(), player_die(), PM_CheckDuck(), PM_Footsteps(), PM_Friction(), PM_Weapon(), PmoveSingle(), Team_CheckHurtCarrier(), Team_FragBonuses(), Use_target_push(), and Use_target_remove_powerups().

int speed
 

Definition at line 1159 of file q_shared.h.

Referenced by ClientThink_real(), PM_CmdScale(), PM_WalkMove(), PM_WaterMove(), and SpectatorThink().

int stats[MAX_STATS]
 

Definition at line 1201 of file q_shared.h.

Referenced by BG_CanItemBeGrabbed(), BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), BotUpdateInventory(), CG_CheckAmmo(), CG_CheckLocalSounds(), CG_ColorForHealth(), CG_DamageFeedback(), CG_Draw2D(), CG_DrawActiveFrame(), CG_DrawAreaPowerUp(), CG_DrawAttacker(), CG_DrawClientScore(), CG_DrawCTFPowerUp(), CG_DrawHoldableItem(), CG_DrawPickupItem(), CG_DrawPlayerArmorValue(), CG_DrawPlayerHealth(), CG_DrawPlayerItem(), CG_DrawPowerups(), CG_DrawStatusBar(), CG_DrawWeaponSelect(), CG_GetValue(), CG_OffsetFirstPersonView(), CG_OffsetThirdPersonView(), CG_OwnerDrawVisible(), CG_TouchItem(), CG_TouchTriggerPrediction(), CG_Weapon_f(), CG_WeaponSelectable(), CheckArmor(), ClientEndFrame(), ClientEvents(), ClientThink_real(), ClientTimerActions(), ClientUserinfoChanged(), Cmd_Give_f(), Cmd_Kill_f(), G_Damage(), G_TouchTriggers(), LogAccuracyHit(), LookAtKiller(), MSG_ReadDeltaPlayerstate(), MSG_WriteDeltaPlayerstate(), Pickup_Armor(), Pickup_Health(), Pickup_Holdable(), Pickup_Powerup(), Pickup_Weapon(), PM_BeginWeaponChange(), PM_CrashLand(), PM_FinishWeaponChange(), PM_UpdateViewAngles(), PM_Weapon(), PmoveSingle(), SetTeam(), TeamplayInfoMessage(), and Touch_Plat().

int torsoAnim
 

Definition at line 1169 of file q_shared.h.

Referenced by BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), PM_ContinueTorsoAnim(), and PM_StartTorsoAnim().

int torsoTimer
 

Definition at line 1168 of file q_shared.h.

Referenced by PM_Animate(), PM_ContinueTorsoAnim(), and PM_DropTimers().

vec3_t velocity
 

Definition at line 1156 of file q_shared.h.

Referenced by BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), BG_TouchJumpPad(), BotSetupForMovement(), CG_CalcViewValues(), CG_InterpolatePlayerState(), CG_OffsetFirstPersonView(), CopyToBodyQue(), G_Damage(), PM_Accelerate(), PM_AirMove(), PM_CheckJump(), PM_CheckWaterJump(), PM_DeadMove(), PM_Footsteps(), PM_Friction(), PM_GrappleMove(), PM_GroundTrace(), PM_NoclipMove(), PM_SlideMove(), PM_StepSlideMove(), PM_WalkMove(), PM_WaterJumpMove(), PM_WaterMove(), PmoveSingle(), TeleportPlayer(), and Use_target_push().

vec3_t viewangles
 

Definition at line 1192 of file q_shared.h.

Referenced by BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), CG_CalcMuzzlePoint(), CG_CalcViewValues(), CG_InterpolatePlayerState(), CheckGauntletAttack(), ClientEndFrame(), FireWeapon(), MoveClientToIntermission(), Pickup_Powerup(), player_die(), PM_UpdateViewAngles(), PmoveSingle(), and SetClientViewAngle().

int viewheight
 

Definition at line 1193 of file q_shared.h.

Referenced by BotAI(), BotAimAtEnemy(), BotCheckAttack(), BotSetupForMovement(), CalcMuzzlePoint(), CalcMuzzlePointOrigin(), CG_CalcMuzzlePoint(), CG_OffsetFirstPersonView(), CG_OffsetThirdPersonView(), CG_TransitionPlayerState(), PM_CheckDuck(), PM_NoclipMove(), PM_SetWaterLevel(), and SV_BuildClientSnapshot().

int weapon
 

Definition at line 1189 of file q_shared.h.

Referenced by AINode_Seek_ActivateEntity(), BG_PlayerStateToEntityState(), BG_PlayerStateToEntityStateExtraPolate(), BotAttackMove(), BotClearPath(), CG_AddPlayerWeapon(), CG_AddViewWeapon(), CG_DrawPlayerAmmoIcon(), CG_DrawStatusBar(), CG_Respawn(), ClientThink_real(), PM_FinishWeaponChange(), PM_TorsoAnimation(), PM_Weapon(), PmoveSingle(), and TeamplayInfoMessage().

int weaponstate
 

Definition at line 1190 of file q_shared.h.

Referenced by BotAimAtEnemy(), BotChooseWeapon(), CG_AddPlayerWeapon(), CG_DrawStatusBar(), PM_BeginWeaponChange(), PM_FinishWeaponChange(), PM_TorsoAnimation(), and PM_Weapon().

int weaponTime
 

Definition at line 1157 of file q_shared.h.

Referenced by CG_AddPlayerWeapon(), CG_DrawStatusBar(), ClientThink_real(), PM_BeginWeaponChange(), PM_FinishWeaponChange(), and PM_Weapon().


The documentation for this struct was generated from the following file:
Generated on Thu Aug 25 19:57:45 2005 for Quake III Arena by  doxygen 1.3.9.1