mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-05 14:34:00 +00:00
Time Attack: display Y button prompt above timestamp
This commit is contained in:
parent
39bc04200e
commit
9950a8210c
1 changed files with 13 additions and 5 deletions
|
|
@ -5958,11 +5958,19 @@ void K_drawKartHUD(void)
|
|||
{
|
||||
// Draw the timestamp
|
||||
if (LUA_HudEnabled(hud_time))
|
||||
K_drawKartTimestamp(stplyr->realtime,
|
||||
TIME_X,
|
||||
TIME_Y,
|
||||
V_HUDTRANS|V_SLIDEIN|V_SNAPTOTOP|V_SNAPTORIGHT,
|
||||
0);
|
||||
{
|
||||
bool ta = modeattacking && !demo.playback;
|
||||
INT32 flags = V_HUDTRANS|V_SLIDEIN|V_SNAPTOTOP|V_SNAPTORIGHT;
|
||||
K_drawKartTimestamp(stplyr->realtime, TIME_X, TIME_Y + (ta ? 2 : 0), flags, 0);
|
||||
if (ta)
|
||||
{
|
||||
using srb2::Draw;
|
||||
Draw(BASEVIDWIDTH - 19, 2)
|
||||
.flags(flags | V_YELLOWMAP)
|
||||
.align(Draw::Align::kRight)
|
||||
.text("\xBE Restart");
|
||||
}
|
||||
}
|
||||
|
||||
islonesome = K_drawKartPositionFaces();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue