diff options
author | Nipun Garg | 2019-06-01 01:58:15 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:42 +0200 |
commit | d5aa1a62b09db339be75ea64d7ec1a61a2e89eeb (patch) | |
tree | 339a48cbfabd569d1bf6945a5e592c7f97c6bf95 /engines/hdb | |
parent | baf6ed6a60e1f2a6d235386f6bef75765870315b (diff) | |
download | scummvm-rg350-d5aa1a62b09db339be75ea64d7ec1a61a2e89eeb.tar.gz scummvm-rg350-d5aa1a62b09db339be75ea64d7ec1a61a2e89eeb.tar.bz2 scummvm-rg350-d5aa1a62b09db339be75ea64d7ec1a61a2e89eeb.zip |
HDB: Fix Coding and Formatting Conventions issues
Diffstat (limited to 'engines/hdb')
-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; } } |