mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
New consistent between-round countdowns using SmallNums
- Intermission
- Unlike before, shows in all contexts, not just netgame/netreplay
- Voting
- Replaces currently extant counter
This commit is contained in:
parent
84a2a94b28
commit
f4f52ede32
2 changed files with 22 additions and 4 deletions
12
src/k_vote.c
12
src/k_vote.c
|
|
@ -846,10 +846,14 @@ void Y_VoteDrawer(void)
|
||||||
{
|
{
|
||||||
const INT32 tickDown = (vote.timer + 1) / TICRATE;
|
const INT32 tickDown = (vote.timer + 1) / TICRATE;
|
||||||
|
|
||||||
V_DrawCenteredString(
|
// See also y_inter.c
|
||||||
BASEVIDWIDTH/2, 188,
|
V__DrawOneScaleString(
|
||||||
V_YELLOWMAP,
|
2*FRACUNIT,
|
||||||
va("Vote ends in %d", tickDown)
|
(BASEVIDHEIGHT - (2+8))*FRACUNIT,
|
||||||
|
FRACUNIT,
|
||||||
|
0, NULL,
|
||||||
|
OPPRF_FONT,
|
||||||
|
va("%d", tickDown)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1118,6 +1118,20 @@ skiptallydrawer:
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
const INT32 tickDown = (timer + 1)/TICRATE;
|
||||||
|
|
||||||
|
// See also k_vote.c
|
||||||
|
V__DrawOneScaleString(
|
||||||
|
2*FRACUNIT,
|
||||||
|
(BASEVIDHEIGHT - (2+8))*FRACUNIT,
|
||||||
|
FRACUNIT,
|
||||||
|
0, NULL,
|
||||||
|
OPPRF_FONT,
|
||||||
|
va("%d", tickDown)
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue