diff options
author | Nipun Garg | 2019-06-25 02:07:42 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:00 +0200 |
commit | 10246121e082f1c5dda7cf9b7171244d6811c27d (patch) | |
tree | c7986f6087fc56dedb87da4fc84724f57a099109 /engines | |
parent | ca15646569b48f26a29707dbcdf186371377ec00 (diff) | |
download | scummvm-rg350-10246121e082f1c5dda7cf9b7171244d6811c27d.tar.gz scummvm-rg350-10246121e082f1c5dda7cf9b7171244d6811c27d.tar.bz2 scummvm-rg350-10246121e082f1c5dda7cf9b7171244d6811c27d.zip |
HDB: Add getter-setter for _mapExpBarrels
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/map-loader.h | 7 |
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]; } |