From 08e642314e3e9f5645753a6fc99d41921e1a55f1 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sat, 1 Jul 2017 23:01:02 +0200 Subject: MOHAWK: Check the Books external commands against the original --- engines/mohawk/riven_stacks/bspit.cpp | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'engines/mohawk/riven_stacks/bspit.cpp') 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) { -- cgit v1.2.3