From 1c87a896376d62131d9df1fee1bd7cec79e21aa6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 1 Aug 2013 12:43:06 +0300 Subject: add gui for in chat emotes. For add in chat emote press F1 inside opened chat, then select and click emote. --- src/game.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 08544e8eb..8c7fbf868 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -46,6 +46,7 @@ #include "gui/botcheckerwindow.h" #include "gui/debugwindow.h" #include "gui/didyouknowwindow.h" +#include "gui/emotewindow.h" #include "gui/equipmentwindow.h" #include "gui/gui.h" #include "gui/helpwindow.h" @@ -116,6 +117,7 @@ QuitDialog *quitDialog = nullptr; Window *disconnectedDialog = nullptr; ChatWindow *chatWindow = nullptr; +EmoteWindow *emoteWindow = nullptr; StatusWindow *statusWindow = nullptr; MiniStatusWindow *miniStatusWindow = nullptr; InventoryWindow *inventoryWindow = nullptr; @@ -198,6 +200,7 @@ static void createGuiWindows() emoteShortcut->load(); // Create dialogs + emoteWindow = new EmoteWindow; chatWindow = new ChatWindow; chatWindow->updateVisibility(); tradeWindow = new TradeWindow; @@ -339,6 +342,7 @@ static void destroyGuiWindows() del_0(battleChatTab) del_0(gmChatTab); logger->log("start deleting"); + del_0(emoteWindow); del_0(chatWindow) logger->log("end deleting"); del_0(statusWindow) -- cgit v1.2.3-60-g2f50