summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-24 21:37:03 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-29 16:12:41 +0300
commit9234bf25b145995d5395f98a1f5dd030783d25d6 (patch)
tree3f679edc308488057dc5d044698c053de6b4e36c /src/game.cpp
parent2f351b828f4155f93566d685eb99416e32cba7d0 (diff)
downloadmanaverse-9234bf25b145995d5395f98a1f5dd030783d25d6.tar.gz
manaverse-9234bf25b145995d5395f98a1f5dd030783d25d6.tar.bz2
manaverse-9234bf25b145995d5395f98a1f5dd030783d25d6.tar.xz
manaverse-9234bf25b145995d5395f98a1f5dd030783d25d6.zip
Add quests netcode and quests window.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 63ea0d55d..c7da8bea4 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -64,6 +64,7 @@
#include "gui/textdialog.h"
#include "gui/tradewindow.h"
#include "gui/viewport.h"
+#include "gui/questswindow.h"
#include "gui/windowmenu.h"
#include "gui/whoisonline.h"
@@ -137,6 +138,7 @@ DidYouKnowWindow *didYouKnowWindow = nullptr;
KillStats *killStats = nullptr;
BotCheckerWindow *botCheckerWindow = nullptr;
SocialWindow *socialWindow = nullptr;
+QuestsWindow *questsWindow = nullptr;
WindowMenu *windowMenu = nullptr;
ActorSpriteManager *actorSpriteManager = nullptr;
@@ -246,10 +248,11 @@ static void createGuiWindows()
new SpellShortcutContainer(f));
}
- botCheckerWindow = new BotCheckerWindow();
- whoIsOnline = new WhoIsOnline();
+ botCheckerWindow = new BotCheckerWindow;
+ whoIsOnline = new WhoIsOnline;
killStats = new KillStats;
- socialWindow = new SocialWindow();
+ socialWindow = new SocialWindow;
+ questsWindow = new QuestsWindow;
localChatTab = new ChatTab(_("General"));
localChatTab->setAllowHighlight(false);
@@ -343,6 +346,7 @@ static void destroyGuiWindows()
del_0(dropShortcutWindow);
del_0(spellShortcutWindow);
del_0(botCheckerWindow);
+ del_0(questsWindow);
del_0(whoIsOnline);
del_0(killStats);
del_0(didYouKnowWindow);