vehicleInfo_t Struct Reference

#include <bg_vehicles.h>


Data Fields

char * name
vehicleType_t type
int numHands
float lookPitch
float lookYaw
float length
float width
float height
vec3_t centerOfGravity
float speedMax
float turboSpeed
float speedMin
float speedIdle
float accelIdle
float acceleration
float decelIdle
float throttleSticks
float strafePerc
float bankingSpeed
float rollLimit
float pitchLimit
float braking
float mouseYaw
float mousePitch
float turningSpeed
qboolean turnWhenStopped
float traction
float friction
float maxSlope
qboolean speedDependantTurning
int mass
int armor
int shields
int shieldRechargeMS
float toughness
int malfunctionArmorLevel
int surfDestruction
int health_front
int health_back
int health_right
int health_left
char * model
char * skin
int g2radius
int riderAnim
int radarIconHandle
int dmgIndicFrameHandle
int dmgIndicShieldHandle
int dmgIndicBackgroundHandle
int iconFrontHandle
int iconBackHandle
int iconRightHandle
int iconLeftHandle
int crosshairShaderHandle
int shieldShaderHandle
char * droidNPC
int soundOn
int soundTakeOff
int soundEngineStart
int soundLoop
int soundSpin
int soundTurbo
int soundHyper
int soundLand
int soundOff
int soundFlyBy
int soundFlyBy2
int soundShift1
int soundShift2
int soundShift3
int soundShift4
int iExhaustFX
int iTurboFX
int iTurboStartFX
int iTrailFX
int iImpactFX
int iExplodeFX
int iWakeFX
int iDmgFX
int iInjureFX
int iNoseFX
int iLWingFX
int iRWingFX
vehWeaponStats_t weapon [MAX_VEHICLE_WEAPONS]
int weapMuzzle [MAX_VEHICLE_MUZZLES]
turretStats_t turret [MAX_VEHICLE_TURRETS]
float landingHeight
int gravity
float hoverHeight
float hoverStrength
qboolean waterProof
float bouyancy
int fuelMax
int fuelRate
int turboDuration
int turboRecharge
int visibility
int loudness
float explosionRadius
int explosionDamage
int maxPassengers
qboolean hideRider
qboolean killRiderOnDeath
qboolean flammable
int explosionDelay
qboolean cameraOverride
float cameraRange
float cameraVertOffset
float cameraHorzOffset
float cameraPitchOffset
float cameraFOV
float cameraAlpha
qboolean cameraPitchDependantVertOffset
int modelIndex
void(* AnimateVehicle )(Vehicle_t *pVeh)
void(* AnimateRiders )(Vehicle_t *pVeh)
qboolean(* ValidateBoard )(Vehicle_t *pVeh, bgEntity_t *pEnt)
void(* SetParent )(Vehicle_t *pVeh, bgEntity_t *pParentEntity)
void(* SetPilot )(Vehicle_t *pVeh, bgEntity_t *pPilot)
qboolean(* AddPassenger )(Vehicle_t *pVeh)
void(* Animate )(Vehicle_t *pVeh)
qboolean(* Board )(Vehicle_t *pVeh, bgEntity_t *pEnt)
qboolean(* Eject )(Vehicle_t *pVeh, bgEntity_t *pEnt, qboolean forceEject)
qboolean(* EjectAll )(Vehicle_t *pVeh)
void(* StartDeathDelay )(Vehicle_t *pVeh, int iDelayTime)
void(* DeathUpdate )(Vehicle_t *pVeh)
void(* RegisterAssets )(Vehicle_t *pVeh)
qboolean(* Initialize )(Vehicle_t *pVeh)
qboolean(* Update )(Vehicle_t *pVeh, const usercmd_t *pUcmd)
qboolean(* UpdateRider )(Vehicle_t *pVeh, bgEntity_t *pRider, usercmd_t *pUcmd)
void(* ProcessMoveCommands )(Vehicle_t *pVeh)
void(* ProcessOrientCommands )(Vehicle_t *pVeh)
void(* AttachRiders )(Vehicle_t *pVeh)
void(* Ghost )(Vehicle_t *pVeh, bgEntity_t *pEnt)
void(* UnGhost )(Vehicle_t *pVeh, bgEntity_t *pEnt)
const bgEntity_t *(* GetPilot )(Vehicle_t *pVeh)
qboolean(* Inhabited )(Vehicle_t *pVeh)


Field Documentation

float vehicleInfo_t::acceleration
 

Definition at line 152 of file bg_vehicles.h.

float vehicleInfo_t::accelIdle
 

Definition at line 151 of file bg_vehicles.h.

qboolean(* vehicleInfo_t::AddPassenger)( Vehicle_t *pVeh )
 

Referenced by G_SetSharedVehicleFunctions().

void(* vehicleInfo_t::Animate)( Vehicle_t *pVeh )
 

Referenced by G_SetSharedVehicleFunctions(), and PmoveSingle().

void(* vehicleInfo_t::AnimateRiders)( Vehicle_t *pVeh )
 

Referenced by Animate(), G_SetAnimalVehicleFunctions(), G_SetFighterVehicleFunctions(), and G_SetSpeederVehicleFunctions().

void(* vehicleInfo_t::AnimateVehicle)( Vehicle_t *pVeh )
 

Referenced by Animate(), G_SetAnimalVehicleFunctions(), G_SetFighterVehicleFunctions(), G_SetSpeederVehicleFunctions(), and G_SetWalkerVehicleFunctions().

int vehicleInfo_t::armor
 

Definition at line 173 of file bg_vehicles.h.

Referenced by CG_DrawVehicleArmor(), Initialize(), Update(), and VEH_LoadVehicle().

void(* vehicleInfo_t::AttachRiders)( Vehicle_t *pVeh )
 

Referenced by CG_Player(), G_SetAnimalVehicleFunctions(), G_SetFighterVehicleFunctions(), G_SetSharedVehicleFunctions(), G_SetSpeederVehicleFunctions(), G_SetWalkerVehicleFunctions(), and PmoveSingle().

float vehicleInfo_t::bankingSpeed
 

Definition at line 158 of file bg_vehicles.h.

qboolean(* vehicleInfo_t::Board)( Vehicle_t *pVeh, bgEntity_t *pEnt )
 

Referenced by G_SetFighterVehicleFunctions(), G_SetSharedVehicleFunctions(), G_SetWalkerVehicleFunctions(), NPC_Use(), PmoveSingle(), and TryUse().

float vehicleInfo_t::bouyancy
 

Definition at line 250 of file bg_vehicles.h.

Referenced by PM_HoverTrace().

float vehicleInfo_t::braking
 

Definition at line 161 of file bg_vehicles.h.

float vehicleInfo_t::cameraAlpha
 

Definition at line 272 of file bg_vehicles.h.

Referenced by CG_CheckThirdPersonAlpha().

float vehicleInfo_t::cameraFOV
 

Definition at line 271 of file bg_vehicles.h.

float vehicleInfo_t::cameraHorzOffset
 

Definition at line 269 of file bg_vehicles.h.

Referenced by WP_GetVehicleCamPos().

qboolean vehicleInfo_t::cameraOverride
 

Definition at line 266 of file bg_vehicles.h.

Referenced by CG_CheckThirdPersonAlpha().

qboolean vehicleInfo_t::cameraPitchDependantVertOffset
 

Definition at line 273 of file bg_vehicles.h.

Referenced by WP_GetVehicleCamPos().

float vehicleInfo_t::cameraPitchOffset
 

Definition at line 270 of file bg_vehicles.h.

Referenced by WP_GetVehicleCamPos().

float vehicleInfo_t::cameraRange
 

Definition at line 267 of file bg_vehicles.h.

Referenced by CG_CheckThirdPersonAlpha(), and WP_GetVehicleCamPos().

float vehicleInfo_t::cameraVertOffset
 

Definition at line 268 of file bg_vehicles.h.

Referenced by WP_GetVehicleCamPos().

vec3_t vehicleInfo_t::centerOfGravity
 

Definition at line 144 of file bg_vehicles.h.

Referenced by BG_VehicleClampData().

int vehicleInfo_t::crosshairShaderHandle
 

Definition at line 199 of file bg_vehicles.h.

void(* vehicleInfo_t::DeathUpdate)( Vehicle_t *pVeh )
 

Referenced by G_SetAnimalVehicleFunctions(), G_SetSharedVehicleFunctions(), and Update().

float vehicleInfo_t::decelIdle
 

Definition at line 153 of file bg_vehicles.h.

int vehicleInfo_t::dmgIndicBackgroundHandle
 

Definition at line 194 of file bg_vehicles.h.

Referenced by CG_DrawVehicleDamageHUD().

int vehicleInfo_t::dmgIndicFrameHandle
 

Definition at line 192 of file bg_vehicles.h.

Referenced by CG_DrawVehicleDamageHUD().

int vehicleInfo_t::dmgIndicShieldHandle
 

Definition at line 193 of file bg_vehicles.h.

Referenced by CG_DrawVehicleDamageHUD().

char* vehicleInfo_t::droidNPC
 

Definition at line 201 of file bg_vehicles.h.

Referenced by NPC_Begin(), and NPC_VehiclePrecache().

qboolean(* vehicleInfo_t::Eject)( Vehicle_t *pVeh, bgEntity_t *pEnt, qboolean forceEject )
 

Referenced by AnimateRiders(), ClientDisconnect(), EjectAll(), ForceGrip(), ForceThrow(), G_KnockOffVehicle(), G_SetFighterVehicleFunctions(), G_SetSharedVehicleFunctions(), NPC_Use(), player_die(), and TryUse().

qboolean(* vehicleInfo_t::EjectAll)( Vehicle_t *pVeh )
 

Referenced by G_SetSharedVehicleFunctions(), NPC_Use(), and Q3_RemoveEnt().

int vehicleInfo_t::explosionDamage
 

Definition at line 258 of file bg_vehicles.h.

Referenced by VEH_LoadVehicle().

int vehicleInfo_t::explosionDelay
 

Definition at line 264 of file bg_vehicles.h.

Referenced by player_die().

float vehicleInfo_t::explosionRadius
 

Definition at line 257 of file bg_vehicles.h.

qboolean vehicleInfo_t::flammable
 

Definition at line 263 of file bg_vehicles.h.

Referenced by VEH_LoadVehicle().

float vehicleInfo_t::friction
 

Definition at line 167 of file bg_vehicles.h.

int vehicleInfo_t::fuelMax
 

Definition at line 251 of file bg_vehicles.h.

int vehicleInfo_t::fuelRate
 

Definition at line 252 of file bg_vehicles.h.

int vehicleInfo_t::g2radius
 

Definition at line 189 of file bg_vehicles.h.

Referenced by CG_RadiusForCent().

const bgEntity_t*(* vehicleInfo_t::GetPilot)( Vehicle_t *pVeh )
 

void(* vehicleInfo_t::Ghost)( Vehicle_t *pVeh, bgEntity_t *pEnt )
 

Referenced by BG_FighterUpdate(), Board(), and G_SetSharedVehicleFunctions().

int vehicleInfo_t::gravity
 

Definition at line 246 of file bg_vehicles.h.

Referenced by BG_FighterUpdate(), ClientThink_real(), and Initialize().

int vehicleInfo_t::health_back
 

Definition at line 182 of file bg_vehicles.h.

Referenced by G_Damage(), and VEH_LoadVehicle().

int vehicleInfo_t::health_front
 

Definition at line 181 of file bg_vehicles.h.

Referenced by G_Damage(), and VEH_LoadVehicle().

int vehicleInfo_t::health_left
 

Definition at line 184 of file bg_vehicles.h.

Referenced by G_Damage(), and VEH_LoadVehicle().

int vehicleInfo_t::health_right
 

Definition at line 183 of file bg_vehicles.h.

Referenced by G_Damage(), and VEH_LoadVehicle().

float vehicleInfo_t::height
 

Definition at line 143 of file bg_vehicles.h.

Referenced by BG_VehicleAdjustBBoxForOrientation(), CG_CalcVehicleMuzzlePoint(), and WP_VehCheckTraceFromCamPos().

qboolean vehicleInfo_t::hideRider
 

Definition at line 261 of file bg_vehicles.h.

Referenced by Board(), CG_DrawVehicleHud(), Eject(), player_die(), space_touch(), and VEH_LoadVehicle().

float vehicleInfo_t::hoverHeight
 

Definition at line 247 of file bg_vehicles.h.

Referenced by PM_HoverTrace(), PM_SetSpecialMoveValues(), PM_StepSlideMove(), and VEH_LoadVehicle().

float vehicleInfo_t::hoverStrength
 

Definition at line 248 of file bg_vehicles.h.

Referenced by PM_HoverTrace().

int vehicleInfo_t::iconBackHandle
 

Definition at line 196 of file bg_vehicles.h.

Referenced by CG_DrawVehicleDamage().

int vehicleInfo_t::iconFrontHandle
 

Definition at line 195 of file bg_vehicles.h.

Referenced by CG_DrawVehicleDamage().

int vehicleInfo_t::iconLeftHandle
 

Definition at line 198 of file bg_vehicles.h.

Referenced by CG_DrawVehicleDamage().

int vehicleInfo_t::iconRightHandle
 

Definition at line 197 of file bg_vehicles.h.

Referenced by CG_DrawVehicleDamage().

int vehicleInfo_t::iDmgFX
 

Definition at line 226 of file bg_vehicles.h.

int vehicleInfo_t::iExhaustFX
 

Definition at line 219 of file bg_vehicles.h.

Referenced by Update().

int vehicleInfo_t::iExplodeFX
 

Definition at line 224 of file bg_vehicles.h.

int vehicleInfo_t::iImpactFX
 

Definition at line 223 of file bg_vehicles.h.

Referenced by PM_VehicleImpact().

int vehicleInfo_t::iInjureFX
 

Definition at line 227 of file bg_vehicles.h.

int vehicleInfo_t::iLWingFX
 

Definition at line 229 of file bg_vehicles.h.

qboolean(* vehicleInfo_t::Inhabited)( Vehicle_t *pVeh )
 

Referenced by FighterIsLanding(), FighterIsLaunching(), and G_SetSharedVehicleFunctions().

qboolean(* vehicleInfo_t::Initialize)( Vehicle_t *pVeh )
 

Referenced by G_SetSharedVehicleFunctions(), and NPC_Spawn_Do().

int vehicleInfo_t::iNoseFX
 

Definition at line 228 of file bg_vehicles.h.

int vehicleInfo_t::iRWingFX
 

Definition at line 230 of file bg_vehicles.h.

int vehicleInfo_t::iTrailFX
 

Definition at line 222 of file bg_vehicles.h.

int vehicleInfo_t::iTurboFX
 

Definition at line 220 of file bg_vehicles.h.

int vehicleInfo_t::iTurboStartFX
 

Definition at line 221 of file bg_vehicles.h.

int vehicleInfo_t::iWakeFX
 

Definition at line 225 of file bg_vehicles.h.

Referenced by PM_HoverTrace().

qboolean vehicleInfo_t::killRiderOnDeath
 

Definition at line 262 of file bg_vehicles.h.

Referenced by EjectAll().

float vehicleInfo_t::landingHeight
 

Definition at line 243 of file bg_vehicles.h.

Referenced by BG_FighterUpdate().

float vehicleInfo_t::length
 

Definition at line 141 of file bg_vehicles.h.

Referenced by BG_VehicleAdjustBBoxForOrientation(), and BG_VehTraceFromCamPos().

float vehicleInfo_t::lookPitch
 

Definition at line 139 of file bg_vehicles.h.

Referenced by PM_VehicleViewAngles().

float vehicleInfo_t::lookYaw
 

Definition at line 140 of file bg_vehicles.h.

int vehicleInfo_t::loudness
 

Definition at line 256 of file bg_vehicles.h.

int vehicleInfo_t::malfunctionArmorLevel
 

Definition at line 177 of file bg_vehicles.h.

int vehicleInfo_t::mass
 

Definition at line 172 of file bg_vehicles.h.

Referenced by Initialize(), and PM_VehicleImpact().

int vehicleInfo_t::maxPassengers
 

Definition at line 260 of file bg_vehicles.h.

Referenced by BG_FighterUpdate(), BG_VehicleClampData(), Board(), CG_CalcVehicleMuzzlePoint(), CG_CheckPassengerTurretView(), Eject(), EjectAll(), Initialize(), and ValidateBoard().

float vehicleInfo_t::maxSlope
 

Definition at line 168 of file bg_vehicles.h.

Referenced by PM_HoverTrace().

char* vehicleInfo_t::model
 

Definition at line 187 of file bg_vehicles.h.

Referenced by NPC_VehiclePrecache(), and VEH_LoadVehicle().

int vehicleInfo_t::modelIndex
 

Definition at line 281 of file bg_vehicles.h.

Referenced by VEH_LoadVehicle().

float vehicleInfo_t::mousePitch
 

Definition at line 163 of file bg_vehicles.h.

Referenced by BG_VehicleTurnRateForSpeed().

float vehicleInfo_t::mouseYaw
 

Definition at line 162 of file bg_vehicles.h.

Referenced by BG_VehicleTurnRateForSpeed().

char* vehicleInfo_t::name
 

Definition at line 134 of file bg_vehicles.h.

Referenced by BG_FighterUpdate(), and VEH_VehicleIndexForName().

int vehicleInfo_t::numHands
 

Definition at line 138 of file bg_vehicles.h.

Referenced by Board().

float vehicleInfo_t::pitchLimit
 

Definition at line 160 of file bg_vehicles.h.

void(* vehicleInfo_t::ProcessMoveCommands)( Vehicle_t *pVeh )
 

Referenced by G_SetAnimalVehicleFunctions(), G_SetFighterVehicleFunctions(), G_SetSpeederVehicleFunctions(), G_SetWalkerVehicleFunctions(), and PmoveSingle().

void(* vehicleInfo_t::ProcessOrientCommands)( Vehicle_t *pVeh )
 

Referenced by G_SetAnimalVehicleFunctions(), G_SetFighterVehicleFunctions(), G_SetSpeederVehicleFunctions(), G_SetWalkerVehicleFunctions(), and PmoveSingle().

int vehicleInfo_t::radarIconHandle
 

Definition at line 191 of file bg_vehicles.h.

Referenced by CG_DrawRadar().

void(* vehicleInfo_t::RegisterAssets)( Vehicle_t *pVeh )
 

Referenced by G_SetSharedVehicleFunctions(), G_SetWalkerVehicleFunctions(), and NPC_Spawn_Do().

int vehicleInfo_t::riderAnim
 

Definition at line 190 of file bg_vehicles.h.

float vehicleInfo_t::rollLimit
 

Definition at line 159 of file bg_vehicles.h.

void(* vehicleInfo_t::SetParent)( Vehicle_t *pVeh, bgEntity_t *pParentEntity )
 

Referenced by G_SetSharedVehicleFunctions().

void(* vehicleInfo_t::SetPilot)( Vehicle_t *pVeh, bgEntity_t *pPilot )
 

Referenced by Board(), Eject(), and G_SetSharedVehicleFunctions().

int vehicleInfo_t::shieldRechargeMS
 

Definition at line 175 of file bg_vehicles.h.

int vehicleInfo_t::shields
 

Definition at line 174 of file bg_vehicles.h.

Referenced by CG_DrawVehicleShields(), and Initialize().

int vehicleInfo_t::shieldShaderHandle
 

Definition at line 200 of file bg_vehicles.h.

Referenced by CG_Player().

char* vehicleInfo_t::skin
 

Definition at line 188 of file bg_vehicles.h.

Referenced by BG_GetVehicleSkinName(), CG_G2AnimEntModelLoad(), NPC_VehiclePrecache(), SetupGameGhoul2Model(), and VEH_LoadVehicle().

int vehicleInfo_t::soundEngineStart
 

Definition at line 205 of file bg_vehicles.h.

int vehicleInfo_t::soundFlyBy
 

Definition at line 212 of file bg_vehicles.h.

int vehicleInfo_t::soundFlyBy2
 

Definition at line 213 of file bg_vehicles.h.

int vehicleInfo_t::soundHyper
 

Definition at line 209 of file bg_vehicles.h.

int vehicleInfo_t::soundLand
 

Definition at line 210 of file bg_vehicles.h.

int vehicleInfo_t::soundLoop
 

Definition at line 206 of file bg_vehicles.h.

Referenced by Board().

int vehicleInfo_t::soundOff
 

Definition at line 211 of file bg_vehicles.h.

int vehicleInfo_t::soundOn
 

Definition at line 203 of file bg_vehicles.h.

Referenced by Board().

int vehicleInfo_t::soundShift1
 

Definition at line 214 of file bg_vehicles.h.

Referenced by VEH_StartStrafeRam().

int vehicleInfo_t::soundShift2
 

Definition at line 215 of file bg_vehicles.h.

Referenced by VEH_StartStrafeRam().

int vehicleInfo_t::soundShift3
 

Definition at line 216 of file bg_vehicles.h.

Referenced by VEH_StartStrafeRam().

int vehicleInfo_t::soundShift4
 

Definition at line 217 of file bg_vehicles.h.

Referenced by VEH_StartStrafeRam().

int vehicleInfo_t::soundSpin
 

Definition at line 207 of file bg_vehicles.h.

int vehicleInfo_t::soundTakeOff
 

Definition at line 204 of file bg_vehicles.h.

int vehicleInfo_t::soundTurbo
 

Definition at line 208 of file bg_vehicles.h.

qboolean vehicleInfo_t::speedDependantTurning
 

Definition at line 169 of file bg_vehicles.h.

Referenced by BG_VehicleTurnRateForSpeed().

float vehicleInfo_t::speedIdle
 

Definition at line 150 of file bg_vehicles.h.

float vehicleInfo_t::speedMax
 

Definition at line 147 of file bg_vehicles.h.

Referenced by AnimateRiders(), BG_VehicleTurnRateForSpeed(), CG_DrawVehicleSpeed(), PM_VehicleWeaponAnimate(), and ProcessOrientCommands().

float vehicleInfo_t::speedMin
 

Definition at line 149 of file bg_vehicles.h.

void(* vehicleInfo_t::StartDeathDelay)( Vehicle_t *pVeh, int iDelayTime )
 

Referenced by G_SetSharedVehicleFunctions().

float vehicleInfo_t::strafePerc
 

Definition at line 155 of file bg_vehicles.h.

int vehicleInfo_t::surfDestruction
 

Definition at line 178 of file bg_vehicles.h.

Referenced by PM_VehicleImpact().

float vehicleInfo_t::throttleSticks
 

Definition at line 154 of file bg_vehicles.h.

float vehicleInfo_t::toughness
 

Definition at line 176 of file bg_vehicles.h.

Referenced by PM_VehicleImpact().

float vehicleInfo_t::traction
 

Definition at line 166 of file bg_vehicles.h.

int vehicleInfo_t::turboDuration
 

Definition at line 253 of file bg_vehicles.h.

int vehicleInfo_t::turboRecharge
 

Definition at line 254 of file bg_vehicles.h.

Referenced by CG_DrawVehicleTurboRecharge().

float vehicleInfo_t::turboSpeed
 

Definition at line 148 of file bg_vehicles.h.

float vehicleInfo_t::turningSpeed
 

Definition at line 164 of file bg_vehicles.h.

Referenced by ProcessOrientCommands().

qboolean vehicleInfo_t::turnWhenStopped
 

Definition at line 165 of file bg_vehicles.h.

turretStats_t vehicleInfo_t::turret[MAX_VEHICLE_TURRETS]
 

Definition at line 240 of file bg_vehicles.h.

Referenced by CG_CalcVehicleMuzzlePoint(), CG_CheckPassengerTurretView(), CG_G2AnimEntModelLoad(), CG_VehMuzzleFireFX(), Initialize(), PM_VehicleViewAngles(), SetupGameGhoul2Model(), VEH_TurretAim(), VEH_TurretCheckFire(), VEH_TurretObeyPassengerControl(), and VEH_TurretThink().

vehicleType_t vehicleInfo_t::type
 

Definition at line 137 of file bg_vehicles.h.

Referenced by BG_SetSharedVehicleFunctions(), BG_UnrestrainedPitchRoll(), BG_VehicleAdjustBBoxForOrientation(), Board(), CG_CalcVehicleMuzzlePoint(), CG_CalcVehMuzzle(), CG_CheckTargetVehicle(), CG_DrawActiveFrame(), CG_G2AnimEntModelLoad(), CG_InATST(), CG_InFighter(), CG_Player(), CG_ResetPlayerEntity(), CG_SaberCompWork(), ClientThink_real(), DEMP2_AltRadiusDamage(), FireVehicleWeapon(), ForceGrip(), ForceThrow(), G_CanDisruptify(), G_CheapWeaponFire(), G_Damage(), G_MissileImpact(), G_VehicleSpawn(), NPC_ParseParms(), NPC_SetMiscDefaultData(), NPC_Spawn_Do(), player_die(), PM_AdjustAttackStates(), PM_SetSpecialMoveValues(), PM_StepSlideMove(), PM_UpdateViewAngles(), PM_VehicleImpact(), PM_VehicleWeaponAnimate(), PmoveSingle(), shipboundary_think(), Touch_Item(), ValidateBoard(), VEH_TryEject(), WP_CalcVehMuzzle(), WP_FireStunBaton(), and WP_VehCheckTraceFromCamPos().

void(* vehicleInfo_t::UnGhost)( Vehicle_t *pVeh, bgEntity_t *pEnt )
 

Referenced by Eject(), and G_SetSharedVehicleFunctions().

qboolean(* vehicleInfo_t::Update)( Vehicle_t *pVeh, const usercmd_t *pUcmd )
 

Referenced by G_SetAnimalVehicleFunctions(), G_SetFighterVehicleFunctions(), G_SetSharedVehicleFunctions(), G_SetSpeederVehicleFunctions(), and PmoveSingle().

qboolean(* vehicleInfo_t::UpdateRider)( Vehicle_t *pVeh, bgEntity_t *pRider, usercmd_t *pUcmd )
 

Referenced by G_SetSharedVehicleFunctions(), and PmoveSingle().

qboolean(* vehicleInfo_t::ValidateBoard)( Vehicle_t *pVeh, bgEntity_t *pEnt )
 

Referenced by Board(), and G_SetSharedVehicleFunctions().

int vehicleInfo_t::visibility
 

Definition at line 255 of file bg_vehicles.h.

qboolean vehicleInfo_t::waterProof
 

Definition at line 249 of file bg_vehicles.h.

int vehicleInfo_t::weapMuzzle[MAX_VEHICLE_MUZZLES]
 

Definition at line 237 of file bg_vehicles.h.

Referenced by CG_VehMuzzleFireFX(), and FireVehicleWeapon().

vehWeaponStats_t vehicleInfo_t::weapon[MAX_VEHICLE_WEAPONS]
 

Definition at line 233 of file bg_vehicles.h.

Referenced by CG_BracketEntity(), CG_DrawVehicleAmmo(), CG_DrawVehicleAmmoLower(), CG_DrawVehicleAmmoUpper(), CG_DrawVehicleHud(), CG_DrawVehicleWeaponsLinked(), CG_EntityEvent(), FireVehicleWeapon(), and Initialize().

float vehicleInfo_t::width
 

Definition at line 142 of file bg_vehicles.h.

Referenced by BG_VehicleAdjustBBoxForOrientation().


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