aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/map-loader.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/hdb/map-loader.h b/engines/hdb/map-loader.h
index f94c2a77a2..83307b9810 100644
--- a/engines/hdb/map-loader.h
+++ b/engines/hdb/map-loader.h
@@ -107,6 +107,13 @@ public:
// Check if one of the tiles in a range exists in the map on either layer
bool checkOneTileExistInRange(int tileIndex, int count);
+ bool explosionExist(int x, int y) {
+ return _mapExplosions[y * _width + x];
+ }
+ void setExplosion(int x, int y, int value) {
+ _mapExplosions[y * _width + x] = value;
+ }
+
uint16 _width, _height;
int _mapX, _mapY; // Coordinates of Map
int _mapTileX, _mapTileY; // Tile Coordinates of Map