summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2006-11-29 21:17:16 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2006-11-29 21:17:16 +0000
commit25df9c6c3b735fea87ded284665e866c39144705 (patch)
treec265eaa0560eb40b1a334b91c24fff7b9962b3d1 /src/main.cpp
parent34baa9637d2319f52b4e1b1f3294994557151113 (diff)
downloadmana-25df9c6c3b735fea87ded284665e866c39144705.tar.gz
mana-25df9c6c3b735fea87ded284665e866c39144705.tar.bz2
mana-25df9c6c3b735fea87ded284665e866c39144705.tar.xz
mana-25df9c6c3b735fea87ded284665e866c39144705.zip
Implemented MonsterDB namespace
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index f1a4ed88..6f34e0b8 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -74,6 +74,7 @@
#include "resources/equipmentdb.h"
#include "resources/image.h"
#include "resources/itemdb.h"
+#include "resources/monsterdb.h"
#include "resources/resourcemanager.h"
#include "resources/spriteset.h"
@@ -311,6 +312,7 @@ void init_engine(const Options &options)
// Load XML databases
EquipmentDB::load();
ItemDB::load();
+ MonsterDB::load();
}
/** Clear the engine */
@@ -336,6 +338,7 @@ void exit_engine()
// Unload XML databases
EquipmentDB::unload();
ItemDB::unload();
+ MonsterDB::unload();
ResourceManager::deleteInstance();
delete logger;