aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-12-31 18:21:01 +0000
committerMax Horn2002-12-31 18:21:01 +0000
commitb88db70dfbf60517f8093b0f2ce387c393de3e3d (patch)
tree5b268233d32c73340cb7eeb23e124363677b7cbb
parent561b2c9d7cb1f4a9cdcd4e6e59196961446d5806 (diff)
downloadscummvm-rg350-b88db70dfbf60517f8093b0f2ce387c393de3e3d.tar.gz
scummvm-rg350-b88db70dfbf60517f8093b0f2ce387c393de3e3d.tar.bz2
scummvm-rg350-b88db70dfbf60517f8093b0f2ce387c393de3e3d.zip
added some comment
svn-id: r6298
-rw-r--r--scumm/script_v8.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index 6f652ca025..353773e6bb 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -957,7 +957,17 @@ void Scumm_v8::o8_roomOps()
warning("V8 Load game opcode not implemented");
break;
case 0x5F: // SO_ROOM_SATURATION Set saturation of room colors
- warning("o8_roomOps: SO_ROOM_SATURATION(%d, %d, %d, %d, %d)", pop(), pop(), pop(), pop(), pop());
+ e = pop();
+ d = pop();
+ c = pop();
+ b = pop();
+ a = pop();
+ warning("o8_roomOps: SO_ROOM_SATURATION(%d, %d, %d, %d, %d)", a, b, c, d, e);
+ // FIXME - this probably has the same format as for darkenPalette:
+ // thre values for R, G, B and a start/end palette range to modify.
+ // Now, how on earth does on modify the saturation of a single color channel?
+ // Change the hue/saturation of a color, no problem, I know how to do that,
+ // but for only a channel alone, I don't even know what that should mean... :-/
break;
default:
error("o8_roomOps: default case %d", subOp);