Updated comments in kListEachElementDo() to show how it's called, with the help of waltervn
svn-id: r46530
This commit is contained in:
parent
9072b0c26e
commit
f73e9c43c4
1 changed files with 11 additions and 2 deletions
|
@ -694,8 +694,17 @@ reg_t kFrameOut(EngineState *s, int argc, reg_t *argv) {
|
||||||
|
|
||||||
reg_t kListEachElementDo(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?
|
// Called with 2 or 3 parameters
|
||||||
// It's called constantly, so perhaps that's its purpose...
|
// 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
|
// TODO
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue