summaryrefslogtreecommitdiff
path: root/src/resources/itemdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-26 14:32:56 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-26 14:32:56 +0300
commit61e3fa8513c1bc2644348ac6052ab87785fb119d (patch)
tree9c889be66d242ac12c382708323e463be9862eef /src/resources/itemdb.h
parent41f0e3289d9827ef71b6b76f524b530ff6f3de67 (diff)
downloadplus-61e3fa8513c1bc2644348ac6052ab87785fb119d.tar.gz
plus-61e3fa8513c1bc2644348ac6052ab87785fb119d.tar.bz2
plus-61e3fa8513c1bc2644348ac6052ab87785fb119d.tar.xz
plus-61e3fa8513c1bc2644348ac6052ab87785fb119d.zip
Add support for include tag in items.xml.
Example: <include name="items2.xml"/>
Diffstat (limited to 'src/resources/itemdb.h')
-rw-r--r--src/resources/itemdb.h8
1 files changed, 2 insertions, 6 deletions
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 <code>items.xml</code>.
- */
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;