aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/palette.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-05-24 13:41:22 -0400
committerPaul Gilbert2014-05-24 13:41:22 -0400
commit3202abaa8922bc741b3f28e1a2c1a86d8639a5f4 (patch)
tree47ed20e9092ce4b9e3d50673740fe97a70391df1 /engines/mads/palette.cpp
parent1bcd02177424aa2dd10dfe9788f1c0c75bc0c662 (diff)
downloadscummvm-rg350-3202abaa8922bc741b3f28e1a2c1a86d8639a5f4.tar.gz
scummvm-rg350-3202abaa8922bc741b3f28e1a2c1a86d8639a5f4.tar.bz2
scummvm-rg350-3202abaa8922bc741b3f28e1a2c1a86d8639a5f4.zip
MADS: Standardized fading out methods as fadeOut
Diffstat (limited to 'engines/mads/palette.cpp')
-rw-r--r--engines/mads/palette.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/mads/palette.cpp b/engines/mads/palette.cpp
index fd39492d0e..29045bc34c 100644
--- a/engines/mads/palette.cpp
+++ b/engines/mads/palette.cpp
@@ -365,7 +365,7 @@ void Fader::grabPalette(byte *colors, uint start, uint num) {
g_system->getPaletteManager()->grabPalette(colors, start, num);
}
-void Fader::fadeToGrey(byte palette[PALETTE_SIZE], byte *paletteMap,
+void Fader::fadeOut(byte palette[PALETTE_SIZE], byte *paletteMap,
int baseColor, int numColors, int baseGrey, int numGreys,
int tickDelay, int steps) {
GreyEntry map[PALETTE_COUNT];
@@ -736,10 +736,6 @@ void Palette::setColorValues(byte r, byte g, byte b) {
_colorValues[2] = b;
}
-void Palette::fadeOut(byte palette[PALETTE_SIZE], int start, int count, int v1, int v2, int v3, int v4, int v5, int v6) {
- warning("TODO: Palette::fadeOut()");
-}
-
void Palette::lock() {
if (_rgbList[31] && !_lockFl)
error("Palette Lock - Unexpected values");