diff options
author | Sven Hesse | 2012-06-06 16:50:22 +0200 |
---|---|---|
committer | Sven Hesse | 2012-06-06 16:50:22 +0200 |
commit | 78c9c72691957ea8c6ed823b76b67a1c0e1d9a93 (patch) | |
tree | fd145b6b5cec40757fef45dd78706b23526c7c3e /engines/gob/minigames/geisha/penetration.h | |
parent | 04d0ec8d03d46f59f950929321fef43b52ea740a (diff) | |
download | scummvm-rg350-78c9c72691957ea8c6ed823b76b67a1c0e1d9a93.tar.gz scummvm-rg350-78c9c72691957ea8c6ed823b76b67a1c0e1d9a93.tar.bz2 scummvm-rg350-78c9c72691957ea8c6ed823b76b67a1c0e1d9a93.zip |
GOB: Set Penetration floor palettes and fade in/out
Diffstat (limited to 'engines/gob/minigames/geisha/penetration.h')
-rw-r--r-- | engines/gob/minigames/geisha/penetration.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/gob/minigames/geisha/penetration.h b/engines/gob/minigames/geisha/penetration.h index f717e7219b..f19e186d82 100644 --- a/engines/gob/minigames/geisha/penetration.h +++ b/engines/gob/minigames/geisha/penetration.h @@ -57,6 +57,9 @@ private: static const int kMapWidth = 17; static const int kMapHeight = 13; + static const int kPaletteSize = 16; + + static const byte kPalettes[kFloorCount][3 * kPaletteSize]; static const byte kMaps[kModeCount][kFloorCount][kMapWidth * kMapHeight]; struct Position { @@ -97,6 +100,8 @@ private: bool _hasMaxEnergy; bool _testMode; + bool _needFadeIn; + Surface *_background; CMPFile *_sprites; ANIFile *_objects; @@ -133,6 +138,9 @@ private: void initScreen(); + void setPalette(); + void fadeIn(); + void updateAnims(); int16 checkInput(int16 &mouseX, int16 &mouseY, MouseButtons &mouseButtons); |