usercmd_s Struct Reference

#include <q_shared.h>


Data Fields

int serverTime
int angles [3]
int buttons
byte weapon
byte forcesel
byte invensel
byte generic_cmd
signed char forwardmove
signed char rightmove
signed char upmove


Field Documentation

int usercmd_s::angles[3]
 

Definition at line 2526 of file q_shared.h.

Referenced by BotInputToUserCommand(), NPC_Begin(), NPC_BSRunAndShoot(), NPC_FacePosition(), NPC_KeepCurrentFacing(), NPC_UpdateAngles(), NPC_UpdateFiringAngles(), PM_AdjustAngleForWallJump(), PM_AdjustAngleForWallRun(), PM_AdjustAngleForWallRunUp(), PM_SetPMViewAngle(), PM_UpdateViewAngles(), and SetClientViewAngle().

int usercmd_s::buttons
 

Definition at line 2527 of file q_shared.h.

Referenced by AnimateRiders(), ATST_Patrol(), ATST_Ranged(), BG_AdjustClientSpeed(), Boba_FireDecide(), BotInputToUserCommand(), BotUpdateInput(), CG_NextForcePower_f(), CG_PredictPlayerState(), CG_PrevForcePower_f(), check_recharge(), ClientInactivityTimer(), ClientIntermissionThink(), ClientThink_real(), DownedSaberThink(), Droid_Patrol(), emplaced_gun_update(), EWebThink(), G_CheckClientIdle(), G_RunFrame(), Howler_Patrol(), ImperialProbe_Patrol(), Mark1_Patrol(), Mark2_Patrol(), MineMonster_Idle(), MineMonster_Patrol(), NPC_ApplyScriptFlags(), NPC_BSDefault(), NPC_BSFlee(), NPC_BSFollowLeader(), NPC_BSGM_Attack(), NPC_BSGM_Patrol(), NPC_BSGrenadier_Patrol(), NPC_BSHuntAndKill(), NPC_BSIdle(), NPC_BSJedi_Default(), NPC_BSJedi_FollowLeader(), NPC_BSPatrol(), NPC_BSPointShoot(), NPC_BSRunAndShoot(), NPC_BSSniper_Attack(), NPC_BSSniper_Patrol(), NPC_BSST_Attack(), NPC_BSST_Investigate(), NPC_BSST_Patrol(), NPC_BSWampa_Default(), NPC_CheckAttackHold(), NPC_CheckAttackScript(), NPC_ExecuteBState(), NPC_MoveToGoal(), NPC_Sentry_Patrol(), NPC_Think(), PM_AdjustAttackStates(), PM_CanDoKata(), PM_CheckAltKickAttack(), PM_CheckPullAttack(), PM_SaberAttackForMovement(), PM_Use(), PM_VehicleWeaponAnimate(), PM_WeaponLightsaber(), Pmove(), PmoveSingle(), Rancor_Idle(), Rancor_Patrol(), Remote_Patrol(), ShootThink(), SpectatorThink(), Touch_Multi(), TryUse(), VEH_TurretObeyPassengerControl(), Wampa_Attack(), Wampa_Idle(), Wampa_Move(), Wampa_Patrol(), WeaponThink(), WP_ForcePowersUpdate(), WP_SaberCanBlock(), and WP_SaberStartMissileBlockCheck().

byte usercmd_s::forcesel
 

Definition at line 2529 of file q_shared.h.

Referenced by PmoveSingle().

signed char usercmd_s::forwardmove
 

Definition at line 2532 of file q_shared.h.

Referenced by AnimateRiders(), BG_AdjustClientSpeed(), BG_CmdForRoll(), Boba_StopKnockdown(), BotInputToUserCommand(), CG_PredictPlayerState(), ClientInactivityTimer(), ClientThink_real(), Droid_Spin(), FighterIsLanding(), FighterSuspended(), G_AddPushVecToUcmd(), G_CheckClientIdle(), G_CheckMovingLoopingSounds(), G_MissileImpact(), G_SetTauntAnim(), G_SpecialRollGetup(), G_UcmdMoveForDir(), Jedi_SaberBlockGo(), NPC_ApplyScriptFlags(), NPC_BSAdvanceFight(), NPC_BSFlee(), NPC_BSFollowLeader(), NPC_BSHuntAndKill(), NPC_BSIdle(), NPC_BSJump(), NPC_BSNoClip(), NPC_BSST_Patrol(), NPC_MoveDirClear(), NPC_MoveToGoal(), NPC_ReachedGoal(), NPC_Think(), PM_AdjustAngleForWallJump(), PM_AdjustAngleForWallRun(), PM_AdjustAngleForWallRunUp(), PM_CanDoKata(), PM_KickMoveForConditions(), PM_MoveForKata(), PM_SaberAttackForMovement(), PM_SaberMoveQuadrantForMovement(), PM_SetSaberMove(), PM_VehFaceHyperspacePoint(), PM_VehForcedTurning(), PM_WeaponLightsaber(), Pmove(), PmoveSingle(), Update(), and WP_GetVelocityForForceJump().

byte usercmd_s::generic_cmd
 

Definition at line 2531 of file q_shared.h.

Referenced by ClientThink_real().

byte usercmd_s::invensel
 

Definition at line 2530 of file q_shared.h.

Referenced by PmoveSingle().

signed char usercmd_s::rightmove
 

Definition at line 2532 of file q_shared.h.

Referenced by AnimateRiders(), BG_CmdForRoll(), Boba_StopKnockdown(), BotInputToUserCommand(), CG_PredictPlayerState(), ClientInactivityTimer(), ClientThink_real(), FireWeapon(), G_AddPushVecToUcmd(), G_CanJumpToEnemyVeh(), G_CheckClientIdle(), G_CheckMovingLoopingSounds(), G_SetTauntAnim(), G_SpecialRollGetup(), G_UcmdMoveForDir(), Jedi_SaberBlockGo(), NPC_ApplyScriptFlags(), NPC_BSAdvanceFight(), NPC_BSFollowLeader(), NPC_BSHuntAndKill(), NPC_BSIdle(), NPC_BSNoClip(), NPC_BSST_Patrol(), NPC_MoveDirClear(), NPC_Think(), PM_AdjustAngleForWallJump(), PM_AdjustAngleForWallRun(), PM_CanDoKata(), PM_KickMoveForConditions(), PM_MoveForKata(), PM_SaberAttackForMovement(), PM_SaberMoveQuadrantForMovement(), PM_SetSaberMove(), PM_VehFaceHyperspacePoint(), PM_VehForcedTurning(), PM_VehicleWeaponAnimate(), PM_WeaponLightsaber(), Pmove(), PmoveSingle(), Update(), and WP_GetVelocityForForceJump().

int usercmd_s::serverTime
 

Definition at line 2525 of file q_shared.h.

Referenced by AnimateRiders(), BG_AdjustClientSpeed(), BotInputToUserCommand(), CG_PredictPlayerState(), ClientSpawn(), ClientThink_real(), G_CheckClientTimeouts(), G_RunClient(), NPC_ExecuteBState(), NPC_Think(), PM_AdjustAttackStates(), PM_AdjustStandAnimForSlope(), PM_CheckPullAttack(), PM_FootSlopeTrace(), PM_ForceJumpingUp(), PM_irand_timesync(), PM_LegsSlopeBackTransition(), PM_RocketLock(), PM_SaberAttackForMovement(), PM_SaberLockBreak(), PM_UpdateViewAngles(), PM_VehFaceHyperspacePoint(), PM_VehicleImpact(), PM_WeaponLightsaber(), Pmove(), PmoveSingle(), and ProcessOrientCommands().

signed char usercmd_s::upmove
 

Definition at line 2532 of file q_shared.h.

Referenced by BG_CmdForRoll(), BotInputToUserCommand(), CG_PredictPlayerState(), ClientInactivityTimer(), ClientThink_real(), FighterIsLanding(), FighterIsLaunching(), G_CheckClientIdle(), G_CheckMovingLoopingSounds(), G_RunFrame(), G_SetTauntAnim(), G_SpecialRollGetup(), ImperialProbe_MaintainHeight(), Interrogator_MaintainHeight(), Jedi_SaberBlockGo(), NPC_ApplyScriptFlags(), NPC_BSDroid_Default(), NPC_BSGrenadier_Attack(), NPC_BSIdle(), NPC_BSNoClip(), NPC_BSRunAndShoot(), NPC_BSSniper_Attack(), NPC_BSST_Attack(), NPC_BSST_Patrol(), NPC_BSStandAndShoot(), NPC_CheckCanAttack(), NPC_CheckEnemyStealth(), NPC_MoveDirClear(), NPC_StandTrackAndShoot(), NPC_Think(), PM_AdjustAngleForWallJump(), PM_AdjustAngleForWallRun(), PM_AdjustAngleForWallRunUp(), PM_CanDoKata(), PM_CheckStabDown(), PM_KickMoveForConditions(), PM_MoveForKata(), PM_SaberAttackForMovement(), PM_SaberBackflipAttackMove(), PM_SaberDualJumpAttackMove(), PM_SaberFlipOverAttackMove(), PM_SaberJumpAttackMove(), PM_SetSaberMove(), PM_VehFaceHyperspacePoint(), PM_VehForcedTurning(), PM_WeaponLightsaber(), Pmove(), PmoveSingle(), Seeker_MaintainHeight(), Sentry_MaintainHeight(), SpectatorThink(), and WP_ForcePowersUpdate().

byte usercmd_s::weapon
 

Definition at line 2528 of file q_shared.h.

Referenced by BotInputToUserCommand(), ChangeWeapon(), G_CheckClientIdle(), PM_FinishWeaponChange(), PM_WeaponLightsaber(), PmoveSingle(), TossClientItems(), and WeaponThink().


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