diff options
author | Filippos Karapetis | 2016-03-11 07:22:01 +0200 |
---|---|---|
committer | Filippos Karapetis | 2016-03-11 07:22:01 +0200 |
commit | ea52dc498c4b079b52ec507f46ed502b015e0310 (patch) | |
tree | e0acd0bcb99ffcb9c6596d6f1d4888dc99e11293 /engines/sci/graphics/remap.h | |
parent | 6b857299a47f473c6b3b7145334fda601181527f (diff) | |
download | scummvm-rg350-ea52dc498c4b079b52ec507f46ed502b015e0310.tar.gz scummvm-rg350-ea52dc498c4b079b52ec507f46ed502b015e0310.tar.bz2 scummvm-rg350-ea52dc498c4b079b52ec507f46ed502b015e0310.zip |
SCI32: More work on remapping
applyRemap() has been implemented now, however the end effect is still
not visible
Diffstat (limited to 'engines/sci/graphics/remap.h')
-rw-r--r-- | engines/sci/graphics/remap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/graphics/remap.h b/engines/sci/graphics/remap.h index cb696cfc39..7ee9962ba3 100644 --- a/engines/sci/graphics/remap.h +++ b/engines/sci/graphics/remap.h @@ -108,7 +108,7 @@ struct RemapParams { class GfxRemap32 { public: - GfxRemap32(GfxPalette *_palette); + GfxRemap32(GfxPalette32 *palette); ~GfxRemap32() {} void remapOff(byte color); @@ -120,6 +120,7 @@ public: bool remapAllTables(bool palChanged); private: + GfxPalette32 *_palette; RemapParams _remaps[REMAP_COLOR_COUNT]; bool _update; byte _noMapStart, _noMapCount; @@ -128,7 +129,7 @@ private: void initColorArrays(byte index); bool applyRemap(byte index); - bool updateRemap(byte index); + bool updateRemap(byte index, bool palChanged); }; #endif |