mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 13:21:04 +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 "names.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
#include "raze_sound.h"
|
#include "raze_sound.h"
|
||||||
|
#include "gamestate.h"
|
||||||
|
|
||||||
|
|
||||||
#include "menu/menu.h" // to override the local menu.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()
|
void GameInterface::MenuClosed()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -300,6 +300,7 @@ struct GameInterface : ::GameInterface
|
||||||
bool CanSave() override;
|
bool CanSave() override;
|
||||||
ReservedSpace GetReservedScreenSpace(int viewsize) override { return { 0, 24 }; }
|
ReservedSpace GetReservedScreenSpace(int viewsize) override { return { 0, 24 }; }
|
||||||
void clearlocalinputstate() override;
|
void clearlocalinputstate() override;
|
||||||
|
void QuitToTitle();
|
||||||
|
|
||||||
FString statFPS() override;
|
FString statFPS() override;
|
||||||
::GameStats getStats() override;
|
::GameStats getStats() override;
|
||||||
|
|
Loading…
Reference in a new issue