aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/animation.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2007-07-30 23:37:18 +0000
committerFilippos Karapetis2007-07-30 23:37:18 +0000
commit889d1a4aeee83392b2b1fcfb252ac37156587434 (patch)
treef3c8eef0858441d9baca19badcd7f1d4f84a280d /engines/saga/animation.cpp
parenta09a95c99a6a7ccb7ef66c60dace493eefb3eb86 (diff)
downloadscummvm-rg350-889d1a4aeee83392b2b1fcfb252ac37156587434.tar.gz
scummvm-rg350-889d1a4aeee83392b2b1fcfb252ac37156587434.tar.bz2
scummvm-rg350-889d1a4aeee83392b2b1fcfb252ac37156587434.zip
The interactive part of the IHNM demo fully works now. Also, made the options screen work in the non-interactive part of the demo
svn-id: r28344
Diffstat (limited to 'engines/saga/animation.cpp')
-rw-r--r--engines/saga/animation.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/engines/saga/animation.cpp b/engines/saga/animation.cpp
index bad1155806..a8fa7005d8 100644
--- a/engines/saga/animation.cpp
+++ b/engines/saga/animation.cpp
@@ -316,7 +316,17 @@ void Anim::clearCutaway(void) {
}
_vm->_interface->restoreMode();
- _vm->_gfx->showCursor(true);
+
+ if (_vm->getGameId() != GID_IHNM_DEMO) {
+ if (_vm->_scene->currentSceneNumber() >= 144 && _vm->_scene->currentSceneNumber() <= 149) {
+ // Don't show the mouse cursor in the non-interactive part of the IHNM demo
+ } else {
+ _vm->_gfx->showCursor(true);
+ }
+ } else {
+ // Enable the save reminder state after each cutaway for the IHNM demo
+ _vm->_interface->setSaveReminderState(true);
+ }
}
}