diff options
author | Strangerke | 2014-05-19 07:04:26 +0200 |
---|---|---|
committer | Strangerke | 2014-05-19 07:04:26 +0200 |
commit | 46cedfc90384708bfddcd1bbc6d9468ca3014f31 (patch) | |
tree | 0f91a12431faef2b86cd859a2724c4d7f495c360 /engines/mads/palette.cpp | |
parent | 7f82b0eafa1663c6f8a46ba62f267cfef85dd2c5 (diff) | |
download | scummvm-rg350-46cedfc90384708bfddcd1bbc6d9468ca3014f31.tar.gz scummvm-rg350-46cedfc90384708bfddcd1bbc6d9468ca3014f31.tar.bz2 scummvm-rg350-46cedfc90384708bfddcd1bbc6d9468ca3014f31.zip |
MADS: Implement two palette functions
Diffstat (limited to 'engines/mads/palette.cpp')
-rw-r--r-- | engines/mads/palette.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/mads/palette.cpp b/engines/mads/palette.cpp index e718059b67..a4608a6c1a 100644 --- a/engines/mads/palette.cpp +++ b/engines/mads/palette.cpp @@ -714,6 +714,18 @@ void Palette::setLowRange() { _vm->_palette->setPalette(_mainPalette, 0, 4); } +void Palette::setColorFlags(byte r, byte g, byte b) { + _colorFlags[0] = r; + _colorFlags[1] = g; + _colorFlags[2] = b; +} + +void Palette::setColorValues(byte r, byte g, byte b) { + _colorValues[0] = r; + _colorValues[1] = g; + _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()"); } |