mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-07 06:06:24 +00:00
Draw game "Pause" text above level + menu background, but below menu text
Prevents the need for carving exceptions like the Stereo Mode or various mid-game Options (would otherwise have been needed)
This commit is contained in:
parent
4f5997fbe6
commit
da1cdd0825
1 changed files with 11 additions and 12 deletions
|
|
@ -775,6 +775,7 @@ void M_Drawer(void)
|
|||
if (menuwipe)
|
||||
F_WipeStartScreen();
|
||||
|
||||
// background layer
|
||||
if (menuactive)
|
||||
{
|
||||
if (gamestate == GS_MENU)
|
||||
|
|
@ -785,7 +786,17 @@ void M_Drawer(void)
|
|||
{
|
||||
V_DrawFadeScreen(122, 3);
|
||||
}
|
||||
}
|
||||
|
||||
// draw pause pic
|
||||
if (paused && !demo.playback && (menuactive || cv_showhud.value))
|
||||
{
|
||||
M_DrawPausedText(0);
|
||||
}
|
||||
|
||||
// foreground layer
|
||||
if (menuactive)
|
||||
{
|
||||
if (currentMenu->drawroutine)
|
||||
currentMenu->drawroutine(); // call current menu Draw routine
|
||||
|
||||
|
|
@ -813,18 +824,6 @@ void M_Drawer(void)
|
|||
menuwipe = false;
|
||||
}
|
||||
|
||||
// draw pause pic
|
||||
if (paused && !demo.playback && (menuactive || cv_showhud.value))
|
||||
{
|
||||
// Don't cover the Stereo player!
|
||||
boolean stereo_open = menuactive && currentMenu == &MISC_SoundTestDef;
|
||||
|
||||
if (stereo_open == false)
|
||||
{
|
||||
M_DrawPausedText(0);
|
||||
}
|
||||
}
|
||||
|
||||
if (netgame && Playing())
|
||||
{
|
||||
boolean mainpause_open = menuactive && currentMenu == &PAUSE_MainDef;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue