From 4cc312f90d27ea7abb010bd317188d9d08a9fd3e Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 3 Apr 2022 22:51:15 +0200 Subject: Added base game mode management to Game --- StarsEx/StarServer.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'StarsEx/StarServer.h') diff --git a/StarsEx/StarServer.h b/StarsEx/StarServer.h index 9776e07..3e8a722 100644 --- a/StarsEx/StarServer.h +++ b/StarsEx/StarServer.h @@ -41,13 +41,7 @@ public: virtual bool InitGame(); virtual void GameState(); - enum MODE { MENU_MODE, // main menu - LOAD_MODE, // loading mission into simulator - PLAY_MODE // active simulation - }; - - int GetGameMode() { return game_mode; } - void SetGameMode(int mode); + void SetGameMode(int mode) override; void SetNextMission(const char* script); void CreateWorld(); @@ -66,7 +60,6 @@ protected: NetLobbyServer* lobby_server; DataLoader* loader; - int game_mode; DWORD time_mark; DWORD minutes; }; -- cgit v1.1