mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Menus: draw headers in orange
This commit is contained in:
parent
3e7d377de5
commit
72f885e6ba
2 changed files with 6 additions and 4 deletions
|
|
@ -1202,6 +1202,8 @@ void M_HandleImageDef(INT32 choice);
|
|||
#define recommendedflags V_GREENMAP
|
||||
#define warningflags V_ORANGEMAP
|
||||
|
||||
#define M_ALTCOLOR V_ORANGEMAP
|
||||
|
||||
// For some menu highlights
|
||||
UINT16 M_GetCvPlayerColor(UINT8 pnum);
|
||||
|
||||
|
|
|
|||
|
|
@ -3438,7 +3438,7 @@ void M_DrawTimeAttack(void)
|
|||
if ((gametypes[levellist.newgametype]->rules & GTR_CIRCUIT)
|
||||
&& (mapheaderinfo[map]->numlaps != 1))
|
||||
{
|
||||
V_DrawRightAlignedMenuString(rightedge-12, timeheight, highlightflags, "BEST LAP:");
|
||||
V_DrawRightAlignedMenuString(rightedge-12, timeheight, M_ALTCOLOR, "BEST LAP:");
|
||||
K_drawKartTimestamp(laprec, 162+t, timeheight+6, 0, 2);
|
||||
timeheight += 30;
|
||||
}
|
||||
|
|
@ -3447,7 +3447,7 @@ void M_DrawTimeAttack(void)
|
|||
timeheight += 15;
|
||||
}
|
||||
|
||||
V_DrawRightAlignedMenuString(rightedge-12, timeheight, highlightflags, "BEST TIME:");
|
||||
V_DrawRightAlignedMenuString(rightedge-12, timeheight, M_ALTCOLOR, "BEST TIME:");
|
||||
K_drawKartTimestamp(timerec, 162+t, timeheight+6, 0, 1);
|
||||
|
||||
// SPB Attack control hint + menu overlay
|
||||
|
|
@ -3480,7 +3480,7 @@ void M_DrawTimeAttack(void)
|
|||
|
||||
case IT_HEADERTEXT:
|
||||
|
||||
V_DrawMenuString(leftedge, opty, highlightflags, currentMenu->menuitems[i].text);
|
||||
V_DrawMenuString(leftedge, opty, M_ALTCOLOR, currentMenu->menuitems[i].text);
|
||||
opty += 10;
|
||||
break;
|
||||
|
||||
|
|
@ -4337,7 +4337,7 @@ void M_DrawGenericOptions(void)
|
|||
if (currentMenu->menuitems[i].mvar1)
|
||||
y = currentMenu->y+currentMenu->menuitems[i].mvar1;
|
||||
|
||||
V_DrawMenuString(x-16, y, highlightflags, currentMenu->menuitems[i].text);
|
||||
V_DrawMenuString(x-16, y, M_ALTCOLOR, currentMenu->menuitems[i].text);
|
||||
y += SMALLLINEHEIGHT;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue