summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-23 14:00:40 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-23 14:00:40 +0300
commit1c77ad7b7c5059376ae6f109ff681a3473e2a51c (patch)
treef5471e73b5073be6bb300555bd3e55108bef553c /src/input
parent5251869d3507c8c3dc5fd4c824a06987fd6437e2 (diff)
downloadmanaplus-1c77ad7b7c5059376ae6f109ff681a3473e2a51c.tar.gz
manaplus-1c77ad7b7c5059376ae6f109ff681a3473e2a51c.tar.bz2
manaplus-1c77ad7b7c5059376ae6f109ff681a3473e2a51c.tar.xz
manaplus-1c77ad7b7c5059376ae6f109ff681a3473e2a51c.zip
Move mapped chat commands into actions.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionmap.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index ed0d93c2d..65c145dbd 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -110,7 +110,7 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
&Actions::moveToTarget,
InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED,
- "",
+ "movetotarget",
false},
{"keyChangeMoveToTarget",
InputType::KEYBOARD, SDLK_PERIOD,
@@ -129,7 +129,7 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
&Actions::moveToHome,
InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED,
- "",
+ "movetohome",
false},
{"keySetHome",
InputType::KEYBOARD, SDLK_KP5,
@@ -138,7 +138,7 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
&Actions::setHome,
InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED,
- "",
+ "sethome",
false},
{"keyMoveToPoint",
InputType::KEYBOARD, SDLK_RSHIFT,
@@ -2056,7 +2056,7 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
&Actions::prevChatTab,
InputAction::NO_VALUE, 50,
InputCondition::NOINPUT | InputCondition::INGAME,
- "",
+ "prevTab",
false},
{"keyChatNextTab",
InputType::KEYBOARD, SDLK_KP9,
@@ -2065,7 +2065,7 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
&Actions::nextChatTab,
InputAction::NO_VALUE, 50,
InputCondition::NOINPUT | InputCondition::INGAME,
- "",
+ "nextTab",
false},
{"keyChatCloseTab",
InputType::UNKNOWN, InputAction::NO_VALUE,
@@ -2182,7 +2182,7 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
&Actions::dropItem0,
InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED,
- "",
+ "drop",
false},
{"keyQuickDropN",
InputType::KEYBOARD, SDLK_u,
@@ -2191,7 +2191,7 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
&Actions::dropItem,
InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED,
- "",
+ "dropn",
false},
{"keySwitchQuickDrop",
InputType::KEYBOARD, SDLK_i,
@@ -2227,7 +2227,7 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
&Actions::magicAttack,
InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED,
- "",
+ "magicattack",
false},
{"keySwitchMagicAttack",
InputType::KEYBOARD, SDLK_COMMA,