|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "physics.qh"#include <client/draw.qh>#include <lib/csqcmodel/cl_player.qh>#include <common/physics/player.qh>#include "strafehud.qh"Go to the source code of this file.
Functions | |
| void | HUD_Physics () |
| void | HUD_Physics_Export (int fh) |
| void HUD_Physics | ( | ) |
Definition at line 38 of file physics.qc.
References acc_avg, acc_prev_time, acc_prev_vel, ACCEL2GRAV, autocvar__hud_configure, autocvar_hud_panel_physics, autocvar_hud_panel_physics_acceleration_max, autocvar_hud_panel_physics_acceleration_max_slick, autocvar_hud_panel_physics_acceleration_movingaverage, autocvar_hud_panel_physics_acceleration_progressbar_mode, autocvar_hud_panel_physics_acceleration_progressbar_nonlinear, autocvar_hud_panel_physics_acceleration_progressbar_scale, autocvar_hud_panel_physics_acceleration_vertical, autocvar_hud_panel_physics_baralign, autocvar_hud_panel_physics_dynamichud, autocvar_hud_panel_physics_flip, autocvar_hud_panel_physics_force_layout, autocvar_hud_panel_physics_jumpspeed, autocvar_hud_panel_physics_jumpspeed_time, autocvar_hud_panel_physics_progressbar, autocvar_hud_panel_physics_speed_colored, autocvar_hud_panel_physics_speed_max, autocvar_hud_panel_physics_speed_unit_show, autocvar_hud_panel_physics_speed_vertical, autocvar_hud_panel_physics_text, autocvar_hud_panel_physics_text_scale, autocvar_hud_panel_physics_topspeed, autocvar_hud_panel_physics_topspeed_time, autocvar_hud_panel_physics_update_interval, autocvar_hud_progressbar_acceleration_color, autocvar_hud_progressbar_acceleration_neg_color, autocvar_hud_progressbar_alpha, autocvar_hud_progressbar_speed_color, autocvar_hud_speed_unit, BIT, BITS, bound(), cos(), csqcplayer, discrete_accel, discrete_speed, discrete_top_speed, draw_beginBoldFont, draw_endBoldFont, drawfill, DRAWFLAG_NORMAL, drawstring_aspect(), entity(), eX, eY, floor(), ftos(), ftos_decimals(), GetSpeedUnit(), GetSpeedUnitFactor(), HUD_Panel_DrawBg, HUD_Panel_DrawProgressBar(), HUD_Panel_LoadCvars(), HUD_Scale_Disable(), HUD_Scale_Enable(), isdemo(), jump_speed, jump_speed_time, M_PI_2, max(), min(), MUTATOR_CALLHOOK, panel_bg_padding, panel_fg_alpha, panel_pos, panel_size, PHYS_ACCELERATE, PHYS_FRICTION, PHYS_SLICKACCELERATE, PHYSICS_BARALIGN_CENTER, PHYSICS_BARALIGN_ONLY_LEFT, PHYSICS_BARALIGN_ONLY_RIGHT, PHYSICS_BARALIGN_RIGHT, PHYSICS_LAYOUT_HORIZONTAL, PHYSICS_LAYOUT_VERTICAL, PHYSICS_PROGRESSBAR_ACCEL, PHYSICS_PROGRESSBAR_BOTH, PHYSICS_PROGRESSBAR_SPEED, PHYSICS_TEXT_ACCEL, PHYSICS_TEXT_BOTH, PHYSICS_TEXT_SPEED, physics_update_time, prev_speed2d, prev_vel_z, rint(), spectatee_status, speed, sqrt(), STAT, StrafeHUD_DetermineJumpHeld(), StrafeHUD_DetermineOnGround(), StrafeHUD_DetermineOnSlick(), StrafeHUD_GetStrafeplayer(), strcat(), time, top_speed, top_speed_time, vec2, vector, and vlen().
Definition at line 10 of file physics.qc.
References HUD_Write_Cvar.
| float acc_avg |
Definition at line 35 of file physics.qc.
Referenced by HUD_Physics().
| float acc_prev_time |
Definition at line 35 of file physics.qc.
Referenced by HUD_Physics().
| vector acc_prev_vel |
Definition at line 34 of file physics.qc.
Referenced by HUD_Physics().
| float discrete_accel |
Definition at line 37 of file physics.qc.
Referenced by HUD_Physics().
| float discrete_speed |
Definition at line 37 of file physics.qc.
Referenced by HUD_Physics().
| float discrete_top_speed |
Definition at line 37 of file physics.qc.
Referenced by HUD_Physics().
| float jump_speed |
Definition at line 35 of file physics.qc.
Referenced by HUD_Physics().
| float jump_speed_time |
Definition at line 35 of file physics.qc.
Referenced by HUD_Physics().
| float physics_update_time |
Definition at line 37 of file physics.qc.
Referenced by HUD_Physics().
| float prev_speed2d = 0 |
Definition at line 36 of file physics.qc.
Referenced by HUD_Physics().
| float prev_vel_z = 0 |
Definition at line 36 of file physics.qc.
Referenced by HUD_Physics().
| float top_speed |
Definition at line 35 of file physics.qc.
Referenced by HUD_Physics().
| float top_speed_time |
Definition at line 35 of file physics.qc.
Referenced by HUD_Physics().