aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2007-08-25 16:01:42 +0000
committerFilippos Karapetis2007-08-25 16:01:42 +0000
commit5ec8ee1907fd7381b528140ba8fe671959a4b30f (patch)
treebfa1c3aa5844cec92b10be6db4c0a5167ad523d2 /engines
parent4afe739687c216ed0808c581460a5f154a90aca3 (diff)
downloadscummvm-rg350-5ec8ee1907fd7381b528140ba8fe671959a4b30f.tar.gz
scummvm-rg350-5ec8ee1907fd7381b528140ba8fe671959a4b30f.tar.bz2
scummvm-rg350-5ec8ee1907fd7381b528140ba8fe671959a4b30f.zip
Added skeleton code for kActorEvent
svn-id: r28724
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/events.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/saga/events.cpp b/engines/saga/events.cpp
index 92ba67eb6d..197d2e8842 100644
--- a/engines/saga/events.cpp
+++ b/engines/saga/events.cpp
@@ -255,6 +255,7 @@ int Events::handleImmediate(Event *event) {
case kSceneEvent:
case kAnimEvent:
case kCutawayEvent:
+ case kActorEvent:
handleOneShot(event);
event_done = true;
break;
@@ -548,6 +549,14 @@ int Events::handleOneShot(Event *event) {
default:
break;
}
+ case kActorEvent:
+ switch (event->op) {
+ case kEventMove:
+ // TODO (check Actor::direct)
+ break;
+ default:
+ break;
+ }
default:
break;
}