From a1226761e08f33146e5e175c9d8786dbc56fde82 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Mon, 31 Mar 2008 23:18:19 +0000 Subject: Implemented NPC XML database which maps NPC IDs to one or more animation files and thus enables animated NPCs. --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.cpp') 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; -- cgit v1.2.3-70-g09d2