diff options
Diffstat (limited to 'engines/toltecs')
-rw-r--r-- | engines/toltecs/palette.cpp | 6 | ||||
-rw-r--r-- | engines/toltecs/palette.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/engines/toltecs/palette.cpp b/engines/toltecs/palette.cpp index eb17725c8c..706218e0ba 100644 --- a/engines/toltecs/palette.cpp +++ b/engines/toltecs/palette.cpp @@ -59,7 +59,7 @@ void Palette::getFullPalette(byte *palette) { } } -void Palette::setDeltaPalette(byte *palette, byte mask, char deltaValue, int16 count, int16 startIndex) { +void Palette::setDeltaPalette(byte *palette, byte mask, int8 deltaValue, int16 count, int16 startIndex) { byte colors[768]; byte *palPtr = palette + startIndex * 3; @@ -138,7 +138,7 @@ void Palette::clearFragments() { _fragments.clear(); } -void Palette::buildColorTransTable(byte limit, char deltaValue, byte mask) { +void Palette::buildColorTransTable(byte limit, int8 deltaValue, byte mask) { byte r = 0, g = 0, b = 0; mask &= 7; @@ -180,7 +180,7 @@ void Palette::buildColorTransTable(byte limit, char deltaValue, byte mask) { } } -void Palette::buildColorTransTable2(byte limit, char deltaValue, byte mask) { +void Palette::buildColorTransTable2(byte limit, int8 deltaValue, byte mask) { // TODO } diff --git a/engines/toltecs/palette.h b/engines/toltecs/palette.h index 140d59b431..7bcf06e027 100644 --- a/engines/toltecs/palette.h +++ b/engines/toltecs/palette.h @@ -41,7 +41,7 @@ public: void setFullPalette(byte *palette); void getFullPalette(byte *palette); - void setDeltaPalette(byte *palette, byte mask, char deltaValue, int16 count, int16 startIndex); + void setDeltaPalette(byte *palette, byte mask, int8 deltaValue, int16 count, int16 startIndex); void loadAddPalette(uint resIndex, byte startIndex); void loadAddPaletteFrom(byte *source, byte startIndex, byte count); @@ -50,8 +50,8 @@ public: uint16 findFragment(int16 id); void clearFragments(); - void buildColorTransTable(byte limit, char deltaValue, byte mask); - void buildColorTransTable2(byte limit, char deltaValue, byte mask); + void buildColorTransTable(byte limit, int8 deltaValue, byte mask); + void buildColorTransTable2(byte limit, int8 deltaValue, byte mask); byte getColorTransPixel(byte pixel) const { return _colorTransTable[pixel]; } byte *getMainPalette() { return _mainPalette; } |