diff options
author | Bastien Bouclet | 2017-07-01 22:46:11 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-03 08:50:10 +0200 |
commit | 0f79e423d8b425a45b7cda8e5099723d3564d931 (patch) | |
tree | 09ca7e211cb81b66850e79328a6197c01cd0f4c7 /engines/mohawk/riven_stacks/pspit.cpp | |
parent | ea303ab682c9d8167f827e0a84cc72336ce2cc42 (diff) | |
download | scummvm-rg350-0f79e423d8b425a45b7cda8e5099723d3564d931.tar.gz scummvm-rg350-0f79e423d8b425a45b7cda8e5099723d3564d931.tar.bz2 scummvm-rg350-0f79e423d8b425a45b7cda8e5099723d3564d931.zip |
MOHAWK: Check the Prison island external commands against the original
Diffstat (limited to 'engines/mohawk/riven_stacks/pspit.cpp')
-rw-r--r-- | engines/mohawk/riven_stacks/pspit.cpp | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/engines/mohawk/riven_stacks/pspit.cpp b/engines/mohawk/riven_stacks/pspit.cpp index 4281e7980e..07a91f2cff 100644 --- a/engines/mohawk/riven_stacks/pspit.cpp +++ b/engines/mohawk/riven_stacks/pspit.cpp @@ -34,13 +34,13 @@ namespace RivenStacks { PSpit::PSpit(MohawkEngine_Riven *vm) : DomeSpit(vm, kStackPspit, "psliders.25", "psliderbg.25") { -// REGISTER_COMMAND(PSpit, xpisland990_elevcombo); -// REGISTER_COMMAND(PSpit, xpscpbtn); -// REGISTER_COMMAND(PSpit, xpisland290_domecheck); -// REGISTER_COMMAND(PSpit, xpisland25_opencard); -// REGISTER_COMMAND(PSpit, xpisland25_resetsliders); -// REGISTER_COMMAND(PSpit, xpisland25_slidermd); -// REGISTER_COMMAND(PSpit, xpisland25_slidermw); + REGISTER_COMMAND(PSpit, xpisland990_elevcombo); + REGISTER_COMMAND(PSpit, xpscpbtn); + REGISTER_COMMAND(PSpit, xpisland290_domecheck); + REGISTER_COMMAND(PSpit, xpisland25_opencard); + REGISTER_COMMAND(PSpit, xpisland25_resetsliders); + REGISTER_COMMAND(PSpit, xpisland25_slidermd); + REGISTER_COMMAND(PSpit, xpisland25_slidermw); } void PSpit::catherineIdleTimer() { @@ -69,11 +69,8 @@ void PSpit::catherineIdleTimer() { // Play the movie, blocking _vm->getCard()->playMovie(movie); - _vm->_cursor->hideCursor(); RivenVideo *video = _vm->_video->openSlot(movie); video->playBlocking(); - _vm->_cursor->showCursor(); - _vm->_system->updateScreen(); // Install the next timer for the next video uint32 timeUntilNextMovie = _vm->_rnd->getRandomNumber(120) * 1000; @@ -86,6 +83,7 @@ void PSpit::catherineIdleTimer() { void PSpit::xpisland990_elevcombo(uint16 argc, uint16 *argv) { // Play button sound based on argv[0] _vm->_sound->playSound(argv[0] + 5); + _vm->delay(500); // It is impossible to get here if Gehn is not trapped. However, // the original also disallows brute forcing the ending if you have |