From 3588b96d4fc6c1100a01f21987f34dab9c0e97bf Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 14 May 2005 22:56:41 +0000 Subject: Added --disable-hq and --disable-scumm-7-8 options. Also improved DISABLE_HE so more HE-specific code gets excluded. svn-id: r18099 --- scumm/palette.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scumm/palette.cpp') 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) { -- cgit v1.2.3