diff options
author | Willem Jan Palenstijn | 2011-11-15 23:52:20 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-11-15 23:52:20 +0100 |
commit | ea34280c80bad4cbbaa901c4ddca19ea68306cd0 (patch) | |
tree | 2eecd88b66762d24dba88620e1dd6dcc9c4e5c78 | |
parent | 689cd3edef03afa5600f85c994b19665ecbffa38 (diff) | |
download | scummvm-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.cpp | 4 |
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); |