diff options
author | Nipun Garg | 2019-07-12 05:00:25 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:17 +0200 |
commit | ee9de9157c078885e0886c117e3c12f631176624 (patch) | |
tree | 7285bbcd65e9f61982d5e00188d7b5282ab80678 /engines | |
parent | f5b9d417b7b6f2d1a86ba68b22fa84aa04a7992d (diff) | |
download | scummvm-rg350-ee9de9157c078885e0886c117e3c12f631176624.tar.gz scummvm-rg350-ee9de9157c078885e0886c117e3c12f631176624.tar.bz2 scummvm-rg350-ee9de9157c078885e0886c117e3c12f631176624.zip |
HDB: Add Menu calls
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/hdb.cpp | 4 | ||||
-rw-r--r-- | engines/hdb/input.cpp | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index 72e1aa0a71..534c6225d6 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -251,10 +251,10 @@ void HDBGame::paint() { switch (_gameState) { case GAME_TITLE: - debug(9, "STUB: MENU::DrawTitle required"); + _menu->drawTitle(); break; case GAME_MENU: - warning("STUB: MENU::DrawMenu required"); + _menu->drawMenu(); break; case GAME_PLAY: _gfx->drawPointer(); diff --git a/engines/hdb/input.cpp b/engines/hdb/input.cpp index 7f37b43be9..fda9431747 100644 --- a/engines/hdb/input.cpp +++ b/engines/hdb/input.cpp @@ -66,7 +66,7 @@ void Input::setButtons(uint16 b) { } if (g_hdb->getGameState() == GAME_TITLE) - warning("STUB: setButtons: changeToMenu() required"); + g_hdb->_menu->changeToMenu(); g_hdb->_sound->playSound(SND_MENU_BACKOUT); g_hdb->changeGameState(); } @@ -120,11 +120,11 @@ void Input::stylusDown(int x, int y) { switch (gs) { case GAME_TITLE: - warning("STUB: Menu: changeToMenu required"); + g_hdb->_menu->changeToMenu(); g_hdb->changeGameState(); break; case GAME_MENU: - warning("STUB: Menu: processInput required"); + g_hdb->_menu->processInput(x, y); break; case GAME_PLAY: // Is Player Dead? Click on TRY AGAIN @@ -207,7 +207,7 @@ void Input::stylusMove(int x, int y) { warning("STUB: stylusMove: Add GetDebug() check"); break; case GAME_MENU: - warning("STUB: stylusMove: Menu::processInput() required"); + g_hdb->_menu->processInput(x, y); break; default: break; |