aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/map.h
diff options
context:
space:
mode:
authorPaul Gilbert2018-01-13 16:20:49 -0500
committerPaul Gilbert2018-01-13 16:20:49 -0500
commit17d68b8bf9903ada535d4d5701815f57dde8b9a9 (patch)
treef088c2b99142e4860c2f843b9321f640c001572d /engines/xeen/map.h
parentd52bfbb75231cd66d119ff12b91b9ebce4423c84 (diff)
downloadscummvm-rg350-17d68b8bf9903ada535d4d5701815f57dde8b9a9.tar.gz
scummvm-rg350-17d68b8bf9903ada535d4d5701815f57dde8b9a9.tar.bz2
scummvm-rg350-17d68b8bf9903ada535d4d5701815f57dde8b9a9.zip
XEEN: Centralize logic for finding map in _mazeData array
Diffstat (limited to 'engines/xeen/map.h')
-rw-r--r--engines/xeen/map.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/xeen/map.h b/engines/xeen/map.h
index fe626858c8..b8b77c49ff 100644
--- a/engines/xeen/map.h
+++ b/engines/xeen/map.h
@@ -425,6 +425,12 @@ private:
* Save the map data
*/
void saveMap();
+
+ /**
+ * Finds a map in the array that contains the currently active and the surrounding
+ * maps in the eight cardinal directions
+ */
+ void findMap(int mapId = -1);
public:
Common::String _mazeName;
bool _isOutdoors;