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.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/resources/mapreader.cpp') diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index 59ddaddb7..2fa44f57e 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -501,7 +501,7 @@ Map *MapReader::readMap(XmlNodePtrConst node, const std::string &path) return map; } -void MapReader::readProperties(const XmlNodePtrConst node, +void MapReader::readProperties(XmlNodeConstPtrConst node, Properties *const props) { BLOCK_START("MapReader::readProperties") @@ -635,7 +635,7 @@ inline static void setTile(Map *const map, } } -bool MapReader::readBase64Layer(const XmlNodePtrConst childNode, +bool MapReader::readBase64Layer(XmlNodeConstPtrConst childNode, Map *const map, MapLayer *const layer, const MapLayerTypeT &layerType, @@ -772,7 +772,7 @@ bool MapReader::readBase64Layer(const XmlNodePtrConst childNode, return true; } -bool MapReader::readCsvLayer(const XmlNodePtrConst childNode, +bool MapReader::readCsvLayer(XmlNodeConstPtrConst childNode, Map *const map, MapLayer *const layer, const MapLayerTypeT &layerType, @@ -854,7 +854,7 @@ bool MapReader::readCsvLayer(const XmlNodePtrConst childNode, return true; } -void MapReader::readLayer(const XmlNodePtr node, Map *const map) +void MapReader::readLayer(XmlNodeConstPtr node, Map *const map) { if (!node) return; -- cgit v1.2.3-70-g09d2