summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/StarServer.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-04-03 22:51:15 +0200
committerAki <please@ignore.pl>2022-04-03 22:51:15 +0200
commit4cc312f90d27ea7abb010bd317188d9d08a9fd3e (patch)
tree844ae61007f22a9c561221aad814a54562972641 /StarsEx/StarServer.h
parent4b8ddd088afb8f0021c6cfa1b7700e0b521b8ac5 (diff)
downloadstarshatter-4cc312f90d27ea7abb010bd317188d9d08a9fd3e.zip
starshatter-4cc312f90d27ea7abb010bd317188d9d08a9fd3e.tar.gz
starshatter-4cc312f90d27ea7abb010bd317188d9d08a9fd3e.tar.bz2
Added base game mode management to Game
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;
};