diff options
author | Travis Howell | 2009-06-04 01:05:47 +0000 |
---|---|---|
committer | Travis Howell | 2009-06-04 01:05:47 +0000 |
commit | 3a64d35dfd9126d7912c4d4496030f7ed120d660 (patch) | |
tree | d31b135a189e23fbebe806d77b9c5675ba2ed244 /engines/scumm/he/intern_he.h | |
parent | 8447a3650e7de2fc780c1c354f70bf0d119622b3 (diff) | |
download | scummvm-rg350-3a64d35dfd9126d7912c4d4496030f7ed120d660.tar.gz scummvm-rg350-3a64d35dfd9126d7912c4d4496030f7ed120d660.tar.bz2 scummvm-rg350-3a64d35dfd9126d7912c4d4496030f7ed120d660.zip |
Add 16bit color support for later HE games.
svn-id: r41153
Diffstat (limited to 'engines/scumm/he/intern_he.h')
-rw-r--r-- | engines/scumm/he/intern_he.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/scumm/he/intern_he.h b/engines/scumm/he/intern_he.h index c2079fa5fe..949113aeeb 100644 --- a/engines/scumm/he/intern_he.h +++ b/engines/scumm/he/intern_he.h @@ -455,6 +455,7 @@ protected: uint8 *getHEPaletteIndex(int palSlot); int getHEPaletteColor(int palSlot, int color); int getHEPaletteSimilarColor(int palSlot, int red, int green, int start, int end); + int getHEPalette16BitColorComponent(int component, int type); int getHEPaletteColorComponent(int palSlot, int color, int component); void setHEPaletteColor(int palSlot, uint8 color, uint8 r, uint8 g, uint8 b); void setHEPaletteFromPtr(int palSlot, const uint8 *palData); @@ -463,7 +464,7 @@ protected: void setHEPaletteFromRoom(int palSlot, int resId, int state); void restoreHEPalette(int palSlot); void copyHEPalette(int dstPalSlot, int srcPalSlot); - void copyHEPaletteColor(int palSlot, uint8 dstColor, uint8 srcColor); + void copyHEPaletteColor(int palSlot, uint8 dstColor, uint16 srcColor); protected: /* HE version 90 script opcodes */ |