summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/Game.cpp
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/Game.cpp
parent4b8ddd088afb8f0021c6cfa1b7700e0b521b8ac5 (diff)
downloadstarshatter-4cc312f90d27ea7abb010bd317188d9d08a9fd3e.zip
starshatter-4cc312f90d27ea7abb010bd317188d9d08a9fd3e.tar.gz
starshatter-4cc312f90d27ea7abb010bd317188d9d08a9fd3e.tar.bz2
Added base game mode management to Game
Diffstat (limited to 'StarsEx/Game.cpp')
-rw-r--r--StarsEx/Game.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/StarsEx/Game.cpp b/StarsEx/Game.cpp
index d4de97c..4fda01e 100644
--- a/StarsEx/Game.cpp
+++ b/StarsEx/Game.cpp
@@ -34,7 +34,8 @@ const double MAX_FRAME_TIME_NORMAL = 1.0 / 5.0;
Game::Game() :
world(0),
status(Game::OK),
- exit_code(0)
+ exit_code(0),
+ game_mode(MENU_MODE)
{
Clock::Init();
if (!game) {