diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-13 15:40:44 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-13 15:40:44 +0000 |
commit | b092468063d314d96aee6624cdb1a8fa78599424 (patch) | |
tree | ec09bb99d4cf52cbd8f68f17ef4fd3d478f62ea9 /src/map.h | |
parent | 4b2a028c8002609bd9256d1f8fd73aceee5c44fc (diff) | |
download | mana-b092468063d314d96aee6624cdb1a8fa78599424.tar.gz mana-b092468063d314d96aee6624cdb1a8fa78599424.tar.bz2 mana-b092468063d314d96aee6624cdb1a8fa78599424.tar.xz mana-b092468063d314d96aee6624cdb1a8fa78599424.zip |
Small start on XML map loading. Windows users pay attention to instructions
in win32.txt.
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -88,9 +88,14 @@ class Map ~Map(); /** - * Loads a map file. + * Loads a map file (gat). */ - bool load(char *mapFile); + bool load(const std::string &mapFile); + + /** + * Loads an XML map file (tmx). + */ + bool loadXmlMap(const std::string &mapFile); /** * Sets the size of the map. This will destroy any existing map data. |