aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2011-11-15 23:52:20 +0100
committerWillem Jan Palenstijn2011-11-15 23:52:20 +0100
commitea34280c80bad4cbbaa901c4ddca19ea68306cd0 (patch)
tree2eecd88b66762d24dba88620e1dd6dcc9c4e5c78
parent689cd3edef03afa5600f85c994b19665ecbffa38 (diff)
downloadscummvm-rg350-ea34280c80bad4cbbaa901c4ddca19ea68306cd0.tar.gz
scummvm-rg350-ea34280c80bad4cbbaa901c4ddca19ea68306cd0.tar.bz2
scummvm-rg350-ea34280c80bad4cbbaa901c4ddca19ea68306cd0.zip
DREAMWEB: Add comment for reel callbacks
-rw-r--r--engines/dreamweb/sprite.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/dreamweb/sprite.cpp b/engines/dreamweb/sprite.cpp
index a0bd2ea93c..625d3a37d1 100644
--- a/engines/dreamweb/sprite.cpp
+++ b/engines/dreamweb/sprite.cpp
@@ -589,6 +589,10 @@ void DreamGenContext::updatepeople() {
data.word(kListpos) = kPeoplelist;
memset(segRef(data.word(kBuffers)).ptr(kPeoplelist, 12 * sizeof(People)), 0xff, 12 * sizeof(People));
++data.word(kMaintimer);
+
+ // The callbacks are called with es:bx pointing to their reelRoutine entry.
+ // They use some of the fields in it to store state.
+
es = cs;
bx = kReelroutines;
const ReelRoutine *reelRoutine = (const ReelRoutine *)cs.ptr(bx, 0);