Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
vehicle.qh File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Vehicle

Variables

entity tur_head
 This ent is a player slot on a multi-person vehicle.
entity vehicledef
const int VHF_DEATHEJECT = BIT(6)
 Vehicles energy regenerates.
const int VHF_DMGHEADROLL = BIT(12)
 Add random angles each frame if health < 50%.
const int VHF_DMGROLL = BIT(11)
 Add random velocity each frame if health < 50%.
const int VHF_DMGSHAKE = BIT(10)
 Vehicle is airborn.
const int VHF_ENERGYREGEN = BIT(5)
 Vehicles health regenerates.
const int VHF_HASSHIELD = BIT(2)
 Indicates vehicle.
const int VHF_HEALTHREGEN = BIT(4)
 Vehicles shield regenerates.
const int VHF_ISVEHICLE = BIT(1)
const int VHF_MOVE_FLY = BIT(9)
 Vehicle hover close to gound.
const int VHF_MOVE_GROUND = BIT(7)
 Vehicle ejects pilot upon fatal damage.
const int VHF_MOVE_HOVER = BIT(8)
 Vehicle moves on gound.
const int VHF_MULTISLOT = BIT(13)
 Add random head angles each frame if health < 50%.
const int VHF_PLAYERSLOT = BIT(14)
 Vehicle has multiple player slots.
const int VHF_SHIELDREGEN = BIT(3)
 Vehicle has shileding.

Variable Documentation

◆ tur_head

entity tur_head

This ent is a player slot on a multi-person vehicle.

Definition at line 100 of file vehicle.qh.

◆ vehicledef

◆ VHF_DEATHEJECT

const int VHF_DEATHEJECT = BIT(6)

Vehicles energy regenerates.

Definition at line 89 of file vehicle.qh.

Referenced by vehicles_damage().

◆ VHF_DMGHEADROLL

const int VHF_DMGHEADROLL = BIT(12)

Add random angles each frame if health < 50%.

Definition at line 95 of file vehicle.qh.

Referenced by vehicles_painframe().

◆ VHF_DMGROLL

const int VHF_DMGROLL = BIT(11)

Add random velocity each frame if health < 50%.

Definition at line 94 of file vehicle.qh.

Referenced by vehicles_painframe().

◆ VHF_DMGSHAKE

const int VHF_DMGSHAKE = BIT(10)

Vehicle is airborn.

Definition at line 93 of file vehicle.qh.

Referenced by vehicles_painframe().

◆ VHF_ENERGYREGEN

const int VHF_ENERGYREGEN = BIT(5)

Vehicles health regenerates.

Definition at line 88 of file vehicle.qh.

Referenced by bumblebee_regen(), racer_frame(), raptor_frame(), and raptor_takeoff().

◆ VHF_HASSHIELD

const int VHF_HASSHIELD = BIT(2)

◆ VHF_HEALTHREGEN

const int VHF_HEALTHREGEN = BIT(4)

Vehicles shield regenerates.

Definition at line 87 of file vehicle.qh.

Referenced by bumblebee_regen(), racer_frame(), raptor_frame(), raptor_takeoff(), and spiderbot_frame().

◆ VHF_ISVEHICLE

const int VHF_ISVEHICLE = BIT(1)

Definition at line 84 of file vehicle.qh.

Referenced by vehicle_initialize().

◆ VHF_MOVE_FLY

const int VHF_MOVE_FLY = BIT(9)

Vehicle hover close to gound.

Definition at line 92 of file vehicle.qh.

◆ VHF_MOVE_GROUND

const int VHF_MOVE_GROUND = BIT(7)

Vehicle ejects pilot upon fatal damage.

Definition at line 90 of file vehicle.qh.

◆ VHF_MOVE_HOVER

const int VHF_MOVE_HOVER = BIT(8)

Vehicle moves on gound.

Definition at line 91 of file vehicle.qh.

◆ VHF_MULTISLOT

const int VHF_MULTISLOT = BIT(13)

Add random head angles each frame if health < 50%.

Definition at line 96 of file vehicle.qh.

Referenced by PlayerFrame(), PlayerUseKey(), vehicle_addplayerslot(), and vehicles_enter().

◆ VHF_PLAYERSLOT

const int VHF_PLAYERSLOT = BIT(14)

Vehicle has multiple player slots.

Definition at line 97 of file vehicle.qh.

Referenced by antilag_record(), antilag_restore(), antilag_takeback(), vehicle_addplayerslot(), and vehicles_exit().

◆ VHF_SHIELDREGEN

const int VHF_SHIELDREGEN = BIT(3)