|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "timer.qh"#include "scoreboard.qh"#include <client/draw.qh>#include <client/hud/panel/racetimer.qh>#include <client/view.qh>#include <common/gametypes/_mod.qh>Go to the source code of this file.
Functions | |
| void | HUD_Timer () |
| vector | HUD_Timer_Color (float timeleft, float timelimit) |
| void | HUD_Timer_Export (int fh) |
| float | HUD_Timer_TimeElapsed (float curtime, float starttime) |
| float | HUD_Timer_TimeLeft (float curtime, float starttime, float timelimit) |
| void HUD_Timer | ( | ) |
Definition at line 67 of file timer.qc.
References autocvar__hud_configure, autocvar_hud_panel_timer, autocvar_hud_panel_timer_dynamichud, autocvar_hud_panel_timer_increment, autocvar_hud_panel_timer_secondary, draw_beginBoldFont, draw_endBoldFont, DRAWFLAG_NORMAL, drawstring_aspect(), eX, eY, game_stopped_time, HUD_Panel_DrawBg, HUD_Panel_LoadCvars(), HUD_Scale_Disable(), HUD_Scale_Enable(), HUD_Timer_Color(), HUD_Timer_TimeElapsed(), HUD_Timer_TimeLeft(), intermission_time, numplayers, OVERTIME_SUDDENDEATH, overtimes, panel_bg_padding, panel_fg_alpha, panel_pos, panel_size, round_timelimit, Scoreboard_UpdatePlayerTeams(), seconds_tostring(), srv_minplayers, STAT, string_null, teamnagger, time, timer, ts_max, ts_min, vec2, vector, and warmup_stage.
Definition at line 16 of file timer.qc.
References autocvar_hud_panel_timer_warning_red, autocvar_hud_panel_timer_warning_relative, autocvar_hud_panel_timer_warning_relative_red, autocvar_hud_panel_timer_warning_relative_yellow, autocvar_hud_panel_timer_warning_yellow, ISGAMETYPE, race_server_record, TIME_DECODE, and vector.
Referenced by HUD_Timer().
Definition at line 51 of file timer.qc.
References autocvar_hud_panel_timer_unbound, floor(), and max().
Referenced by HUD_Timer().
Definition at line 59 of file timer.qc.
References autocvar_hud_panel_timer_unbound, bound(), and ceil().
Referenced by HUD_Timer().