summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorBlue Sans Douze <bluesansdouze@gmail.com>2010-01-23 17:31:21 +0100
committerBlue Sans Douze <bluesansdouze@gmail.com>2010-01-23 18:37:30 +0100
commit943166059f5e0b7403b00f5d5fc19bd72c706657 (patch)
tree4f05e25d6c4d2c30632938b9bdc29b24e0c46c18 /src/map.h
parent7fa3653824e7aacf15aa4fc14f2465addc831851 (diff)
downloadmana-943166059f5e0b7403b00f5d5fc19bd72c706657.tar.gz
mana-943166059f5e0b7403b00f5d5fc19bd72c706657.tar.bz2
mana-943166059f5e0b7403b00f5d5fc19bd72c706657.tar.xz
mana-943166059f5e0b7403b00f5d5fc19bd72c706657.zip
Autoload a minimap is no minimap info is given
Looks for "graphics/minimap/MAPID.png"
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 9914b50f..82b9e842 100644
--- a/src/map.h
+++ b/src/map.h
@@ -267,6 +267,11 @@ class Map : public Properties
const std::string &getName() const;
/**
+ * Gives the map id based on filepath (ex: 009-1)
+ */
+ const std::string *getMapId() const;
+
+ /**
* Find a path from one location to the next.
*/
Path findPath(int startX, int startY, int destX, int destY,