summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-23 19:44:33 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-23 19:44:33 +0300
commitd6f58bee33ca548ea6fc125553aa8d4d2fdba91f (patch)
treef56a9c37da0ef39c470a3da6315a073c87b1c984 /src/input/inputactionmap.h
parent663b79fd68f9e7f578415f3d0f015a3d8ba998cb (diff)
downloadmanaverse-d6f58bee33ca548ea6fc125553aa8d4d2fdba91f.tar.gz
manaverse-d6f58bee33ca548ea6fc125553aa8d4d2fdba91f.tar.bz2
manaverse-d6f58bee33ca548ea6fc125553aa8d4d2fdba91f.tar.xz
manaverse-d6f58bee33ca548ea6fc125553aa8d4d2fdba91f.zip
Move chat command /announce into actions.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 47138a746..37810b5d7 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -27,6 +27,7 @@
#include "actions/actions.h"
#include "actions/chat.h"
+#include "actions/commands.h"
#include "actions/move.h"
#include "actions/statusbar.h"
#include "actions/tabs.h"
@@ -2855,7 +2856,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"ignoreallwhispers",
- false}
+ false},
+ {"keyChatAnnounce",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT | Input::GRP_GUI,
+ &Actions::chatAnnounce,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "announce",
+ true}
};
#endif // INPUT_INPUTACTIONMAP_H