diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2006-11-26 10:12:14 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2006-11-26 10:12:14 +0000 |
commit | 78f7e290e46e6084bc51023ae3c8619b0695b7b6 (patch) | |
tree | 86c72dc0e278ba3a49565284d8d58755ed61b31f /src/main.cpp | |
parent | eb6a3dfd09f88414ba1bae9ffe1cf4440db7565d (diff) | |
download | mana-78f7e290e46e6084bc51023ae3c8619b0695b7b6.tar.gz mana-78f7e290e46e6084bc51023ae3c8619b0695b7b6.tar.bz2 mana-78f7e290e46e6084bc51023ae3c8619b0695b7b6.tar.xz mana-78f7e290e46e6084bc51023ae3c8619b0695b7b6.zip |
Equipment database namespace and support for gender specific equipment sprites
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 5379086c..70bc469b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -71,6 +71,7 @@ #include "net/messageout.h" #include "net/network.h" +#include "resources/equipmentdb.h" #include "resources/image.h" #include "resources/itemdb.h" #include "resources/resourcemanager.h" @@ -305,7 +306,8 @@ void init_engine(const Options &options) logger->log("Warning: %s", err); } - // Initialize item database + // Load XML databases + EquipmentDB::load(); ItemDB::load(); } @@ -332,6 +334,8 @@ void exit_engine() ResourceManager::deleteInstance(); delete logger; + // Unload XML databases + EquipmentDB::unload(); ItemDB::unload(); } |