diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2009-12-28 00:47:49 +0100 |
---|---|---|
committer | Philipp Sehmisch <crush@themanaworld.org> | 2009-12-28 00:47:49 +0100 |
commit | 61420bdc4aa951e6b57a1b6bec37729e1cb1824e (patch) | |
tree | c95a5becf48280c215b1f1c98b53e617709d637d /src/game-server/main-game.cpp | |
parent | edcc60717dd6d3765e9c48ca469df0fa91c259d3 (diff) | |
download | manaserv-61420bdc4aa951e6b57a1b6bec37729e1cb1824e.tar.gz manaserv-61420bdc4aa951e6b57a1b6bec37729e1cb1824e.tar.bz2 manaserv-61420bdc4aa951e6b57a1b6bec37729e1cb1824e.tar.xz manaserv-61420bdc4aa951e6b57a1b6bec37729e1cb1824e.zip |
Added support for skill names as weapon types in items.xml (still hardcoded)
Diffstat (limited to 'src/game-server/main-game.cpp')
-rw-r--r-- | src/game-server/main-game.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game-server/main-game.cpp b/src/game-server/main-game.cpp index 0f898f7f..5e132fc5 100644 --- a/src/game-server/main-game.cpp +++ b/src/game-server/main-game.cpp @@ -38,6 +38,7 @@ #include "common/configuration.hpp" #include "game-server/accountconnection.hpp" #include "game-server/gamehandler.hpp" +#include "game-server/skillmanager.hpp" #include "game-server/itemmanager.hpp" #include "game-server/mapmanager.hpp" #include "game-server/monstermanager.hpp" @@ -60,6 +61,7 @@ using utils::Logger; #define DEFAULT_LOG_FILE "manaserv-game.log" #define DEFAULT_CONFIG_FILE "manaserv.xml" #define DEFAULT_ITEMSDB_FILE "items.xml" +#define DEFAULT_SKILLSDB_FILE "mana-skills.xml" #define DEFAULT_MAPSDB_FILE "maps.xml" #define DEFAULT_MONSTERSDB_FILE "monsters.xml" #define DEFAULT_STATUSDB_FILE "mana-status-effect.xml" @@ -161,6 +163,7 @@ void initialize() LOG_FATAL("The Game Server can't find any valid/available maps."); exit(2); } + SkillManager::initialize(DEFAULT_SKILLSDB_FILE); ItemManager::initialize(DEFAULT_ITEMSDB_FILE); MonsterManager::initialize(DEFAULT_MONSTERSDB_FILE); StatusManager::initialize(DEFAULT_STATUSDB_FILE); |