diff options
author | Sven Hesse | 2012-06-06 03:12:12 +0200 |
---|---|---|
committer | Sven Hesse | 2012-06-06 03:33:35 +0200 |
commit | 1782012f9f9ec368689fb2e232543a5aea3c1073 (patch) | |
tree | d59944537440c53e585717423177a6a374bfc89b /engines/gob/minigames/geisha/penetration.h | |
parent | b83ac21f6008287414d59ad7f9c88b63bd93bac5 (diff) | |
download | scummvm-rg350-1782012f9f9ec368689fb2e232543a5aea3c1073.tar.gz scummvm-rg350-1782012f9f9ec368689fb2e232543a5aea3c1073.tar.bz2 scummvm-rg350-1782012f9f9ec368689fb2e232543a5aea3c1073.zip |
GOB: Clean up the Penetration map handling a bit
Diffstat (limited to 'engines/gob/minigames/geisha/penetration.h')
-rw-r--r-- | engines/gob/minigames/geisha/penetration.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/gob/minigames/geisha/penetration.h b/engines/gob/minigames/geisha/penetration.h index 0582b99e83..a5740382c6 100644 --- a/engines/gob/minigames/geisha/penetration.h +++ b/engines/gob/minigames/geisha/penetration.h @@ -110,10 +110,11 @@ private: uint8 _floor; Surface *_map; - byte _mapTiles[kMapWidth * kMapHeight]; + bool _walkMap[kMapWidth * kMapHeight]; ManagedSub *_sub; + Common::List<Position> _exits; Common::List<Position> _shields; Common::List<ManagedMouth> _mouths; @@ -126,6 +127,7 @@ private: void init(); void deinit(); + void clearMap(); void createMap(); void initScreen(); @@ -138,7 +140,7 @@ private: void subMove(int x, int y, Submarine::Direction direction); void subShoot(); - bool isWalkable(byte tile) const; + bool isWalkable(int16 x, int16 y) const; void checkShields(); void checkMouths(); |