Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
physics.qh File Reference
#include "../panel.qh"
Include dependency graph for physics.qh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

const float ACCEL2GRAV = 0.00259007918096393775
bool autocvar_hud_panel_physics
float autocvar_hud_panel_physics_acceleration_max
float autocvar_hud_panel_physics_acceleration_max_slick = -1
float autocvar_hud_panel_physics_acceleration_movingaverage = 1
int autocvar_hud_panel_physics_acceleration_progressbar_mode
bool autocvar_hud_panel_physics_acceleration_progressbar_nonlinear
float autocvar_hud_panel_physics_acceleration_progressbar_scale
bool autocvar_hud_panel_physics_acceleration_vertical
int autocvar_hud_panel_physics_baralign
bool autocvar_hud_panel_physics_dynamichud = true
bool autocvar_hud_panel_physics_flip
int autocvar_hud_panel_physics_force_layout
bool autocvar_hud_panel_physics_jumpspeed
float autocvar_hud_panel_physics_jumpspeed_time = 1
int autocvar_hud_panel_physics_progressbar
bool autocvar_hud_panel_physics_speed_colored
float autocvar_hud_panel_physics_speed_max
bool autocvar_hud_panel_physics_speed_unit_show
bool autocvar_hud_panel_physics_speed_vertical
int autocvar_hud_panel_physics_text
float autocvar_hud_panel_physics_text_scale
bool autocvar_hud_panel_physics_topspeed
float autocvar_hud_panel_physics_topspeed_time
float autocvar_hud_panel_physics_update_interval
vector autocvar_hud_progressbar_acceleration_color
vector autocvar_hud_progressbar_acceleration_neg_color
vector autocvar_hud_progressbar_speed_color
const int PHYSICS_BARALIGN_CENTER = 4
const int PHYSICS_BARALIGN_LEFT = 0
const int PHYSICS_BARALIGN_ONLY_LEFT = 2
const int PHYSICS_BARALIGN_ONLY_RIGHT = 3
const int PHYSICS_BARALIGN_RIGHT = 1
const int PHYSICS_LAYOUT_AUTOMATIC = 0
const int PHYSICS_LAYOUT_HORIZONTAL = 1
const int PHYSICS_LAYOUT_VERTICAL = 2
const int PHYSICS_PROGRESSBAR_ACCEL = 3
const int PHYSICS_PROGRESSBAR_BOTH = 1
const int PHYSICS_PROGRESSBAR_NONE = 0
const int PHYSICS_PROGRESSBAR_SPEED = 2
const int PHYSICS_TEXT_ACCEL = 3
const int PHYSICS_TEXT_BOTH = 1
const int PHYSICS_TEXT_NONE = 0
const int PHYSICS_TEXT_SPEED = 2

Variable Documentation

◆ ACCEL2GRAV

const float ACCEL2GRAV = 0.00259007918096393775

Definition at line 54 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics

bool autocvar_hud_panel_physics

Definition at line 4 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_acceleration_max

float autocvar_hud_panel_physics_acceleration_max

Definition at line 9 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_acceleration_max_slick

float autocvar_hud_panel_physics_acceleration_max_slick = -1

Definition at line 10 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_acceleration_movingaverage

float autocvar_hud_panel_physics_acceleration_movingaverage = 1

Definition at line 5 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_acceleration_progressbar_mode

int autocvar_hud_panel_physics_acceleration_progressbar_mode

Definition at line 6 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_acceleration_progressbar_nonlinear

bool autocvar_hud_panel_physics_acceleration_progressbar_nonlinear

Definition at line 8 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_acceleration_progressbar_scale

float autocvar_hud_panel_physics_acceleration_progressbar_scale

Definition at line 7 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_acceleration_vertical

bool autocvar_hud_panel_physics_acceleration_vertical

Definition at line 13 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_baralign

int autocvar_hud_panel_physics_baralign

Definition at line 14 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_dynamichud

bool autocvar_hud_panel_physics_dynamichud = true

Definition at line 16 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_flip

bool autocvar_hud_panel_physics_flip

Definition at line 15 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_force_layout

int autocvar_hud_panel_physics_force_layout

Definition at line 27 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_jumpspeed

bool autocvar_hud_panel_physics_jumpspeed

Definition at line 25 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_jumpspeed_time

float autocvar_hud_panel_physics_jumpspeed_time = 1

Definition at line 26 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_progressbar

int autocvar_hud_panel_physics_progressbar

Definition at line 12 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_speed_colored

bool autocvar_hud_panel_physics_speed_colored

Definition at line 20 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_speed_max

float autocvar_hud_panel_physics_speed_max

Definition at line 17 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_speed_unit_show

bool autocvar_hud_panel_physics_speed_unit_show

Definition at line 18 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_speed_vertical

bool autocvar_hud_panel_physics_speed_vertical

Definition at line 19 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_text

int autocvar_hud_panel_physics_text

Definition at line 21 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_text_scale

float autocvar_hud_panel_physics_text_scale

Definition at line 22 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_topspeed

bool autocvar_hud_panel_physics_topspeed

Definition at line 23 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_topspeed_time

float autocvar_hud_panel_physics_topspeed_time

Definition at line 24 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_panel_physics_update_interval

float autocvar_hud_panel_physics_update_interval

Definition at line 11 of file physics.qh.

Referenced by HUD_Physics().

◆ autocvar_hud_progressbar_acceleration_color

vector autocvar_hud_progressbar_acceleration_color

Definition at line 29 of file physics.qh.

Referenced by HUD_Checkpoints(), HUD_Physics(), and HUD_RaceTimer().

◆ autocvar_hud_progressbar_acceleration_neg_color

vector autocvar_hud_progressbar_acceleration_neg_color

Definition at line 30 of file physics.qh.

Referenced by HUD_Checkpoints(), HUD_Physics(), and HUD_RaceTimer().

◆ autocvar_hud_progressbar_speed_color

vector autocvar_hud_progressbar_speed_color

Definition at line 31 of file physics.qh.

Referenced by HUD_Physics().

◆ PHYSICS_BARALIGN_CENTER

const int PHYSICS_BARALIGN_CENTER = 4

Definition at line 37 of file physics.qh.

Referenced by HUD_Physics().

◆ PHYSICS_BARALIGN_LEFT

const int PHYSICS_BARALIGN_LEFT = 0

Definition at line 33 of file physics.qh.

◆ PHYSICS_BARALIGN_ONLY_LEFT

const int PHYSICS_BARALIGN_ONLY_LEFT = 2

Definition at line 35 of file physics.qh.

Referenced by HUD_Physics().

◆ PHYSICS_BARALIGN_ONLY_RIGHT

const int PHYSICS_BARALIGN_ONLY_RIGHT = 3

Definition at line 36 of file physics.qh.

Referenced by HUD_Physics().

◆ PHYSICS_BARALIGN_RIGHT

const int PHYSICS_BARALIGN_RIGHT = 1

Definition at line 34 of file physics.qh.

Referenced by HUD_Physics().

◆ PHYSICS_LAYOUT_AUTOMATIC

const int PHYSICS_LAYOUT_AUTOMATIC = 0

Definition at line 49 of file physics.qh.

◆ PHYSICS_LAYOUT_HORIZONTAL

const int PHYSICS_LAYOUT_HORIZONTAL = 1

Definition at line 50 of file physics.qh.

Referenced by HUD_Physics().

◆ PHYSICS_LAYOUT_VERTICAL

const int PHYSICS_LAYOUT_VERTICAL = 2

Definition at line 51 of file physics.qh.

Referenced by HUD_Physics().

◆ PHYSICS_PROGRESSBAR_ACCEL

const int PHYSICS_PROGRESSBAR_ACCEL = 3

Definition at line 42 of file physics.qh.

Referenced by HUD_Physics().

◆ PHYSICS_PROGRESSBAR_BOTH

const int PHYSICS_PROGRESSBAR_BOTH = 1

Definition at line 40 of file physics.qh.

Referenced by HUD_Physics().

◆ PHYSICS_PROGRESSBAR_NONE

const int PHYSICS_PROGRESSBAR_NONE = 0

Definition at line 39 of file physics.qh.

◆ PHYSICS_PROGRESSBAR_SPEED

const int PHYSICS_PROGRESSBAR_SPEED = 2

Definition at line 41 of file physics.qh.

Referenced by HUD_Physics().

◆ PHYSICS_TEXT_ACCEL

const int PHYSICS_TEXT_ACCEL = 3

Definition at line 47 of file physics.qh.

Referenced by HUD_Physics().

◆ PHYSICS_TEXT_BOTH

const int PHYSICS_TEXT_BOTH = 1

Definition at line 45 of file physics.qh.

Referenced by HUD_Physics().

◆ PHYSICS_TEXT_NONE

const int PHYSICS_TEXT_NONE = 0

Definition at line 44 of file physics.qh.

◆ PHYSICS_TEXT_SPEED

const int PHYSICS_TEXT_SPEED = 2

Definition at line 46 of file physics.qh.

Referenced by HUD_Physics().