From b092468063d314d96aee6624cdb1a8fa78599424 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 13 Feb 2005 15:40:44 +0000 Subject: Small start on XML map loading. Windows users pay attention to instructions in win32.txt. --- src/map.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/map.h') diff --git a/src/map.h b/src/map.h index c8757603..26f3ef78 100644 --- a/src/map.h +++ b/src/map.h @@ -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. -- cgit v1.2.3-70-g09d2