aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_stacks/bspit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/riven_stacks/bspit.cpp')
-rw-r--r--engines/mohawk/riven_stacks/bspit.cpp25
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) {