diff options
author | Nipun Garg | 2019-07-03 08:24:05 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:09 +0200 |
commit | 4622fb3b8026eb4cf457a7bf99e1f733cf5553b3 (patch) | |
tree | 15f21da19da9259947ac8342dbee03618e2d23da /engines/hdb/input.cpp | |
parent | 5d874c540e4f52ff5b32f8679b98ea57d7c1611c (diff) | |
download | scummvm-rg350-4622fb3b8026eb4cf457a7bf99e1f733cf5553b3.tar.gz scummvm-rg350-4622fb3b8026eb4cf457a7bf99e1f733cf5553b3.tar.bz2 scummvm-rg350-4622fb3b8026eb4cf457a7bf99e1f733cf5553b3.zip |
HDB: Unstub playSound calls
Diffstat (limited to 'engines/hdb/input.cpp')
-rw-r--r-- | engines/hdb/input.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/hdb/input.cpp b/engines/hdb/input.cpp index c9dbd2c744..2c527e66b2 100644 --- a/engines/hdb/input.cpp +++ b/engines/hdb/input.cpp @@ -60,13 +60,13 @@ void Input::setButtons(uint16 b) { if ((_buttons & kButtonA) && !changeState && (g_hdb->getGameState() != GAME_MENU)) { if (g_hdb->_ai->cinematicsActive() && g_hdb->_ai->cineAbortable()) { g_hdb->_ai->cineAbort(); - warning("STUB: setButtons: Play SND_POP"); + g_hdb->_sound->playSound(SND_POP); return; } if (g_hdb->getGameState() == GAME_TITLE) warning("STUB: setButtons: changeToMenu() required"); - warning("STUB: setButtons: Play SND_MENU_BACKOUT"); + g_hdb->_sound->playSound(SND_MENU_BACKOUT); g_hdb->changeGameState(); } @@ -181,7 +181,7 @@ void Input::stylusDown(int x, int y) { g_hdb->_window->centerTextOut("Running Speed", kScreenHeight - 32, kRunToggleDelay * kGameFPS); else g_hdb->_window->centerTextOut("Walking Speed", kScreenHeight - 32, kRunToggleDelay * kGameFPS); - warning("STUB: Play SND_SWITCH_USE"); + g_hdb->_sound->playSound(SND_SWITCH_USE); } g_hdb->setTargetXY(worldX, worldY); @@ -268,7 +268,7 @@ void Input::updateMouseButtons(int l, int m, int r) { return; g_hdb->_ai->clearWaypoints(); - warning("STUB: Play SND_POP"); + g_hdb->_sound->playSound(SND_POP); } // Check if RButton has been pressed |