mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'can-communication' into 'master'
Spray Can Statistics Communication See merge request KartKrew/Kart!2345
This commit is contained in:
commit
e14f510fc7
1 changed files with 14 additions and 3 deletions
|
|
@ -8093,13 +8093,24 @@ static void M_DrawStatsMaps(void)
|
|||
return;
|
||||
}
|
||||
|
||||
INT32 mapsunfinished = 0;
|
||||
INT32 mapsunfinished = 0, medalspos;
|
||||
|
||||
V_DrawThinString(30, 60, 0, va("x %d/%d", statisticsmenu.gotmedals, statisticsmenu.nummedals));
|
||||
char *medalcountstr = va("x %d/%d", statisticsmenu.gotmedals, statisticsmenu.nummedals);
|
||||
|
||||
V_DrawThinString(30, 60, 0, medalcountstr);
|
||||
V_DrawMappedPatch(20, 60, 0, W_CachePatchName("GOTITA", PU_CACHE),
|
||||
R_GetTranslationColormap(TC_DEFAULT, SKINCOLOR_GOLD, GTC_MENUCACHE));
|
||||
|
||||
INT32 medalspos = BASEVIDWIDTH - 20;
|
||||
if (gamedata->numspraycans)
|
||||
{
|
||||
medalspos = 30 + V_ThinStringWidth(medalcountstr, 0);
|
||||
medalcountstr = va("x %d/%d", gamedata->gotspraycans, gamedata->numspraycans);
|
||||
V_DrawThinString(20 + medalspos, 60, 0, medalcountstr);
|
||||
V_DrawMappedPatch(10 + medalspos, 60, 0, W_CachePatchName("GOTCAN", PU_CACHE),
|
||||
R_GetTranslationColormap(TC_DEFAULT, gamedata->spraycans[0].col, GTC_MENUCACHE));
|
||||
}
|
||||
|
||||
medalspos = BASEVIDWIDTH - 20;
|
||||
|
||||
boolean timeattack[3];
|
||||
timeattack[0] = M_SecretUnlocked(SECRET_TIMEATTACK, true);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue