|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "../strafehud.qh"Go to the source code of this file.
Variables | |
| float | jumpheight_max |
| float | jumpheight_min |
| void StrafeHUD_DrawJumpHeight | ( | entity | e, |
| bool | onground, | ||
| bool | swimming, | ||
| float | text_offset_top, | ||
| float | text_offset_bottom ) |
Definition at line 127 of file extra.qc.
References autocvar_hud_panel_strafehud_jumpheight, autocvar_hud_panel_strafehud_jumpheight_color, autocvar_hud_panel_strafehud_jumpheight_fade, autocvar_hud_panel_strafehud_jumpheight_min, autocvar_hud_panel_strafehud_jumpheight_pos, autocvar_hud_panel_strafehud_jumpheight_size, autocvar_hud_panel_strafehud_unit_show, autocvar_hud_speed_unit, entity(), ftos_decimals(), IS_DEAD, IS_PLAYER, jumpheight_max, jumpheight_min, max(), panel_size, StrafeHUD_DrawTextIndicator(), StrafeHUD_GetLengthUnit(), StrafeHUD_GetLengthUnitFactor(), strcat(), and time.
Referenced by HUD_StrafeHUD().
Definition at line 23 of file extra.qc.
References autocvar_hud_panel_strafehud_slickdetector, autocvar_hud_panel_strafehud_slickdetector_alpha, autocvar_hud_panel_strafehud_slickdetector_color, autocvar_hud_panel_strafehud_slickdetector_granularity, autocvar_hud_panel_strafehud_slickdetector_height, autocvar_hud_panel_strafehud_slickdetector_range, bound(), cos(), DEG2RAD, drawfill, DRAWFLAG_NORMAL, entity(), eY, eZ, MOVE_NOMONSTERS, panel_fg_alpha, panel_pos, panel_size, PHYS_FRICTION, Q3SURFACEFLAG_SLICK, sin(), SLICKDETECT_STEPS_EPSILON, trace_dphitq3surfaceflags, trace_fraction, and vector.
Referenced by HUD_StrafeHUD().
Definition at line 186 of file extra.qc.
References autocvar_hud_panel_strafehud_startspeed, autocvar_hud_panel_strafehud_startspeed_color, autocvar_hud_panel_strafehud_startspeed_fade, autocvar_hud_panel_strafehud_startspeed_pos, autocvar_hud_panel_strafehud_startspeed_size, autocvar_hud_panel_strafehud_unit_show, autocvar_hud_speed_unit, ftos_decimals(), GetSpeedUnit(), GetSpeedUnitFactor(), panel_size, race_checkpoint, race_checkpointtime, race_nextcheckpoint, speed, StrafeHUD_DrawTextIndicator(), and strcat().
Referenced by HUD_StrafeHUD().
| void StrafeHUD_DrawStrafeEfficiency | ( | float | strafe_ratio, |
| float | text_offset_top, | ||
| float | text_offset_bottom ) |
Definition at line 168 of file extra.qc.
References autocvar_hud_panel_strafehud_strafeefficiency, autocvar_hud_panel_strafehud_strafeefficiency_pos, autocvar_hud_panel_strafehud_strafeefficiency_size, fabs(), ftos_decimals(), panel_size, StrafeHUD_DrawTextIndicator(), StrafeHUD_MixColors(), strcat(), time, and vector.
Referenced by HUD_StrafeHUD().
Definition at line 108 of file extra.qc.
References autocvar_hud_panel_strafehud_vangle, autocvar_hud_panel_strafehud_vangle_color, autocvar_hud_panel_strafehud_vangle_pos, autocvar_hud_panel_strafehud_vangle_size, entity(), ftos_decimals(), panel_size, PHYS_INPUT_ANGLES, StrafeHUD_DrawTextIndicator(), and time.
Referenced by HUD_StrafeHUD().
Definition at line 216 of file extra.qc.
References ATTN_NONE, autocvar_hud_panel_strafehud_sonar, autocvar_hud_panel_strafehud_sonar_interval_exponent, autocvar_hud_panel_strafehud_sonar_interval_range, autocvar_hud_panel_strafehud_sonar_interval_start, autocvar_hud_panel_strafehud_sonar_pitch_exponent, autocvar_hud_panel_strafehud_sonar_pitch_range, autocvar_hud_panel_strafehud_sonar_pitch_start, autocvar_hud_panel_strafehud_sonar_start, autocvar_hud_panel_strafehud_sonar_volume_exponent, autocvar_hud_panel_strafehud_sonar_volume_range, autocvar_hud_panel_strafehud_sonar_volume_start, bound(), CH_INFO, csqcplayer, max(), time, and VOL_BASE.
Referenced by HUD_StrafeHUD().
| string StrafeHUD_UpdateSonarSound | ( | ) |
Definition at line 246 of file extra.qc.
References _Sound_fixpath(), autocvar_hud_panel_strafehud_sonar_audio, precache_sound(), strfree, string_null, and strzone().
Referenced by HUD_StrafeHUD().
| float jumpheight_max |
Definition at line 4 of file extra.qh.
Referenced by PlayerJump(), and StrafeHUD_DrawJumpHeight().
| float jumpheight_min |
Definition at line 4 of file extra.qh.
Referenced by PlayerJump(), and StrafeHUD_DrawJumpHeight().