summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-11 20:59:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-11 22:24:04 +0300
commitaf8863d722f06153877d289b939b5ba84713621d (patch)
treecbb97e2ea203d40615c49803c50b7f3c82f53ad6 /src/utils
parent0148cb8ad0e071464f09ada9eb41625dee038cb8 (diff)
downloadmanaverse-af8863d722f06153877d289b939b5ba84713621d.tar.gz
manaverse-af8863d722f06153877d289b939b5ba84713621d.tar.bz2
manaverse-af8863d722f06153877d289b939b5ba84713621d.tar.xz
manaverse-af8863d722f06153877d289b939b5ba84713621d.zip
add support for map layer replacments.
This can be used for mods.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/xml.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/xml.h b/src/utils/xml.h
index 5c1fb7605..48d60cda7 100644
--- a/src/utils/xml.h
+++ b/src/utils/xml.h
@@ -90,6 +90,9 @@ namespace XML
*/
XmlNodePtr rootNode() A_WARN_UNUSED;
+ bool isLoaded() const
+ { return mDoc != nullptr; }
+
private:
xmlDocPtr mDoc;
};