summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-20 03:13:28 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-20 03:13:28 +0000
commit4be5313a359b326f80ee6e5903123c2bc298a8e6 (patch)
tree065c0e89fa30358e60dea0599376b0ba7364d485 /src/map.h
parent30b8b4ecb92bb208c25a970d767e41ca102b16f1 (diff)
downloadmana-client-4be5313a359b326f80ee6e5903123c2bc298a8e6.tar.gz
mana-client-4be5313a359b326f80ee6e5903123c2bc298a8e6.tar.bz2
mana-client-4be5313a359b326f80ee6e5903123c2bc298a8e6.tar.xz
mana-client-4be5313a359b326f80ee6e5903123c2bc298a8e6.zip
Fixed Cancel button for NPC choice dialog, thanks to Mra. Also some small
changes to map and map reader.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 957b3b0a..4a131e37 100644
--- a/src/map.h
+++ b/src/map.h
@@ -143,12 +143,23 @@ class Map
int getHeight();
/**
+ * Returns the tile width of this map.
+ */
+ int getTileWidth();
+
+ /**
+ * Returns the tile height used by this map.
+ */
+ int getTileHeight();
+
+ /**
* Find a path from one location to the next.
*/
PATH_NODE *findPath(int startX, int startY, int destX, int destY);
private:
int width, height;
+ int tileWidth, tileHeight;
Tile *tiles;
// Pathfinding members