diff options
author | Travis Howell | 2005-04-07 10:43:51 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-07 10:43:51 +0000 |
commit | 6ced0d698a9298450c00e6141bb94049e2d7cdea (patch) | |
tree | 25e6173446f0e59c8449aa06f42fdf64b9480ed8 /scumm/scumm.h | |
parent | 49bab70dedca35a924dfbbb7bbd16a664894dc71 (diff) | |
download | scummvm-rg350-6ced0d698a9298450c00e6141bb94049e2d7cdea.tar.gz scummvm-rg350-6ced0d698a9298450c00e6141bb94049e2d7cdea.tar.bz2 scummvm-rg350-6ced0d698a9298450c00e6141bb94049e2d7cdea.zip |
Add WIP on hePalette.
svn-id: r17431
Diffstat (limited to 'scumm/scumm.h')
-rw-r--r-- | scumm/scumm.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/scumm/scumm.h b/scumm/scumm.h index 06f8a03ebe..d76edcd4d5 100644 --- a/scumm/scumm.h +++ b/scumm/scumm.h @@ -439,7 +439,7 @@ public: // Cursor/palette void updateCursor(); virtual void animateCursor() {} - void updatePalette(); + virtual void updatePalette(); virtual void saveOrLoadCursorImages(Serializer *s) {} /** @@ -983,12 +983,12 @@ protected: void setupV1ManiacPalette(); void setupV1ZakPalette(); void setPalette(int pal, int room); - void setPaletteFromPtr(const byte *ptr, int numcolor = -1); - void setPalColor(int index, int r, int g, int b); + virtual void setPaletteFromPtr(const byte *ptr, int numcolor = -1); + virtual void setPalColor(int index, int r, int g, int b); void setDirtyColors(int min, int max); const byte *findPalInPals(const byte *pal, int index); void swapPalColors(int a, int b); - void copyPalColor(int dst, int src); + virtual void copyPalColor(int dst, int src); void cyclePalette(); void stopCycle(int i); virtual void palManipulateInit(int resID, int start, int end, int time); @@ -999,7 +999,7 @@ protected: void moveMemInPalRes(int start, int end, byte direction); void setupShadowPalette(int slot, int redScale, int greenScale, int blueScale, int startColor, int endColor); void setupShadowPalette(int redScale, int greenScale, int blueScale, int startColor, int endColor, int start, int end); - void darkenPalette(int redScale, int greenScale, int blueScale, int startColor, int endColor); + virtual void darkenPalette(int redScale, int greenScale, int blueScale, int startColor, int endColor); void desaturatePalette(int hueScale, int satScale, int lightScale, int startColor, int endColor); void setupCursor(); @@ -1089,6 +1089,7 @@ protected: bool testGfxOtherUsageBits(int strip, int bit); public: + uint8 *_hePalettes; byte _HEV7ActorPalette[256]; byte _roomPalette[256]; byte *_shadowPalette; |