diff options
author | Aki <please@ignore.pl> | 2022-04-03 22:51:15 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-03 22:51:15 +0200 |
commit | 4cc312f90d27ea7abb010bd317188d9d08a9fd3e (patch) | |
tree | 844ae61007f22a9c561221aad814a54562972641 /StarsEx/Game.cpp | |
parent | 4b8ddd088afb8f0021c6cfa1b7700e0b521b8ac5 (diff) | |
download | starshatter-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.cpp | 3 |
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) { |