[Scummvm-cvs-logs] SF.net SVN: scummvm:[46530] scummvm/trunk/engines/sci/engine/kernel32.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Thu Dec 24 16:24:49 CET 2009
Revision: 46530
http://scummvm.svn.sourceforge.net/scummvm/?rev=46530&view=rev
Author: thebluegr
Date: 2009-12-24 15:24:48 +0000 (Thu, 24 Dec 2009)
Log Message:
-----------
Updated comments in kListEachElementDo() to show how it's called, with the help of waltervn
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kernel32.cpp
Modified: scummvm/trunk/engines/sci/engine/kernel32.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kernel32.cpp 2009-12-24 15:02:06 UTC (rev 46529)
+++ scummvm/trunk/engines/sci/engine/kernel32.cpp 2009-12-24 15:24:48 UTC (rev 46530)
@@ -694,9 +694,18 @@
reg_t kListEachElementDo(EngineState *s, int argc, reg_t *argv) {
- // Likely performs doit() on each element, for screen updates/animations?
- // It's called constantly, so perhaps that's its purpose...
+ // Called with 2 or 3 parameters
+ // object, selector and optionally a third unknown parameter
+ // With 2 parameters, the selector can be:
+ // - 0x45 (doit)
+ // - 0x5c (delete)
+ // - 0xfd (check)
+
+ // With 3 parameters, the selector can be:
+ // - 0x145 (checkDetail)
+ // - 0x211 (newRoom) - that one seems a bit odd
+
// TODO
return NULL_REG;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list