diff options
author | Travis Howell | 2009-01-04 03:49:23 +0000 |
---|---|---|
committer | Travis Howell | 2009-01-04 03:49:23 +0000 |
commit | d0fc28bbd1bd5a3399c629e5d25ae3a64fef977c (patch) | |
tree | 68d39802db270642507b027fdeb25cfc059315de /engines/scumm/scumm.h | |
parent | 4670e37a78409bfe9279c5d73c8d581f0d66143e (diff) | |
download | scummvm-rg350-d0fc28bbd1bd5a3399c629e5d25ae3a64fef977c.tar.gz scummvm-rg350-d0fc28bbd1bd5a3399c629e5d25ae3a64fef977c.tar.bz2 scummvm-rg350-d0fc28bbd1bd5a3399c629e5d25ae3a64fef977c.zip |
Use cache when converting 16bit colors, for faster conversions.
svn-id: r35714
Diffstat (limited to 'engines/scumm/scumm.h')
-rw-r--r-- | engines/scumm/scumm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/scumm/scumm.h b/engines/scumm/scumm.h index e040cb1593..065b941165 100644 --- a/engines/scumm/scumm.h +++ b/engines/scumm/scumm.h @@ -1027,6 +1027,7 @@ protected: virtual void palManipulateInit(int resID, int start, int end, int time); void palManipulate(); public: + int convert16BitColor(uint16 color, uint8 r, uint8 g, uint8 b); int remapPaletteColor(int r, int g, int b, int threshold); // Used by Actor::remapActorPalette protected: void moveMemInPalRes(int start, int end, byte direction); @@ -1102,6 +1103,7 @@ public: // HE specific byte _HEV7ActorPalette[256]; uint8 *_hePalettes; + int16 *_hePaletteCache; protected: int _shadowPaletteSize; |