From 61e3fa8513c1bc2644348ac6052ab87785fb119d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 26 May 2013 14:32:56 +0300 Subject: Add support for include tag in items.xml. Example: --- src/resources/itemdb.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/resources/itemdb.h') diff --git a/src/resources/itemdb.h b/src/resources/itemdb.h index 98b38d256..44ab68f6d 100644 --- a/src/resources/itemdb.h +++ b/src/resources/itemdb.h @@ -37,16 +37,12 @@ class ItemInfo; */ namespace ItemDB { - /** - * Loads the item data from items.xml. - */ void load(); - /** - * Frees item data. - */ void unload(); + void loadXmlFile(const std::string &fileName, int &tagNum); + const StringVect &getTags(); bool exists(const int id) A_WARN_UNUSED; -- cgit v1.2.3-60-g2f50