mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-03 13:42:31 +00:00
drawtimer cvar
This commit is contained in:
parent
e5f740f4a3
commit
216282ba64
3 changed files with 3 additions and 1 deletions
|
|
@ -913,6 +913,7 @@ consvar_t cv_debugrender_visplanes = PlayerCheat("debugrender_visplanes", "Off")
|
|||
consvar_t cv_debugvirtualkeyboard = PlayerCheat("debugvirtualkeyboard", "Off").on_off().description("Always show virtual keyboard instead of using real keyboard input.");
|
||||
consvar_t cv_devmode_screen = PlayerCheat("devmode_screen", "1").min_max(1, 4).description("Choose which splitscreen player devmode applies to");
|
||||
consvar_t cv_drawpickups = PlayerCheat("drawpickups", "Yes").yes_no().description("Hide rings, spheres, item capsules, prison capsules (visual only)");
|
||||
consvar_t cv_drawtimer = PlayerCheat("drawtimer", "Yes").yes_no().description("Always draw the timer (race checkpoint timing, etc)");
|
||||
|
||||
void lua_profile_OnChange(void);
|
||||
consvar_t cv_lua_profile = PlayerCheat("lua_profile", "0").values(CV_Unsigned).onchange(lua_profile_OnChange).description("Show hook timings over an average of N tics");
|
||||
|
|
|
|||
|
|
@ -6494,7 +6494,7 @@ void K_drawKartHUD(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (modeattacking || (gametyperules & GTR_TIMELIMIT))
|
||||
if (modeattacking || (gametyperules & GTR_TIMELIMIT) || cv_drawtimer.value)
|
||||
K_drawKartTimestamp(realtime, TIME_X, TIME_Y + (ta ? 2 : 0), flags, 0);
|
||||
|
||||
if (modeattacking)
|
||||
|
|
|
|||
|
|
@ -137,6 +137,7 @@ extern consvar_t cv_skybox;
|
|||
extern consvar_t cv_drawpickups;
|
||||
extern consvar_t cv_debugfinishline;
|
||||
extern consvar_t cv_drawinput;
|
||||
extern consvar_t cv_drawtimer;
|
||||
|
||||
// debugging
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue