aboutsummaryrefslogtreecommitdiff
path: root/scumm/palette.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2005-05-14 22:56:41 +0000
committerEugene Sandulenko2005-05-14 22:56:41 +0000
commit3588b96d4fc6c1100a01f21987f34dab9c0e97bf (patch)
tree8bbeeacc9f3fce01838de5129703ffb11b83d44a /scumm/palette.cpp
parent0bb3024467c8eb1f74f716848366b9b8fdf6a8c5 (diff)
downloadscummvm-rg350-3588b96d4fc6c1100a01f21987f34dab9c0e97bf.tar.gz
scummvm-rg350-3588b96d4fc6c1100a01f21987f34dab9c0e97bf.tar.bz2
scummvm-rg350-3588b96d4fc6c1100a01f21987f34dab9c0e97bf.zip
Added --disable-hq and --disable-scumm-7-8 options. Also improved
DISABLE_HE so more HE-specific code gets excluded. svn-id: r18099
Diffstat (limited to 'scumm/palette.cpp')
-rw-r--r--scumm/palette.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/palette.cpp b/scumm/palette.cpp
index 3085c98f12..0dda37dd15 100644
--- a/scumm/palette.cpp
+++ b/scumm/palette.cpp
@@ -686,6 +686,7 @@ void ScummEngine::darkenPalette(int redScale, int greenScale, int blueScale, int
}
}
+#ifndef DISABLE_SCUMM_7_8
static int HSL2RGBHelper(int n1, int n2, int hue) {
if (hue > 360)
hue = hue - 360;
@@ -778,6 +779,7 @@ void ScummEngine_v8::desaturatePalette(int hueScale, int satScale, int lightScal
setDirtyColors(startColor, endColor);
}
}
+#endif
int ScummEngine::remapPaletteColor(int r, int g, int b, int threshold) {