aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2009-12-24 15:24:48 +0000
committerFilippos Karapetis2009-12-24 15:24:48 +0000
commitf73e9c43c4aafc1689a0114d05c54f86f70c0efa (patch)
tree45475d14ba5a6a65df14335f0ad0669b422ff1d0 /engines
parent9072b0c26e01615d9a8b029ed703ede102659e99 (diff)
downloadscummvm-rg350-f73e9c43c4aafc1689a0114d05c54f86f70c0efa.tar.gz
scummvm-rg350-f73e9c43c4aafc1689a0114d05c54f86f70c0efa.tar.bz2
scummvm-rg350-f73e9c43c4aafc1689a0114d05c54f86f70c0efa.zip
Updated comments in kListEachElementDo() to show how it's called, with the help of waltervn
svn-id: r46530
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kernel32.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/engines/sci/engine/kernel32.cpp b/engines/sci/engine/kernel32.cpp
index 59e3168340..f6915578dd 100644
--- a/engines/sci/engine/kernel32.cpp
+++ b/engines/sci/engine/kernel32.cpp
@@ -694,8 +694,17 @@ reg_t kFrameOut(EngineState *s, int argc, reg_t *argv) {
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