[Scummvm-cvs-logs] scummvm master -> 1651024cdc2c7e25db7e2a00c21b36d737130662
lskovlun
lskovlun at sprogklog.dk
Fri Oct 7 21:31:46 CEST 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:
1651024cdc SCI: Fix comment in kCelInfo
Commit: 1651024cdc2c7e25db7e2a00c21b36d737130662
https://github.com/scummvm/scummvm/commit/1651024cdc2c7e25db7e2a00c21b36d737130662
Author: Lars Skovlund (lskovlun at sprogklog.dk)
Date: 2011-10-07T12:24:30-07:00
Commit Message:
SCI: Fix comment in kCelInfo
Changed paths:
engines/sci/engine/kgraphics.cpp
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 9f309ae..2bf3f25 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -1522,18 +1522,14 @@ reg_t kCelInfo(EngineState *s, int argc, reg_t *argv) {
// argv[1] - view (used with view 23602 in Shivers 1)
// argv[2] - loop
// argv[3] - cel
- // argv[4] - unknown (row?)
- // argv[5] - unknown (column?)
+ // argv[4] - x (subfunction 4 only)
+ // argv[5] - y (subfunction 4 only)
// Subops:
// 0 - return the view
// 1 - return the loop
// 2, 3 - nop
- // 4 - returns some kind of hash (?) based on the view and the two last params
-
- // This seems to be a debug function, but it could be used to check if
- // the jigsaw pieces "stick" together (they currently don't, unless I'm missing
- // something)
+ // 4 - return value of pixel at x, y
return s->r_acc;
}
More information about the Scummvm-git-logs
mailing list