aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlyssa Milburn2011-01-22 17:34:01 +0000
committerAlyssa Milburn2011-01-22 17:34:01 +0000
commita9c840c3d5863f39b1812f5ce80fa0a65fca56c4 (patch)
treec39e1295ac6fb024e0b87cf1a87912bf75796bea
parentde4b5645324a9019344dd94877c7ecc2139b5cd0 (diff)
downloadscummvm-rg350-a9c840c3d5863f39b1812f5ce80fa0a65fca56c4.tar.gz
scummvm-rg350-a9c840c3d5863f39b1812f5ce80fa0a65fca56c4.tar.bz2
scummvm-rg350-a9c840c3d5863f39b1812f5ce80fa0a65fca56c4.zip
MOHAWK: More CSTime event stubs.
Case 1 is now playable up to the 'next case' event. svn-id: r55441
-rw-r--r--engines/mohawk/cstime.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/mohawk/cstime.cpp b/engines/mohawk/cstime.cpp
index 4bca986d7f..6d4b370a30 100644
--- a/engines/mohawk/cstime.cpp
+++ b/engines/mohawk/cstime.cpp
@@ -491,6 +491,10 @@ void MohawkEngine_CSTime::triggerEvent(CSTimeEvent &event) {
_interface->getInventoryDisplay()->activateCuffs(true);
break;
+ case kCSTimeEventHelperSetupRestPos:
+ _case->getCurrScene()->getChar(_case->getCurrScene()->getHelperId())->setupRestPos();
+ break;
+
case kCSTimeEventUnknown25:
_case->getCurrScene()->getChar(event.param1)->_unknown2 = 1;
break;
@@ -512,6 +516,16 @@ void MohawkEngine_CSTime::triggerEvent(CSTimeEvent &event) {
_case->getCurrScene()->getChar(event.param1)->setupRestPos();
break;
+ case kCSTimeEventStopEnvironmentSound:
+ warning("ignoring stop environment sound");
+ // FIXME
+ break;
+
+ case kCSTimeEventSetMusic:
+ warning("ignoring set music");
+ // FIXME
+ break;
+
case kCSTimeEventSetInsertBefore:
warning("ignoring insert before");
// FIXME