diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-08-10 20:34:17 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-08-10 20:36:22 -0600 |
commit | 1b13d8557c8666e1017fd70a455830dbdcb9f46c (patch) | |
tree | 59ac497717ee78861d6e2dc64a35f4924efb8947 /src/net/tmwserv/generalhandler.cpp | |
parent | 9af6e761373f25b56e815f1f75b44473474cf280 (diff) | |
download | mana-1b13d8557c8666e1017fd70a455830dbdcb9f46c.tar.gz mana-1b13d8557c8666e1017fd70a455830dbdcb9f46c.tar.bz2 mana-1b13d8557c8666e1017fd70a455830dbdcb9f46c.tar.xz mana-1b13d8557c8666e1017fd70a455830dbdcb9f46c.zip |
Add SpecialsWindow
THis replaces the MagicWindow that the TMWServ build used and will be
usable going forward for eAthena.
Diffstat (limited to 'src/net/tmwserv/generalhandler.cpp')
-rw-r--r-- | src/net/tmwserv/generalhandler.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/tmwserv/generalhandler.cpp b/src/net/tmwserv/generalhandler.cpp index d643586b..011433fe 100644 --- a/src/net/tmwserv/generalhandler.cpp +++ b/src/net/tmwserv/generalhandler.cpp @@ -22,6 +22,7 @@ #include "gui/inventorywindow.h" #include "gui/partywindow.h" #include "gui/skilldialog.h" +#include "gui/specialswindow.h" #include "gui/statuswindow.h" #include "net/tmwserv/generalhandler.h" @@ -43,6 +44,7 @@ #include "net/tmwserv/npchandler.h" #include "net/tmwserv/partyhandler.h" #include "net/tmwserv/playerhandler.h" +#include "net/tmwserv/specialhandler.h" #include "net/tmwserv/tradehandler.h" #include "utils/gettext.h" @@ -72,7 +74,8 @@ GeneralHandler::GeneralHandler(): mNpcHandler(new NpcHandler), mPartyHandler(new PartyHandler), mPlayerHandler(new PlayerHandler), - mTradeHandler(new TradeHandler) + mTradeHandler(new TradeHandler), + mSpecialHandler(new SpecialHandler) { accountServerConnection = Net::getConnection(); gameServerConnection = Net::getConnection(); @@ -149,6 +152,7 @@ void GeneralHandler::guiWindowsLoaded() inventoryWindow->setSplitAllowed(true); partyWindow->clearPartyName(); skillDialog->loadSkills("tmw-skills.xml"); + specialsWindow->loadSpecials("specials.xml"); player_node->setExpNeeded(100); |