summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.h
diff options
context:
space:
mode:
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.
*/