From 4be5313a359b326f80ee6e5903123c2bc298a8e6 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 20 Feb 2005 03:13:28 +0000 Subject: Fixed Cancel button for NPC choice dialog, thanks to Mra. Also some small changes to map and map reader. --- src/map.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/map.h') diff --git a/src/map.h b/src/map.h index 957b3b0a..4a131e37 100644 --- a/src/map.h +++ b/src/map.h @@ -142,6 +142,16 @@ 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. */ @@ -149,6 +159,7 @@ class Map private: int width, height; + int tileWidth, tileHeight; Tile *tiles; // Pathfinding members -- cgit v1.2.3-70-g09d2