summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-16 14:25:30 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-16 14:25:42 +0300
commit831d396c2911badff986f6836679039de3e1b6f2 (patch)
tree1c327e8ea9e8a53b6ccd5e765e674c81c4e1352e /src/resources/mapreader.h
parentcf79b26f999ddd795a54b553af3fdb553ec04536 (diff)
downloadmanaplus-831d396c2911badff986f6836679039de3e1b6f2.tar.gz
manaplus-831d396c2911badff986f6836679039de3e1b6f2.tar.bz2
manaplus-831d396c2911badff986f6836679039de3e1b6f2.tar.xz
manaplus-831d396c2911badff986f6836679039de3e1b6f2.zip
improve mapreader class.
Diffstat (limited to 'src/resources/mapreader.h')
-rw-r--r--src/resources/mapreader.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h
index 63805ac60..3b3e10023 100644
--- a/src/resources/mapreader.h
+++ b/src/resources/mapreader.h
@@ -28,6 +28,7 @@
#include <string>
class Map;
+class MapLayer;
class Properties;
class Resource;
class Tileset;
@@ -71,6 +72,16 @@ class MapReader final
*/
static void readLayer(const XmlNodePtr node, Map *const map);
+ static bool readBase64Layer(const XmlNodePtr childNode, Map *const map,
+ MapLayer *const layer,
+ const std::string &compression,
+ int &x, int &y, const int w, const int h);
+
+ static bool readCsvLayer(const XmlNodePtr childNode, Map *const map,
+ MapLayer *const layer,
+ const std::string &compression,
+ int &x, int &y, const int w, const int h);
+
/**
* Reads a tile set.
*/