summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.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/resources/mapreader.h
parent30b8b4ecb92bb208c25a970d767e41ca102b16f1 (diff)
downloadmana-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/resources/mapreader.h')
-rw-r--r--src/resources/mapreader.h8
1 files changed, 7 insertions, 1 deletions
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);
};