From d1590377de1141144d59ca1160de2822177f6f2a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 7 Feb 2017 20:38:10 +0300 Subject: Add support for tinyxml2 for reading / writing xml files. --- src/resources/mapreader.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/resources/mapreader.h') diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h index 30ce41c93..2fd1e067c 100644 --- a/src/resources/mapreader.h +++ b/src/resources/mapreader.h @@ -63,7 +63,7 @@ class MapReader final /** * Reads a map layer and adds it to the given map. */ - static void readLayer(const XmlNodePtr node, + static void readLayer(XmlNodeConstPtr node, Map *const map) A_NONNULL(2); #ifdef USE_OPENGL @@ -79,10 +79,10 @@ class MapReader final * @param props The Properties instance to which the properties will * be assigned. */ - static void readProperties(const XmlNodePtrConst node, + static void readProperties(XmlNodeConstPtrConst node, Properties *const props) A_NONNULL(2); - static bool readBase64Layer(const XmlNodePtrConst childNode, + static bool readBase64Layer(XmlNodeConstPtrConst childNode, Map *const map, MapLayer *const layer, const MapLayerTypeT &layerType, @@ -91,7 +91,7 @@ class MapReader final int &restrict x, int &restrict y, const int w, const int h) A_NONNULL(2); - static bool readCsvLayer(const XmlNodePtrConst childNode, + static bool readCsvLayer(XmlNodeConstPtrConst childNode, Map *const map, MapLayer *const layer, const MapLayerTypeT &layerType, -- cgit v1.2.3-60-g2f50