mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Add emblem counter to the Extras checklist.
This commit is contained in:
parent
9e272fe0b9
commit
82a8a0f455
1 changed files with 8 additions and 1 deletions
|
@ -7187,13 +7187,20 @@ static void M_HandleChecklist(INT32 choice)
|
||||||
|
|
||||||
static void M_DrawChecklist(void)
|
static void M_DrawChecklist(void)
|
||||||
{
|
{
|
||||||
INT32 i = check_on, j = 0, y = currentMenu->y;
|
INT32 i = check_on, j = 0, y = currentMenu->y, emblems = numemblems+numextraemblems;
|
||||||
UINT32 condnum, previd, maxcond;
|
UINT32 condnum, previd, maxcond;
|
||||||
condition_t *cond;
|
condition_t *cond;
|
||||||
|
|
||||||
// draw title (or big pic)
|
// draw title (or big pic)
|
||||||
M_DrawMenuTitle();
|
M_DrawMenuTitle();
|
||||||
|
|
||||||
|
// draw emblem counter
|
||||||
|
if (emblems > 0)
|
||||||
|
{
|
||||||
|
V_DrawString(42, 20, (emblems == M_CountEmblems()) ? V_GREENMAP : 0, va("%d/%d", M_CountEmblems(), emblems));
|
||||||
|
V_DrawSmallScaledPatch(28, 20, 0, W_CachePatchName("EMBLICON", PU_PATCH));
|
||||||
|
}
|
||||||
|
|
||||||
if (check_on)
|
if (check_on)
|
||||||
V_DrawString(10, y-(skullAnimCounter/5), V_YELLOWMAP, "\x1A");
|
V_DrawString(10, y-(skullAnimCounter/5), V_YELLOWMAP, "\x1A");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue