mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Add lua toggle for check hud
This commit is contained in:
parent
e84cac7933
commit
cf64a468f5
3 changed files with 7 additions and 2 deletions
|
@ -8781,8 +8781,11 @@ void K_drawKartHUD(void)
|
||||||
if (!demo.title && (!battlefullscreen || splitscreen))
|
if (!demo.title && (!battlefullscreen || splitscreen))
|
||||||
{
|
{
|
||||||
// Draw the CHECK indicator before the other items, so it's overlapped by everything else
|
// Draw the CHECK indicator before the other items, so it's overlapped by everything else
|
||||||
if (cv_kartcheck.value && !splitscreen && !players[displayplayers[0]].exiting && !freecam)
|
#ifdef HAVE_BLUA
|
||||||
K_drawKartPlayerCheck();
|
if (LUA_HudEnabled(hud_check)) // delete lua when?
|
||||||
|
#endif
|
||||||
|
if (cv_kartcheck.value && !splitscreen && !players[displayplayers[0]].exiting && !freecam)
|
||||||
|
K_drawKartPlayerCheck();
|
||||||
|
|
||||||
// Draw WANTED status
|
// Draw WANTED status
|
||||||
if (G_BattleGametype())
|
if (G_BattleGametype())
|
||||||
|
|
|
@ -19,6 +19,7 @@ enum hud {
|
||||||
hud_minimap,
|
hud_minimap,
|
||||||
hud_item,
|
hud_item,
|
||||||
hud_position,
|
hud_position,
|
||||||
|
hud_check, // "CHECK" f-zero indicator
|
||||||
hud_minirankings, // Rankings to the left
|
hud_minirankings, // Rankings to the left
|
||||||
hud_battlebumpers, // mini rankings battle bumpers.
|
hud_battlebumpers, // mini rankings battle bumpers.
|
||||||
hud_battlefullscreen, // battle huge text (WAIT, WIN, LOSE ...) + karma comeback time
|
hud_battlefullscreen, // battle huge text (WAIT, WIN, LOSE ...) + karma comeback time
|
||||||
|
|
|
@ -46,6 +46,7 @@ static const char *const hud_disable_options[] = {
|
||||||
"minimap",
|
"minimap",
|
||||||
"item",
|
"item",
|
||||||
"position",
|
"position",
|
||||||
|
"check", // "CHECK" f-zero indicator
|
||||||
"minirankings", // Gametype rankings to the left
|
"minirankings", // Gametype rankings to the left
|
||||||
"battlerankingsbumpers", // bumper drawer for battle. Useful if you want to make a custom battle gamemode without bumpers being involved.
|
"battlerankingsbumpers", // bumper drawer for battle. Useful if you want to make a custom battle gamemode without bumpers being involved.
|
||||||
"battlefullscreen", // battlefullscreen func (WAIT, ATTACK OR PROTECT ...)
|
"battlefullscreen", // battlefullscreen func (WAIT, ATTACK OR PROTECT ...)
|
||||||
|
|
Loading…
Reference in a new issue