mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
parent
17f9bc8a8a
commit
522d8af6ca
2 changed files with 10 additions and 0 deletions
|
@ -145,6 +145,15 @@ void GameInterface::DrawNativeMenuText(int fontnum, int state, double xpos, doub
|
|||
}
|
||||
}
|
||||
|
||||
void GameInterface::QuitToTitle()
|
||||
{
|
||||
TerminateLevel();
|
||||
currentLevel = nullptr;
|
||||
M_StartControlPanel(false);
|
||||
M_SetMenu(NAME_Mainmenu);
|
||||
gamestate = GS_MENUSCREEN;
|
||||
}
|
||||
|
||||
|
||||
void GameInterface::MenuOpened()
|
||||
{
|
||||
|
|
|
@ -2379,6 +2379,7 @@ struct GameInterface : ::GameInterface
|
|||
FString GetCoordString() override;
|
||||
ReservedSpace GetReservedScreenSpace(int viewsize) override;
|
||||
void clearlocalinputstate() override;
|
||||
void QuitToTitle() override;
|
||||
|
||||
FString statFPS() override;
|
||||
GameStats getStats() override;
|
||||
|
|
Loading…
Reference in a new issue