aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v8.cpp
diff options
context:
space:
mode:
authorMax Horn2003-03-13 02:23:55 +0000
committerMax Horn2003-03-13 02:23:55 +0000
commit8fcdb62f74180c2ca39822326fb08d0c39328203 (patch)
treeabc4d143db66a02b2cce2885fa17d81c6db09738 /scumm/script_v8.cpp
parent4f2a48ac4dc0f58ca3d09f03662bc8cfcaf4968c (diff)
downloadscummvm-rg350-8fcdb62f74180c2ca39822326fb08d0c39328203.tar.gz
scummvm-rg350-8fcdb62f74180c2ca39822326fb08d0c39328203.tar.bz2
scummvm-rg350-8fcdb62f74180c2ca39822326fb08d0c39328203.zip
Patch #686427: SO_ROOM_SATURATION implementation
svn-id: r6810
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r--scumm/script_v8.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index 349528d679..1c651ccbc7 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -998,12 +998,7 @@ void Scumm_v8::o8_roomOps() {
c = pop();
b = pop();
a = pop();
- // 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... :-/
-// warning("o8_roomOps: SO_ROOM_SATURATION(%d, %d, %d, %d, %d)", a, b, c, d, e);
+ desaturatePalette(a, b, c, d, e);
break;
default:
error("o8_roomOps: default case 0x%x", subOp);