aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorNipun Garg2019-06-25 02:07:42 +0530
committerEugene Sandulenko2019-09-03 17:17:00 +0200
commit10246121e082f1c5dda7cf9b7171244d6811c27d (patch)
treec7986f6087fc56dedb87da4fc84724f57a099109 /engines/hdb
parentca15646569b48f26a29707dbcdf186371377ec00 (diff)
downloadscummvm-rg350-10246121e082f1c5dda7cf9b7171244d6811c27d.tar.gz
scummvm-rg350-10246121e082f1c5dda7cf9b7171244d6811c27d.tar.bz2
scummvm-rg350-10246121e082f1c5dda7cf9b7171244d6811c27d.zip
HDB: Add getter-setter for _mapExpBarrels
Diffstat (limited to 'engines/hdb')
-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 199d9fe738..62d494c662 100644
--- a/engines/hdb/map-loader.h
+++ b/engines/hdb/map-loader.h
@@ -114,6 +114,13 @@ public:
_mapExplosions[y * _width + x] = value;
}
+ bool boomBarrelExist(int x, int y) {
+ return _mapExpBarrels[y * _width + x];
+ }
+ void setBoomBarrel(int x, int y, int value) {
+ _mapExpBarrels[y * _width + x] = value;
+ }
+
bool laserBeamExist(int x, int y) {
return _mapLaserBeams[y * _width + x];
}