summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-24 22:21:04 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-24 22:21:04 +0300
commit2e655b41861169ee1db19ef59345661b7dc70610 (patch)
treec2d46433c073a12920232fe94e96995457f5fe4e /src/resources/mapreader.h
parent3b537e109df901df3da4c706f827c8d3d39a7238 (diff)
downloadmv-2e655b41861169ee1db19ef59345661b7dc70610.tar.gz
mv-2e655b41861169ee1db19ef59345661b7dc70610.tar.bz2
mv-2e655b41861169ee1db19ef59345661b7dc70610.tar.xz
mv-2e655b41861169ee1db19ef59345661b7dc70610.zip
Add basic support for maps without client data (tmx, tiles, etc)
Diffstat (limited to 'src/resources/mapreader.h')
-rw-r--r--src/resources/mapreader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h
index c9c742ecd..28fa628db 100644
--- a/src/resources/mapreader.h
+++ b/src/resources/mapreader.h
@@ -49,6 +49,9 @@ class MapReader
*/
static Map *readMap(XmlNodePtr node, const std::string &path);
+ static Map *createEmptyMap(const std::string &filename,
+ const std::string &realFilename);
+
private:
/**
* Reads the properties element.