[Scummvm-cvs-logs] scummvm master -> ea34280c80bad4cbbaa901c4ddca19ea68306cd0
wjp
wjp at usecode.org
Tue Nov 15 23:53:03 CET 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
ea34280c80 DREAMWEB: Add comment for reel callbacks
Commit: ea34280c80bad4cbbaa901c4ddca19ea68306cd0
https://github.com/scummvm/scummvm/commit/ea34280c80bad4cbbaa901c4ddca19ea68306cd0
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2011-11-15T14:52:20-08:00
Commit Message:
DREAMWEB: Add comment for reel callbacks
Changed paths:
engines/dreamweb/sprite.cpp
diff --git a/engines/dreamweb/sprite.cpp b/engines/dreamweb/sprite.cpp
index a0bd2ea..625d3a3 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);
More information about the Scummvm-git-logs
mailing list