Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
physics.qh
Go to the documentation of this file.
1#pragma once
2#include "../panel.qh"
3
28
32
38
43
44const int PHYSICS_TEXT_NONE = 0;
45const int PHYSICS_TEXT_BOTH = 1;
46const int PHYSICS_TEXT_SPEED = 2;
47const int PHYSICS_TEXT_ACCEL = 3;
48
52
53// 1 m/s^2 = 0.0254 qu/s^2; 1 g = 9.80665 m/s^2
54const float ACCEL2GRAV = 0.00259007918096393775; // converts qu/s^2 acceleration to m/s^2, relative to real-world gravity
55// equivalent to 0.0254 / 9.80665
bool autocvar_hud_panel_physics_acceleration_vertical
Definition physics.qh:13
int autocvar_hud_panel_physics_acceleration_progressbar_mode
Definition physics.qh:6
bool autocvar_hud_panel_physics
Definition physics.qh:4
const int PHYSICS_BARALIGN_CENTER
Definition physics.qh:37
float autocvar_hud_panel_physics_acceleration_max
Definition physics.qh:9
const float ACCEL2GRAV
Definition physics.qh:54
bool autocvar_hud_panel_physics_speed_colored
Definition physics.qh:20
bool autocvar_hud_panel_physics_acceleration_progressbar_nonlinear
Definition physics.qh:8
float autocvar_hud_panel_physics_update_interval
Definition physics.qh:11
const int PHYSICS_TEXT_SPEED
Definition physics.qh:46
float autocvar_hud_panel_physics_text_scale
Definition physics.qh:22
int autocvar_hud_panel_physics_force_layout
Definition physics.qh:27
float autocvar_hud_panel_physics_speed_max
Definition physics.qh:17
const int PHYSICS_LAYOUT_HORIZONTAL
Definition physics.qh:50
const int PHYSICS_TEXT_BOTH
Definition physics.qh:45
float autocvar_hud_panel_physics_acceleration_max_slick
Definition physics.qh:10
bool autocvar_hud_panel_physics_dynamichud
Definition physics.qh:16
int autocvar_hud_panel_physics_progressbar
Definition physics.qh:12
const int PHYSICS_BARALIGN_RIGHT
Definition physics.qh:34
vector autocvar_hud_progressbar_acceleration_neg_color
Definition physics.qh:30
const int PHYSICS_PROGRESSBAR_SPEED
Definition physics.qh:41
float autocvar_hud_panel_physics_acceleration_movingaverage
Definition physics.qh:5
const int PHYSICS_LAYOUT_VERTICAL
Definition physics.qh:51
int autocvar_hud_panel_physics_text
Definition physics.qh:21
bool autocvar_hud_panel_physics_speed_vertical
Definition physics.qh:19
bool autocvar_hud_panel_physics_jumpspeed
Definition physics.qh:25
const int PHYSICS_PROGRESSBAR_NONE
Definition physics.qh:39
vector autocvar_hud_progressbar_speed_color
Definition physics.qh:31
const int PHYSICS_BARALIGN_ONLY_LEFT
Definition physics.qh:35
const int PHYSICS_BARALIGN_ONLY_RIGHT
Definition physics.qh:36
const int PHYSICS_TEXT_ACCEL
Definition physics.qh:47
const int PHYSICS_PROGRESSBAR_ACCEL
Definition physics.qh:42
float autocvar_hud_panel_physics_topspeed_time
Definition physics.qh:24
bool autocvar_hud_panel_physics_topspeed
Definition physics.qh:23
float autocvar_hud_panel_physics_acceleration_progressbar_scale
Definition physics.qh:7
const int PHYSICS_PROGRESSBAR_BOTH
Definition physics.qh:40
vector autocvar_hud_progressbar_acceleration_color
Definition physics.qh:29
const int PHYSICS_TEXT_NONE
Definition physics.qh:44
const int PHYSICS_BARALIGN_LEFT
Definition physics.qh:33
bool autocvar_hud_panel_physics_flip
Definition physics.qh:15
bool autocvar_hud_panel_physics_speed_unit_show
Definition physics.qh:18
int autocvar_hud_panel_physics_baralign
Definition physics.qh:14
const int PHYSICS_LAYOUT_AUTOMATIC
Definition physics.qh:49
float autocvar_hud_panel_physics_jumpspeed_time
Definition physics.qh:26
vector
Definition self.qh:92