diff options
author | Bastien Bouclet | 2017-07-01 23:01:02 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-03 08:50:10 +0200 |
commit | 08e642314e3e9f5645753a6fc99d41921e1a55f1 (patch) | |
tree | 1ea421a73b22220a19454d99c099f66c48629e87 /engines/mohawk/riven_stacks/bspit.cpp | |
parent | d7b241abdc6d8ffb7e2ecdcc8e0548abb4dff110 (diff) | |
download | scummvm-rg350-08e642314e3e9f5645753a6fc99d41921e1a55f1.tar.gz scummvm-rg350-08e642314e3e9f5645753a6fc99d41921e1a55f1.tar.bz2 scummvm-rg350-08e642314e3e9f5645753a6fc99d41921e1a55f1.zip |
MOHAWK: Check the Books external commands against the original
Diffstat (limited to 'engines/mohawk/riven_stacks/bspit.cpp')
-rw-r--r-- | engines/mohawk/riven_stacks/bspit.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/engines/mohawk/riven_stacks/bspit.cpp b/engines/mohawk/riven_stacks/bspit.cpp index 53d0330880..dc412fe4a0 100644 --- a/engines/mohawk/riven_stacks/bspit.cpp +++ b/engines/mohawk/riven_stacks/bspit.cpp @@ -149,31 +149,6 @@ void BSpit::xblabbooknextpage(uint16 argc, uint16 *argv) { } } -bool BSpit::pageTurn(RivenTransition transition) { - // Wait until the previous page turn sound completes - while (_vm->_sound->isEffectPlaying() && !_vm->shouldQuit()) { - if (!mouseIsDown()) { - return false; - } - - _vm->doFrame(); - } - - // Play the page turning sound - const char *soundName = nullptr; - if (_vm->_rnd->getRandomBit()) - soundName = "aPage1"; - else - soundName = "aPage2"; - - _vm->_sound->playCardSound(soundName, 51, true); - - // Now update the screen :) - _vm->_gfx->scheduleTransition(transition); - - return true; -} - void BSpit::xsoundplug(uint16 argc, uint16 *argv) { if (_vm->_vars["bcratergg"] == 0) { if (_vm->_vars["bblrwtr"] == 0) { |