summaryrefslogtreecommitdiff
path: root/src/progs
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/progs
parent0a47f5c44ddd5fb5157d116ffe0f5ee5f4207eb0 (diff)
downloadmanaverse-acba95ebb0119e7b0f9ef01d9bf3577582857253.tar.gz
manaverse-acba95ebb0119e7b0f9ef01d9bf3577582857253.tar.bz2
manaverse-acba95ebb0119e7b0f9ef01d9bf3577582857253.tar.xz
manaverse-acba95ebb0119e7b0f9ef01d9bf3577582857253.zip
Add clan window.
For now can be opened only by chat command /clan.
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/dyecmd/actions/windows.cpp1
-rw-r--r--src/progs/manaplus/actions/windows.cpp7
2 files changed, 8 insertions, 0 deletions
diff --git a/src/progs/dyecmd/actions/windows.cpp b/src/progs/dyecmd/actions/windows.cpp
index 0ebbaaa7b..c5ab862fa 100644
--- a/src/progs/dyecmd/actions/windows.cpp
+++ b/src/progs/dyecmd/actions/windows.cpp
@@ -55,6 +55,7 @@ impHandlerVoid(updaterWindowShow)
impHandlerVoid(quickWindowShow)
impHandlerVoid(mailWindowShow)
impHandlerVoid(serverInfoWindowShow)
+impHandlerVoid(clanWindowShow)
impHandlerVoid(showItems)
} // namespace Actions
diff --git a/src/progs/manaplus/actions/windows.cpp b/src/progs/manaplus/actions/windows.cpp
index 7368ec287..04e0bcb64 100644
--- a/src/progs/manaplus/actions/windows.cpp
+++ b/src/progs/manaplus/actions/windows.cpp
@@ -30,6 +30,7 @@
#include "gui/dialogsmanager.h"
#include "gui/windows/bankwindow.h"
+#include "gui/windows/clanwindow.h"
#include "gui/windows/skilldialog.h"
#include "gui/windows/socialwindow.h"
#include "gui/windows/statuswindow.h"
@@ -343,6 +344,12 @@ impHandler0(serverInfoWindowShow)
return true;
}
+impHandler0(clanWindowShow)
+{
+ showHideWindow(clanWindow);
+ return true;
+}
+
impHandler(showItems)
{
const std::string args = event.args;