diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-25 22:06:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-25 22:07:05 +0300 |
commit | 192b8db5c67860ec9a67d19d9529b01794ae1c83 (patch) | |
tree | 20713692df12ae3a4cece7f9bd174239a0294639 /src/input/inputactionmap.h | |
parent | 393865bc4af7d3a7f96ff66480f6b7f7085fb41f (diff) | |
download | manaverse-192b8db5c67860ec9a67d19d9529b01794ae1c83.tar.gz manaverse-192b8db5c67860ec9a67d19d9529b01794ae1c83.tar.bz2 manaverse-192b8db5c67860ec9a67d19d9529b01794ae1c83.tar.xz manaverse-192b8db5c67860ec9a67d19d9529b01794ae1c83.zip |
Add command and action for show homunculus/mercenary emotes.
New chat command: /homunemote emote
/mercemote emote
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 442 |
1 files changed, 442 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 7e8465781..33cfc942f 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3989,6 +3989,448 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "homuntalk|merctalk", true}, + {"keyHomunEmote", + defaultAction(&Actions::commandHomunEmote), + InputCondition::INGAME, + "homunemote|mercemote", + true}, + {"keyHomunSmilie", + defaultAction(nullptr), + InputCondition::DEFAULT | InputCondition::INGAME, + "", + false}, + {"keyHomunEmoteShortcut1", + addKey(SDLK_1), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut2", + addKey(SDLK_2), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut3", + addKey(SDLK_3), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut4", + addKey(SDLK_4), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut5", + addKey(SDLK_5), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut6", + addKey(SDLK_6), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut7", + addKey(SDLK_7), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut8", + addKey(SDLK_8), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut9", + addKey(SDLK_9), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut10", + addKey(SDLK_0), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut11", + addKey(SDLK_MINUS), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut12", + addKey(SDLK_EQUALS), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut13", + addKey(SDLK_BACKSPACE), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut14", + addKey(SDLK_INSERT), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut15", + addKey(SDLK_HOME), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut16", + addKey(SDLK_q), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut17", + addKey(SDLK_w), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut18", + addKey(SDLK_e), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut19", + addKey(SDLK_r), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut20", + addKey(SDLK_t), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut21", + addKey(SDLK_y), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut22", + addKey(SDLK_u), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut23", + addKey(SDLK_i), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut24", + addKey(SDLK_o), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut25", + addKey(SDLK_p), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut26", + addKey(SDLK_LEFTBRACKET), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut27", + addKey(SDLK_RIGHTBRACKET), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut28", + addKey(SDLK_BACKSLASH), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut29", + addKey(SDLK_a), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut30", + addKey(SDLK_s), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut31", + addKey(SDLK_d), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut32", + addKey(SDLK_f), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut33", + addKey(SDLK_g), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut34", + addKey(SDLK_h), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut35", + addKey(SDLK_j), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut36", + addKey(SDLK_k), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut37", + addKey(SDLK_l), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut38", + addKey(SDLK_SEMICOLON), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut39", + addKey(SDLK_QUOTE), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut40", + addKey(SDLK_z), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut41", + addKey(SDLK_x), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut42", + addKey(SDLK_c), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut43", + addKey(SDLK_v), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut44", + addKey(SDLK_b), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut45", + addKey(SDLK_n), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut46", + addKey(SDLK_m), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut47", + addKey(SDLK_COMMA), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyHomunEmoteShortcut48", + addKey(SDLK_PERIOD), + emptyKey, + Input::GRP_HOMUN_EMOTION, + &Actions::homunEmote, + InputAction::HOMUN_EMOTE, 100, + InputCondition::GAME, + "", + false}, }; #undef defaultAction |