summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-03-31 23:18:19 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-03-31 23:18:19 +0000
commita1226761e08f33146e5e175c9d8786dbc56fde82 (patch)
tree14bb520f37e4b2f05a6aa1a87d0e432a57b3faa8 /src/main.cpp
parent434b8d571266c4eb90c4f8e9bfa0cc97f9172797 (diff)
downloadmana-a1226761e08f33146e5e175c9d8786dbc56fde82.tar.gz
mana-a1226761e08f33146e5e175c9d8786dbc56fde82.tar.bz2
mana-a1226761e08f33146e5e175c9d8786dbc56fde82.tar.xz
mana-a1226761e08f33146e5e175c9d8786dbc56fde82.zip
Implemented NPC XML database which maps NPC IDs to one or more animation files and thus enables animated NPCs.
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 eea47394..7d550571 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -89,6 +89,7 @@
#include "resources/image.h"
#include "resources/itemdb.h"
#include "resources/monsterdb.h"
+#include "resources/npcdb.h"
#include "resources/resourcemanager.h"
#include "utils/dtor.h"
@@ -367,6 +368,7 @@ void exit_engine()
// Unload XML databases
ItemDB::unload();
MonsterDB::unload();
+ NPCDB::unload();
ResourceManager::deleteInstance();
}
@@ -910,6 +912,7 @@ int main(int argc, char *argv[])
// Load XML databases
ItemDB::load();
MonsterDB::load();
+ NPCDB::load();
state = STATE_LOGIN;
break;