mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Include gamespeed / GP difficulty on the Pause menu
This commit is contained in:
parent
e1f4aef2ef
commit
3d4f201abd
2 changed files with 27 additions and 2 deletions
|
|
@ -2513,7 +2513,7 @@ static void HU_DrawRankings(void)
|
|||
else if (gametyperules & GTR_CIRCUIT)
|
||||
{
|
||||
V_DrawCenteredString(256, 8, 0, "GAME SPEED");
|
||||
V_DrawCenteredString(256, 16, hilicol, kartspeed_cons_t[1+gamespeed].strvalue);
|
||||
V_DrawCenteredString(256, 16, hilicol, (cv_4thgear.value) ? va("4th Gear") : kartspeed_cons_t[1+gamespeed].strvalue);
|
||||
}
|
||||
|
||||
boolean completed[MAXPLAYERS];
|
||||
|
|
|
|||
|
|
@ -5611,6 +5611,25 @@ void M_DrawExtras(void)
|
|||
// INGAME / PAUSE MENUS
|
||||
//
|
||||
|
||||
static char *M_GetGameplayMode(void)
|
||||
{
|
||||
if (grandprixinfo.gp == true)
|
||||
{
|
||||
if (grandprixinfo.masterbots)
|
||||
return va("Master");
|
||||
if (grandprixinfo.gamespeed == KARTSPEED_HARD)
|
||||
return va("Hard");
|
||||
if (grandprixinfo.gamespeed == KARTSPEED_NORMAL)
|
||||
return va("Normal");
|
||||
return va("Easy");
|
||||
}
|
||||
|
||||
if (cv_4thgear.value)
|
||||
return va("4th Gear!");
|
||||
|
||||
return va("Gear %d\n", gamespeed+1);
|
||||
}
|
||||
|
||||
// PAUSE MAIN MENU
|
||||
void M_DrawPause(void)
|
||||
{
|
||||
|
|
@ -5992,15 +6011,21 @@ void M_DrawPause(void)
|
|||
if (smallroundpatch != NULL)
|
||||
{
|
||||
V_DrawMappedPatch(
|
||||
24, 152 + offset/2,
|
||||
24, 145 + offset/2,
|
||||
0,
|
||||
smallroundpatch,
|
||||
NULL);
|
||||
}
|
||||
}
|
||||
|
||||
V_DrawCenteredMenuString(24, 167 + offset/2, V_YELLOWMAP, M_GetGameplayMode());
|
||||
|
||||
Y_RoundQueueDrawer(&standings, offset/2, false, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
V_DrawMenuString(4, 188 + offset/2, V_YELLOWMAP, M_GetGameplayMode());
|
||||
}
|
||||
}
|
||||
|
||||
void M_DrawKickHandler(void)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue