diff options
author | Sven Hesse | 2012-06-03 00:20:39 +0200 |
---|---|---|
committer | Sven Hesse | 2012-06-03 01:29:44 +0200 |
commit | 43abb525d4004cb0816c8ea506b0b963d784ccf3 (patch) | |
tree | a2a5a8cd91ed3b098daba440fbedade6ebd16faf /engines/gob/minigames/geisha/penetration.h | |
parent | db77b9e4a7f8491d45b47b539af2077fb15e9376 (diff) | |
download | scummvm-rg350-43abb525d4004cb0816c8ea506b0b963d784ccf3.tar.gz scummvm-rg350-43abb525d4004cb0816c8ea506b0b963d784ccf3.tar.bz2 scummvm-rg350-43abb525d4004cb0816c8ea506b0b963d784ccf3.zip |
GOB: Draw the map in a separate surface
Still hidden for now.
Diffstat (limited to 'engines/gob/minigames/geisha/penetration.h')
-rw-r--r-- | engines/gob/minigames/geisha/penetration.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/gob/minigames/geisha/penetration.h b/engines/gob/minigames/geisha/penetration.h index 6c32d28942..897b10940c 100644 --- a/engines/gob/minigames/geisha/penetration.h +++ b/engines/gob/minigames/geisha/penetration.h @@ -46,6 +46,14 @@ public: bool play(bool hasAccessPass, bool hasMaxEnergy, bool testMode); private: + static const int kModeCount = 2; + static const int kFloorCount = 3; + + static const int kMapWidth = 17; + static const int kMapHeight = 13; + + static const byte kMaps[kModeCount][kFloorCount][kMapWidth * kMapHeight]; + GobEngine *_vm; bool _hasAccessPass; @@ -61,9 +69,16 @@ private: Meter *_shieldMeter; Meter *_healthMeter; + uint8 _floor; + + Surface *_map; + byte _mapTiles[kMapWidth * kMapHeight]; + void init(); void deinit(); + void createMap(); + void initScreen(); void updateAnims(); |