aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/palette.cpp
diff options
context:
space:
mode:
authorStrangerke2014-03-24 01:14:16 +0100
committerStrangerke2014-03-24 01:14:16 +0100
commitc57acfb154999b3976c07d6512657c02cc4ef468 (patch)
tree8831a09b0428aacf08b7c85746fff6d0a84b36f4 /engines/mads/palette.cpp
parent7f4dbf7d48b6db8d82d33b569c22f104fc153dd3 (diff)
downloadscummvm-rg350-c57acfb154999b3976c07d6512657c02cc4ef468.tar.gz
scummvm-rg350-c57acfb154999b3976c07d6512657c02cc4ef468.tar.bz2
scummvm-rg350-c57acfb154999b3976c07d6512657c02cc4ef468.zip
MADS: Implement scene 203
Diffstat (limited to 'engines/mads/palette.cpp')
-rw-r--r--engines/mads/palette.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/engines/mads/palette.cpp b/engines/mads/palette.cpp
index bd467aa16b..4a62cca5bc 100644
--- a/engines/mads/palette.cpp
+++ b/engines/mads/palette.cpp
@@ -517,8 +517,19 @@ void Palette::setLowRange() {
}
void Palette::fadeOut(byte palette[PALETTE_SIZE], int v1, int v2, int v3, int v4, int v5, int v6) {
-
}
+void Palette::sub7BBF8() {
+ if ((_rgbList[31] != 0) && (_v1 == 0))
+ error("Palette - Unexpected values");
+
+ _v1 = -1;
+ _rgbList[31] = -1;
+
+ for (int i = 0; i < 256; i++) {
+ if (_palFlags[i])
+ _palFlags[i] |= 0x80000000;
+ }
+}
} // End of namespace MADS