mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
parent
efc83e1a5f
commit
5af71c0af2
2 changed files with 10 additions and 1 deletions
|
@ -27,6 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
#include "names.h"
|
||||
#include "version.h"
|
||||
#include "raze_sound.h"
|
||||
#include "gamestate.h"
|
||||
|
||||
|
||||
#include "menu/menu.h" // to override the local menu.h
|
||||
|
@ -148,6 +149,13 @@ void GameInterface::MenuSound(EMenuSounds snd)
|
|||
}
|
||||
}
|
||||
|
||||
void GameInterface::QuitToTitle()
|
||||
{
|
||||
M_StartControlPanel(false);
|
||||
M_SetMenu(NAME_Mainmenu);
|
||||
gamestate = GS_MENUSCREEN;
|
||||
}
|
||||
|
||||
void GameInterface::MenuClosed()
|
||||
{
|
||||
|
||||
|
|
|
@ -300,7 +300,8 @@ struct GameInterface : ::GameInterface
|
|||
bool CanSave() override;
|
||||
ReservedSpace GetReservedScreenSpace(int viewsize) override { return { 0, 24 }; }
|
||||
void clearlocalinputstate() override;
|
||||
|
||||
void QuitToTitle();
|
||||
|
||||
FString statFPS() override;
|
||||
::GameStats getStats() override;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue