From 1651024cdc2c7e25db7e2a00c21b36d737130662 Mon Sep 17 00:00:00 2001 From: Lars Skovlund Date: Fri, 7 Oct 2011 21:24:30 +0200 Subject: SCI: Fix comment in kCelInfo --- engines/sci/engine/kgraphics.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'engines/sci') diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 9f309aeab7..2bf3f25930 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; } -- cgit v1.2.3