diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-20 03:13:28 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-20 03:13:28 +0000 |
commit | 4be5313a359b326f80ee6e5903123c2bc298a8e6 (patch) | |
tree | 065c0e89fa30358e60dea0599376b0ba7364d485 /src/map.h | |
parent | 30b8b4ecb92bb208c25a970d767e41ca102b16f1 (diff) | |
download | mana-4be5313a359b326f80ee6e5903123c2bc298a8e6.tar.gz mana-4be5313a359b326f80ee6e5903123c2bc298a8e6.tar.bz2 mana-4be5313a359b326f80ee6e5903123c2bc298a8e6.tar.xz mana-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.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |