diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-16 22:06:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-16 22:18:16 +0300 |
commit | e3ce2827f14efc6630a4c2932b60e23d9b0321b0 (patch) | |
tree | 3919c09ad3461b934d92daf95051e22eb8c6f20d /src/resources/mapreader.h | |
parent | f5eba43704cfda82cff4229aecf6ebce99029bda (diff) | |
download | plus-e3ce2827f14efc6630a4c2932b60e23d9b0321b0.tar.gz plus-e3ce2827f14efc6630a4c2932b60e23d9b0321b0.tar.bz2 plus-e3ce2827f14efc6630a4c2932b60e23d9b0321b0.tar.xz plus-e3ce2827f14efc6630a4c2932b60e23d9b0321b0.zip |
read map layers based on layer types.
Diffstat (limited to 'src/resources/mapreader.h')
-rw-r--r-- | src/resources/mapreader.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h index 7ac70a99f..d03021790 100644 --- a/src/resources/mapreader.h +++ b/src/resources/mapreader.h @@ -25,6 +25,8 @@ #include "utils/xml.h" +#include "maplayer.h" + #include <string> class Map; @@ -73,11 +75,13 @@ class MapReader final static bool readBase64Layer(const XmlNodePtr childNode, Map *const map, MapLayer *const layer, + const MapLayer::Type &layerType, 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 MapLayer::Type &layerType, int &x, int &y, const int w, const int h); /** |