summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/StarServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/StarServer.h')
-rw-r--r--StarsEx/StarServer.h9
1 files changed, 1 insertions, 8 deletions
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;
};