summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/mapreader.h')
-rw-r--r--src/resources/mapreader.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h
index 4f84f1a1a..27cbd665b 100644
--- a/src/resources/mapreader.h
+++ b/src/resources/mapreader.h
@@ -59,6 +59,11 @@ class MapReader final
const std::string &restrict realFilename)
A_WARN_UNUSED;
+ /**
+ * Reads a map layer and adds it to the given map.
+ */
+ static void readLayer(const XmlNodePtr node, Map *const map);
+
private:
/**
* Reads the properties element.
@@ -70,11 +75,6 @@ class MapReader final
static void readProperties(const XmlNodePtrConst node,
Properties *const props);
- /**
- * Reads a map layer and adds it to the given map.
- */
- static void readLayer(const XmlNodePtr node, Map *const map);
-
static bool readBase64Layer(const XmlNodePtrConst childNode,
Map *const map,
MapLayer *const layer,
@@ -100,6 +100,12 @@ class MapReader final
Map *const map) A_WARN_UNUSED;
static void updateMusic(Map *const map);
+
+ static void addLayerToList(const std::string &fileName);
+
+ static void loadLayers(const std::string &path);
+
+ static void unloadTempLayers();
};
#endif // RESOURCES_MAPREADER_H