|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "checkpoints.qh"#include "racetimer.qh"#include "physics.qh"#include <common/gametypes/gametype/race/race.qh>#include <client/draw.qh>#include <common/ent_cs.qh>Go to the source code of this file.
Functions | |
| vector | Checkpoints_Draw (int end, vector pos, vector fontsize, vector rs_fontsize) |
| vector | Checkpoints_drawstring (string s, vector pos, vector sz, float a, vector fontsize) |
| void | HUD_Checkpoints () |
| void | HUD_Checkpoints_Export (int fh) |
Variables | |
| const float | CHECKPOINTS_BASE_SIZE = 0.75 |
| const float | CHECKPOINTS_SPACING = 0.25 |
| string | demolines [10] |
Definition at line 69 of file checkpoints.qc.
References autocvar__hud_configure, autocvar_hud_panel_checkpoints_flip, Checkpoints_drawstring(), demolines, panel_fg_alpha, panel_pos, panel_size, race_checkpoint_splits, and vector.
Referenced by HUD_Checkpoints().
Definition at line 24 of file checkpoints.qc.
References autocvar_hud_panel_checkpoints_align, autocvar_hud_panel_checkpoints_flip, bound(), CHECKPOINTS_SPACING, drawcolorcodedstring, DRAWFLAG_NORMAL, eX, getWrappedLine(), getWrappedLine_remaining, stringwidth_colors(), and vector.
Referenced by Checkpoints_Draw().
| void HUD_Checkpoints | ( | ) |
Definition at line 92 of file checkpoints.qc.
References autocvar__hud_configure, autocvar_hud_panel_checkpoints, autocvar_hud_panel_checkpoints_dynamichud, autocvar_hud_panel_checkpoints_flip, autocvar_hud_panel_checkpoints_fontscale, autocvar_hud_progressbar_acceleration_color, autocvar_hud_progressbar_acceleration_neg_color, autocvar_hud_speed_unit, CHECKPOINTS_BASE_SIZE, Checkpoints_Draw(), demolines, GetSpeedUnit(), GetSpeedUnitFactor(), hud_fontsize, HUD_Panel_DrawBg, HUD_Panel_LoadCvars(), HUD_Scale_Disable(), HUD_Scale_Enable(), ISGAMETYPE, panel_bg_padding, panel_pos, panel_size, race_checkpoint, race_nextcheckpoint, rgb_to_hexcolor(), strcat(), TIME_ENCODE, TIME_ENCODED_TOSTRING, and vector.
Definition at line 11 of file checkpoints.qc.
References HUD_Write_Cvar.
| const float CHECKPOINTS_BASE_SIZE = 0.75 |
Definition at line 20 of file checkpoints.qc.
Referenced by HUD_Checkpoints().
| const float CHECKPOINTS_SPACING = 0.25 |
Definition at line 19 of file checkpoints.qc.
Referenced by Checkpoints_drawstring().
| string demolines[10] |
Definition at line 22 of file checkpoints.qc.
Referenced by Checkpoints_Draw(), and HUD_Checkpoints().