From d6da03bf0c4bd2e89429448f2d33c2bdc5083733 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Sep 2013 00:10:25 +0300 Subject: add code for loading map heights. --- src/resources/mapreader.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/resources/mapreader.h') 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 @@ -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); /** -- cgit v1.2.3-70-g09d2