diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-17 00:10:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-17 00:10:25 +0300 |
commit | d6da03bf0c4bd2e89429448f2d33c2bdc5083733 (patch) | |
tree | 771e9ccecc5d5fd739f9be5df9af443c9ab8b6e5 /src/resources/mapreader.h | |
parent | e3ce2827f14efc6630a4c2932b60e23d9b0321b0 (diff) | |
download | manaplus-d6da03bf0c4bd2e89429448f2d33c2bdc5083733.tar.gz manaplus-d6da03bf0c4bd2e89429448f2d33c2bdc5083733.tar.bz2 manaplus-d6da03bf0c4bd2e89429448f2d33c2bdc5083733.tar.xz manaplus-d6da03bf0c4bd2e89429448f2d33c2bdc5083733.zip |
add code for loading map heights.
Diffstat (limited to 'src/resources/mapreader.h')
-rw-r--r-- | src/resources/mapreader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h index d03021790..343dd9958 100644 --- a/src/resources/mapreader.h +++ b/src/resources/mapreader.h @@ -25,6 +25,7 @@ #include "utils/xml.h" +#include "mapheights.h" #include "maplayer.h" #include <string> @@ -76,12 +77,14 @@ class MapReader final static bool readBase64Layer(const XmlNodePtr childNode, Map *const map, MapLayer *const layer, const MapLayer::Type &layerType, + MapHeights *const heights, 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, + MapHeights *const heights, int &x, int &y, const int w, const int h); /** |