aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/map-loader.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/hdb/map-loader.h b/engines/hdb/map-loader.h
index 83307b9810..199d9fe738 100644
--- a/engines/hdb/map-loader.h
+++ b/engines/hdb/map-loader.h
@@ -114,6 +114,16 @@ public:
_mapExplosions[y * _width + x] = value;
}
+ bool laserBeamExist(int x, int y) {
+ return _mapLaserBeams[y * _width + x];
+ }
+ void setLaserBeam(int x, int y, int value) {
+ _mapLaserBeams[y * _width + x] = value;
+ }
+ void clearLaserBeams() {
+ memset(_mapLaserBeams, 0, _width * _height);
+ }
+
uint16 _width, _height;
int _mapX, _mapY; // Coordinates of Map
int _mapTileX, _mapTileY; // Tile Coordinates of Map