diff options
author | Nipun Garg | 2019-05-31 12:48:56 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:41 +0200 |
commit | 6ad64d992c5d4d2a56949b49a06733800b84131d (patch) | |
tree | 647c7f7e1bee01ae9f1c7de58292373ed6de37c3 /engines/hdb/hdb.cpp | |
parent | 208c6430d6a7312f8c877cada1468be4749868b2 (diff) | |
download | scummvm-rg350-6ad64d992c5d4d2a56949b49a06733800b84131d.tar.gz scummvm-rg350-6ad64d992c5d4d2a56949b49a06733800b84131d.tar.bz2 scummvm-rg350-6ad64d992c5d4d2a56949b49a06733800b84131d.zip |
HDB: Fix Code Formatting Conventions
Diffstat (limited to 'engines/hdb/hdb.cpp')
-rw-r--r-- | engines/hdb/hdb.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index aa5f2c7381..528eff88e1 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -47,14 +47,14 @@ HDBGame::~HDBGame() { } bool HDBGame::init() { - voiceless = false; + _voiceless = false; /* Game Subsystem Initializations */ // Init _fileMan - if (_fileMan->openMPC("hyperdemo.mpc")) { + if (fileMan->openMPC("hyperdemo.mpc")) { gameShutdown = false; return true; } @@ -64,7 +64,7 @@ bool HDBGame::init() { } void HDBGame::start() { - gameState = GameState::GAME_TITLE; + _gameState = GameState::GAME_TITLE; } /* @@ -78,15 +78,15 @@ void HDBGame::start() { */ void HDBGame::changeGameState() { - switch (gameState) { + switch (_gameState) { case GameState::GAME_TITLE: - gameState = GameState::GAME_MENU; + _gameState = GameState::GAME_MENU; break; case GameState::GAME_MENU: - gameState = GameState::GAME_PLAY; + _gameState = GameState::GAME_PLAY; break; case GameState::GAME_PLAY: - gameState = GameState::GAME_MENU; + _gameState = GameState::GAME_MENU; break; } } @@ -94,7 +94,7 @@ void HDBGame::changeGameState() { Common::Error HDBGame::run() { // Initializes Graphics Graphics::PixelFormat format(4, 8, 8, 8, 8, 24, 16, 8, 0); - initGraphics(800, 600, &format); + initGraphics(640, 320, &format); _console = new Console(); /* |