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/resources/mapreader.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/resources/mapreader.h') diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h index cf34f96f..d58fdf90 100644 --- a/src/resources/mapreader.h +++ b/src/resources/mapreader.h @@ -47,10 +47,16 @@ class MapReader private: /** - * Helper function that handler reading the map layers. + * Helper function that handles reading a map layer. */ static void readLayer(xmlNodePtr node, Map *map, int layer); + /** + * Helper function that handles reading a tile set. + */ + static void readTileset(xmlNodePtr node, const std::string &path, + Map *map); + static int getProperty(xmlNodePtr node, const char* name, int def); }; -- cgit v1.2.3-70-g09d2