Vehicle_s Struct Reference

#include <bg_vehicles.h>


Data Fields

bgEntity_tm_pPilot
int m_iPilotTime
int m_iPilotLastIndex
qboolean m_bHasHadPilot
bgEntity_tm_ppPassengers [VEH_MAX_PASSENGERS]
bgEntity_tm_pDroidUnit
int m_iNumPassengers
bgEntity_tm_pParentEntity
int m_iBoarding
qboolean m_bWasBoarding
vec3_t m_vBoardingVelocity
float m_fTimeModifier
int m_iLeftExhaustTag
int m_iRightExhaustTag
int m_iGun1Tag
int m_iGun1Bone
int m_iLeftWingBone
int m_iRightWingBone
int m_iExhaustTag [MAX_VEHICLE_EXHAUSTS]
int m_iMuzzleTag [MAX_VEHICLE_MUZZLES]
int m_iDroidUnitTag
int m_iGunnerViewTag [MAX_VEHICLE_TURRETS]
int m_iMuzzleTime [MAX_VEHICLE_MUZZLES]
vec3_t m_vMuzzlePos [MAX_VEHICLE_MUZZLES]
vec3_t m_vMuzzleDir [MAX_VEHICLE_MUZZLES]
int m_iMuzzleWait [MAX_VEHICLE_MUZZLES]
usercmd_t m_ucmd
int m_EjectDir
unsigned long m_ulFlags
int m_iVehicleTypeID
float * m_vOrientation
int m_fStrafeTime
vec3_t m_vPrevOrientation
vec3_t m_vPrevRiderViewAngles
float m_vAngularVelocity
vec3_t m_vFullAngleVelocity
int m_iArmor
int m_iShields
int m_iHitDebounce
int m_iLastFXTime
int m_iDieTime
vehicleInfo_tm_pVehicleInfo
trace_t m_LandTrace
vec3_t m_vWingAngles
int m_iLastImpactDmg
int m_iRemovedSurfaces
int m_iDmgEffectTime
int m_iTurboTime
int m_iDropTime
int m_iSoundDebounceTimer
int lastShieldInc
qboolean linkWeaponToggleHeld
vehWeaponStatus_t weaponStatus [MAX_VEHICLE_WEAPONS]
vehTurretStatus_t turretStatus [MAX_VEHICLE_TURRETS]
bgEntity_tm_pOldPilot


Field Documentation

int Vehicle_s::lastShieldInc
 

Definition at line 611 of file bg_vehicles.h.

qboolean Vehicle_s::linkWeaponToggleHeld
 

Definition at line 614 of file bg_vehicles.h.

qboolean Vehicle_s::m_bHasHadPilot
 

Definition at line 485 of file bg_vehicles.h.

qboolean Vehicle_s::m_bWasBoarding
 

Definition at line 505 of file bg_vehicles.h.

Referenced by Eject(), EjectAll(), and Initialize().

int Vehicle_s::m_EjectDir
 

Definition at line 540 of file bg_vehicles.h.

Referenced by Eject(), EjectAll(), G_KnockOffVehicle(), and Initialize().

int Vehicle_s::m_fStrafeTime
 

Definition at line 557 of file bg_vehicles.h.

float Vehicle_s::m_fTimeModifier
 

Definition at line 511 of file bg_vehicles.h.

Referenced by Initialize(), PM_HoverTrace(), PM_VehicleImpact(), PmoveSingle(), and ProcessOrientCommands().

int Vehicle_s::m_iArmor
 

Definition at line 571 of file bg_vehicles.h.

Referenced by G_Damage(), Initialize(), and Update().

int Vehicle_s::m_iBoarding
 

Definition at line 502 of file bg_vehicles.h.

Referenced by AnimateRiders(), Board(), CG_PredictPlayerState(), Eject(), EjectAll(), Initialize(), PmoveSingle(), TryUse(), and ValidateBoard().

int Vehicle_s::m_iDieTime
 

Definition at line 581 of file bg_vehicles.h.

Referenced by Initialize(), Update(), and ValidateBoard().

int Vehicle_s::m_iDmgEffectTime
 

Definition at line 600 of file bg_vehicles.h.

int Vehicle_s::m_iDroidUnitTag
 

Definition at line 524 of file bg_vehicles.h.

Referenced by CG_G2AnimEntModelLoad(), CG_VehicleAttachDroidUnit(), G_VehicleAttachDroidUnit(), Initialize(), NPC_Begin(), and SetupGameGhoul2Model().

int Vehicle_s::m_iDropTime
 

Definition at line 606 of file bg_vehicles.h.

Referenced by Board().

int Vehicle_s::m_iExhaustTag[MAX_VEHICLE_EXHAUSTS]
 

Definition at line 522 of file bg_vehicles.h.

Referenced by CG_G2AnimEntModelLoad(), Initialize(), SetupGameGhoul2Model(), and Update().

int Vehicle_s::m_iGun1Bone
 

Definition at line 518 of file bg_vehicles.h.

int Vehicle_s::m_iGun1Tag
 

Definition at line 517 of file bg_vehicles.h.

int Vehicle_s::m_iGunnerViewTag[MAX_VEHICLE_TURRETS]
 

Definition at line 525 of file bg_vehicles.h.

Referenced by CG_CheckPassengerTurretView(), CG_G2AnimEntModelLoad(), and SetupGameGhoul2Model().

int Vehicle_s::m_iHitDebounce
 

Definition at line 575 of file bg_vehicles.h.

Referenced by PM_VehicleImpact().

int Vehicle_s::m_iLastFXTime
 

Definition at line 578 of file bg_vehicles.h.

int Vehicle_s::m_iLastImpactDmg
 

Definition at line 595 of file bg_vehicles.h.

Referenced by PM_VehicleImpact().

int Vehicle_s::m_iLeftExhaustTag
 

Definition at line 515 of file bg_vehicles.h.

int Vehicle_s::m_iLeftWingBone
 

Definition at line 519 of file bg_vehicles.h.

int Vehicle_s::m_iMuzzleTag[MAX_VEHICLE_MUZZLES]
 

Definition at line 523 of file bg_vehicles.h.

Referenced by CG_CalcVehMuzzle(), CG_G2AnimEntModelLoad(), CG_VehMuzzleFireFX(), FireVehicleWeapon(), Initialize(), SetupGameGhoul2Model(), VEH_TurretCheckFire(), and WP_CalcVehMuzzle().

int Vehicle_s::m_iMuzzleTime[MAX_VEHICLE_MUZZLES]
 

Definition at line 528 of file bg_vehicles.h.

Referenced by CG_CalcVehMuzzle(), VEH_TurretAim(), and WP_CalcVehMuzzle().

int Vehicle_s::m_iMuzzleWait[MAX_VEHICLE_MUZZLES]
 

Definition at line 534 of file bg_vehicles.h.

Referenced by FireVehicleWeapon(), and VEH_TurretCheckFire().

int Vehicle_s::m_iNumPassengers
 

Definition at line 495 of file bg_vehicles.h.

Referenced by Board(), Eject(), EjectAll(), Inhabited(), Initialize(), player_die(), PmoveSingle(), ValidateBoard(), and VEH_TurretThink().

int Vehicle_s::m_iPilotLastIndex
 

Definition at line 484 of file bg_vehicles.h.

int Vehicle_s::m_iPilotTime
 

Definition at line 483 of file bg_vehicles.h.

Referenced by G_VehicleSpawn().

int Vehicle_s::m_iRemovedSurfaces
 

Definition at line 598 of file bg_vehicles.h.

Referenced by CG_PredictPlayerState(), ClientThink_real(), FireVehicleWeapon(), hyperspace_touch(), PM_VehicleImpact(), and shipboundary_touch().

int Vehicle_s::m_iRightExhaustTag
 

Definition at line 516 of file bg_vehicles.h.

int Vehicle_s::m_iRightWingBone
 

Definition at line 520 of file bg_vehicles.h.

int Vehicle_s::m_iShields
 

Definition at line 572 of file bg_vehicles.h.

Referenced by G_Damage(), and Initialize().

int Vehicle_s::m_iSoundDebounceTimer
 

Definition at line 608 of file bg_vehicles.h.

Referenced by VEH_StartStrafeRam().

int Vehicle_s::m_iTurboTime
 

Definition at line 603 of file bg_vehicles.h.

Referenced by AnimateRiders(), CG_DrawVehicleSpeed(), and CG_DrawVehicleTurboRecharge().

int Vehicle_s::m_iVehicleTypeID
 

Definition at line 548 of file bg_vehicles.h.

trace_t Vehicle_s::m_LandTrace
 

Definition at line 589 of file bg_vehicles.h.

Referenced by BG_FighterUpdate(), BG_VehicleTurnRateForSpeed(), FighterOverValidLandingSurface(), G_Damage(), and PM_VehicleImpact().

bgEntity_t* Vehicle_s::m_pDroidUnit
 

Definition at line 492 of file bg_vehicles.h.

Referenced by Eject(), EjectAll(), G_EjectDroidUnit(), G_VehicleAttachDroidUnit(), NPC_Begin(), and player_die().

bgEntity_t* Vehicle_s::m_pOldPilot
 

Definition at line 621 of file bg_vehicles.h.

Referenced by AnimateRiders(), Board(), Eject(), EjectAll(), and Initialize().

bgEntity_t* Vehicle_s::m_pParentEntity
 

Definition at line 498 of file bg_vehicles.h.

Referenced by AnimateRiders(), BG_FighterUpdate(), Board(), CG_G2AnimEntModelLoad(), CG_Player(), Eject(), FighterSuspended(), FireVehicleWeapon(), G_CanJumpToEnemyVeh(), Initialize(), NPC_Spawn_Do(), PM_VehicleImpact(), ProcessOrientCommands(), SetParent(), Update(), ValidateBoard(), and VEH_StartStrafeRam().

bgEntity_t* Vehicle_s::m_pPilot
 

Definition at line 481 of file bg_vehicles.h.

Referenced by Animate(), AnimateRiders(), BG_FighterUpdate(), BG_VehTraceFromCamPos(), Board(), CG_Player(), ClientThink_real(), Eject(), EjectAll(), FighterSuspended(), FireVehicleWeapon(), G_CanJumpToEnemyVeh(), G_RadiusDamage(), hyperspace_touch(), Inhabited(), Initialize(), player_die(), PM_VehicleImpact(), PM_VehicleViewAngles(), PM_VehicleWeaponAnimate(), PmoveSingle(), ProcessOrientCommands(), SetPilot(), ValidateBoard(), VEH_TurretThink(), WP_FireVehicleWeapon(), and WP_VehCheckTraceFromCamPos().

bgEntity_t* Vehicle_s::m_ppPassengers[VEH_MAX_PASSENGERS]
 

Definition at line 489 of file bg_vehicles.h.

Referenced by BG_FighterUpdate(), Board(), Eject(), EjectAll(), Initialize(), player_die(), PmoveSingle(), and VEH_TurretObeyPassengerControl().

vehicleInfo_t* Vehicle_s::m_pVehicleInfo
 

Definition at line 586 of file bg_vehicles.h.

Referenced by Animate(), AnimateRiders(), BG_FighterUpdate(), BG_UnrestrainedPitchRoll(), BG_VehicleAdjustBBoxForOrientation(), BG_VehicleTurnRateForSpeed(), BG_VehTraceFromCamPos(), Board(), CG_BracketEntity(), CG_CalcVehicleMuzzlePoint(), CG_CalcVehMuzzle(), 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_InATST(), CG_InFighter(), CG_Player(), CG_RadiusForCent(), CG_ResetPlayerEntity(), CG_SaberCompWork(), CG_VehicleShouldDrawShields(), CG_VehMuzzleFireFX(), ClientDisconnect(), ClientThink_real(), DEMP2_AltRadiusDamage(), Eject(), EjectAll(), FighterIsLanding(), FighterIsLaunching(), FireVehicleWeapon(), ForceGrip(), ForceThrow(), G_CanDisruptify(), G_CheapWeaponFire(), G_Damage(), G_KnockOffVehicle(), G_MissileImpact(), G_VehicleSpawn(), Initialize(), NPC_Begin(), NPC_ParseParms(), NPC_SetMiscDefaultData(), NPC_Spawn_Do(), NPC_Use(), player_die(), PM_AdjustAttackStates(), PM_HoverTrace(), PM_SetSpecialMoveValues(), PM_StepSlideMove(), PM_UpdateViewAngles(), PM_VehicleImpact(), PM_VehicleViewAngles(), PM_VehicleWeaponAnimate(), PmoveSingle(), ProcessOrientCommands(), Q3_RemoveEnt(), SetupGameGhoul2Model(), shipboundary_think(), space_touch(), Touch_Item(), TryUse(), Update(), ValidateBoard(), VEH_StartStrafeRam(), VEH_TryEject(), VEH_TurretAim(), VEH_TurretCheckFire(), VEH_TurretObeyPassengerControl(), VEH_TurretThink(), WP_CalcVehMuzzle(), WP_FireStunBaton(), WP_GetVehicleCamPos(), and WP_VehCheckTraceFromCamPos().

usercmd_t Vehicle_s::m_ucmd
 

Definition at line 537 of file bg_vehicles.h.

Referenced by AnimateRiders(), Board(), CG_PredictPlayerState(), ClientThink_real(), Eject(), FighterIsLanding(), FighterIsLaunching(), FighterSuspended(), Initialize(), NPC_Think(), PM_VehFaceHyperspacePoint(), PM_VehForcedTurning(), PmoveSingle(), and Update().

unsigned long Vehicle_s::m_ulFlags
 

Definition at line 543 of file bg_vehicles.h.

Referenced by AnimateRiders(), Board(), FireVehicleWeapon(), Initialize(), PM_HoverTrace(), PM_VehicleImpact(), PM_VehicleWeaponAnimate(), PmoveSingle(), ProcessOrientCommands(), Update(), and VEH_StartStrafeRam().

float Vehicle_s::m_vAngularVelocity
 

Definition at line 566 of file bg_vehicles.h.

Referenced by PM_HoverTrace(), and ProcessOrientCommands().

vec3_t Vehicle_s::m_vBoardingVelocity
 

Definition at line 508 of file bg_vehicles.h.

Referenced by Initialize().

vec3_t Vehicle_s::m_vFullAngleVelocity
 

Definition at line 568 of file bg_vehicles.h.

Referenced by PM_VehicleImpact().

vec3_t Vehicle_s::m_vMuzzleDir[MAX_VEHICLE_MUZZLES]
 

Definition at line 530 of file bg_vehicles.h.

Referenced by CG_CalcVehicleMuzzlePoint(), CG_CalcVehMuzzle(), FireVehicleWeapon(), VEH_TurretAim(), VEH_TurretCheckFire(), and WP_CalcVehMuzzle().

vec3_t Vehicle_s::m_vMuzzlePos[MAX_VEHICLE_MUZZLES]
 

Definition at line 530 of file bg_vehicles.h.

Referenced by CG_CalcVehicleMuzzlePoint(), CG_CalcVehMuzzle(), FireVehicleWeapon(), VEH_TurretAnglesToEnemy(), VEH_TurretCheckFire(), VEH_TurretThink(), and WP_CalcVehMuzzle().

float* Vehicle_s::m_vOrientation
 

Definition at line 552 of file bg_vehicles.h.

Referenced by AnimateRiders(), BG_VehicleAdjustBBoxForOrientation(), Board(), CG_G2AnimEntModelLoad(), CG_PredictPlayerState(), Eject(), FireVehicleWeapon(), FireWeapon(), G_AttachToVehicle(), G_Damage(), Initialize(), NPC_Spawn_Do(), PM_HoverTrace(), PM_pitch_roll_for_slope(), PM_VehFaceHyperspacePoint(), PM_VehicleImpact(), PmoveSingle(), ProcessOrientCommands(), Update(), VEH_StartStrafeRam(), VEH_TurretAim(), WP_SaberPositionUpdate(), and WP_VehCheckTraceFromCamPos().

vec3_t Vehicle_s::m_vPrevOrientation
 

Definition at line 560 of file bg_vehicles.h.

Referenced by PM_HoverTrace(), and PmoveSingle().

vec3_t Vehicle_s::m_vPrevRiderViewAngles
 

Definition at line 563 of file bg_vehicles.h.

Referenced by PM_UpdateViewAngles(), and PM_VehForcedTurning().

vec3_t Vehicle_s::m_vWingAngles
 

Definition at line 592 of file bg_vehicles.h.

vehTurretStatus_t Vehicle_s::turretStatus[MAX_VEHICLE_TURRETS]
 

Definition at line 618 of file bg_vehicles.h.

Referenced by Initialize(), VEH_TurretCheckFire(), VEH_TurretObeyPassengerControl(), and VEH_TurretThink().

vehWeaponStatus_t Vehicle_s::weaponStatus[MAX_VEHICLE_WEAPONS]
 

Definition at line 617 of file bg_vehicles.h.

Referenced by FireVehicleWeapon(), and Initialize().


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