diff options
author | WinterGrascph | 2016-05-04 12:50:06 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 4a8b34e993729dd90d12b1717977d8c4945e9325 (patch) | |
tree | 1cc5f883e5ad412515b6089052f57439504aaf84 /engines/dm/gfx.h | |
parent | 66c55db9f056a1c5c74e82e84650ac7fbbe4d899 (diff) | |
download | scummvm-rg350-4a8b34e993729dd90d12b1717977d8c4945e9325.tar.gz scummvm-rg350-4a8b34e993729dd90d12b1717977d8c4945e9325.tar.bz2 scummvm-rg350-4a8b34e993729dd90d12b1717977d8c4945e9325.zip |
DM: Add the original palettes, edit palette loading accordingly
Diffstat (limited to 'engines/dm/gfx.h')
-rw-r--r-- | engines/dm/gfx.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/engines/dm/gfx.h b/engines/dm/gfx.h index 98d035be2c..acdabfa77c 100644 --- a/engines/dm/gfx.h +++ b/engines/dm/gfx.h @@ -6,9 +6,23 @@ namespace DM { +enum dmPaletteEnum { + palSwoosh = 0, + palMousePointer = 1, + palCredits = 2, + palEntrance = 3, + palDungeonView0 = 4, + palDungeonView1 = 5, + palDungeonView2 = 6, + palDungeonView3 = 7, + palDungeonView4 = 8, + palDungeonView5 = 9, +}; + + class DisplayMan { DMEngine *_vm; - byte *_currPalette; + dmPaletteEnum _currPalette; uint16 _screenWidth; uint16 _screenHeight; byte *_vgaBuffer; @@ -22,7 +36,7 @@ public: ~DisplayMan(); void setUpScreens(uint16 width, uint16 height); void loadGraphics(); - void setPalette(byte *buff, uint16 colorCount); + void loadPalette(dmPaletteEnum palette); void loadIntoBitmap(uint16 index, byte *destBitmap); uint16 getImageWidth(uint16 index); uint16 getImageHeight(uint16 index); |