Menus: draw headers in orange

This commit is contained in:
James R 2023-12-29 13:21:06 -08:00
parent 3e7d377de5
commit 72f885e6ba
2 changed files with 6 additions and 4 deletions

View file

@ -1202,6 +1202,8 @@ void M_HandleImageDef(INT32 choice);
#define recommendedflags V_GREENMAP #define recommendedflags V_GREENMAP
#define warningflags V_ORANGEMAP #define warningflags V_ORANGEMAP
#define M_ALTCOLOR V_ORANGEMAP
// For some menu highlights // For some menu highlights
UINT16 M_GetCvPlayerColor(UINT8 pnum); UINT16 M_GetCvPlayerColor(UINT8 pnum);

View file

@ -3438,7 +3438,7 @@ void M_DrawTimeAttack(void)
if ((gametypes[levellist.newgametype]->rules & GTR_CIRCUIT) if ((gametypes[levellist.newgametype]->rules & GTR_CIRCUIT)
&& (mapheaderinfo[map]->numlaps != 1)) && (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); K_drawKartTimestamp(laprec, 162+t, timeheight+6, 0, 2);
timeheight += 30; timeheight += 30;
} }
@ -3447,7 +3447,7 @@ void M_DrawTimeAttack(void)
timeheight += 15; 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); K_drawKartTimestamp(timerec, 162+t, timeheight+6, 0, 1);
// SPB Attack control hint + menu overlay // SPB Attack control hint + menu overlay
@ -3480,7 +3480,7 @@ void M_DrawTimeAttack(void)
case IT_HEADERTEXT: case IT_HEADERTEXT:
V_DrawMenuString(leftedge, opty, highlightflags, currentMenu->menuitems[i].text); V_DrawMenuString(leftedge, opty, M_ALTCOLOR, currentMenu->menuitems[i].text);
opty += 10; opty += 10;
break; break;
@ -4337,7 +4337,7 @@ void M_DrawGenericOptions(void)
if (currentMenu->menuitems[i].mvar1) if (currentMenu->menuitems[i].mvar1)
y = currentMenu->y+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; y += SMALLLINEHEIGHT;
break; break;
} }