diff options
-rw-r--r-- | engines/hdb/detection.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/draw-manager.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/hdb.cpp | 16 |
3 files changed, 11 insertions, 9 deletions
diff --git a/engines/hdb/detection.cpp b/engines/hdb/detection.cpp index 0fd6a1b245..ca5acd657f 100644 --- a/engines/hdb/detection.cpp +++ b/engines/hdb/detection.cpp @@ -104,4 +104,4 @@ bool HDBMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameD REGISTER_PLUGIN_DYNAMIC(HDB, PLUGIN_TYPE_ENGINE, HDBMetaEngine); #else REGISTER_PLUGIN_STATIC(HDB, PLUGIN_TYPE_ENGINE, HDBMetaEngine); -#endif
\ No newline at end of file +#endif diff --git a/engines/hdb/draw-manager.cpp b/engines/hdb/draw-manager.cpp index 03c9174924..dc41fdb7a2 100644 --- a/engines/hdb/draw-manager.cpp +++ b/engines/hdb/draw-manager.cpp @@ -38,4 +38,4 @@ void DrawMan::loadTile32(char *name, uint32 *length) { } -}
\ No newline at end of file +} diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index 2f5095305f..d9eff7efd3 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -69,7 +69,7 @@ bool HDBGame::init() { } void HDBGame::start() { - _gameState = GameState::GAME_TITLE; + _gameState = GAME_TITLE; } /* @@ -84,14 +84,16 @@ void HDBGame::start() { void HDBGame::changeGameState() { switch (_gameState) { - case GameState::GAME_TITLE: - _gameState = GameState::GAME_MENU; + case GAME_TITLE: + _gameState = GAME_MENU; break; - case GameState::GAME_MENU: - _gameState = GameState::GAME_PLAY; + case GAME_MENU: + _gameState = GAME_PLAY; break; - case GameState::GAME_PLAY: - _gameState = GameState::GAME_MENU; + case GAME_PLAY: + _gameState = GAME_MENU; + break; + case GAME_LOADING: break; } } |