summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-13 01:54:28 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-13 04:28:32 +0300
commitacba95ebb0119e7b0f9ef01d9bf3577582857253 (patch)
treeb5346c2a5642456e793b28487020cf1c727d8f07 /src/game.cpp
parent0a47f5c44ddd5fb5157d116ffe0f5ee5f4207eb0 (diff)
downloadplus-acba95ebb0119e7b0f9ef01d9bf3577582857253.tar.gz
plus-acba95ebb0119e7b0f9ef01d9bf3577582857253.tar.bz2
plus-acba95ebb0119e7b0f9ef01d9bf3577582857253.tar.xz
plus-acba95ebb0119e7b0f9ef01d9bf3577582857253.zip
Add clan window.
For now can be opened only by chat command /clan.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 7cf1ef7de..bb9559924 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -61,6 +61,7 @@
#include "gui/popups/popupmenu.h"
#include "gui/windows/bankwindow.h"
+#include "gui/windows/clanwindow.h"
#include "gui/windows/cutinwindow.h"
#include "gui/windows/mailwindow.h"
#include "gui/windows/chatwindow.h"
@@ -283,6 +284,7 @@ static void createGuiWindows()
CREATEWIDGETV0(killStats, KillStats);
CREATEWIDGETV0(socialWindow, SocialWindow);
CREATEWIDGETV0(questsWindow, QuestsWindow);
+ CREATEWIDGETV0(clanWindow, ClanWindow);
// TRANSLATORS: chat tab header
localChatTab = new ChatTab(chatWindow, _("General"),
@@ -391,6 +393,7 @@ static void destroyGuiWindows()
delete2(questsWindow);
delete2(whoIsOnline);
delete2(killStats);
+ delete2(clanWindow);
}
Game *Game::mInstance = nullptr;