summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-17 00:10:25 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-17 00:10:25 +0300
commitd6da03bf0c4bd2e89429448f2d33c2bdc5083733 (patch)
tree771e9ccecc5d5fd739f9be5df9af443c9ab8b6e5 /src/resources/mapreader.h
parente3ce2827f14efc6630a4c2932b60e23d9b0321b0 (diff)
downloadmv-d6da03bf0c4bd2e89429448f2d33c2bdc5083733.tar.gz
mv-d6da03bf0c4bd2e89429448f2d33c2bdc5083733.tar.bz2
mv-d6da03bf0c4bd2e89429448f2d33c2bdc5083733.tar.xz
mv-d6da03bf0c4bd2e89429448f2d33c2bdc5083733.zip
add code for loading map heights.
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 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);
/**