diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-07 23:27:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-07 23:27:44 +0300 |
commit | 08c3c35325813bf897686464dfffeaa0d339f3f7 (patch) | |
tree | cd15f20b8156fefc6eed37268eba0e7b67d2a7ba | |
parent | 0611fa23db668aaabd6d79e6b1c074d8e863dd66 (diff) | |
download | manaplus-08c3c35325813bf897686464dfffeaa0d339f3f7.tar.gz manaplus-08c3c35325813bf897686464dfffeaa0d339f3f7.tar.bz2 manaplus-08c3c35325813bf897686464dfffeaa0d339f3f7.tar.xz manaplus-08c3c35325813bf897686464dfffeaa0d339f3f7.zip |
Add pet emote action and keys for each emote.
-rw-r--r-- | src/actions/actions.cpp | 17 | ||||
-rw-r--r-- | src/actions/actions.h | 1 | ||||
-rw-r--r-- | src/input/inputaction.h | 49 | ||||
-rw-r--r-- | src/input/inputactiondata.h | 3 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 443 | ||||
-rw-r--r-- | src/input/pages/emotes.cpp | 307 |
6 files changed, 817 insertions, 3 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index cb2a49249..190258cc2 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -67,6 +67,7 @@ #include "net/gamehandler.h" #include "net/ipc.h" #include "net/net.h" +#include "net/pethandler.h" #include "net/playerhandler.h" #include "net/uploadcharinfo.h" #include "net/tradehandler.h" @@ -171,6 +172,22 @@ impHandler(emote) return false; } +impHandler(petEmote) +{ + if (event.action >= InputAction::PET_EMOTE_1 + && event.action <= InputAction::PET_EMOTE_48) + { + const int emotion = event.action - InputAction::PET_EMOTE_1; + if (emoteShortcut) + Net::getPetHandler()->emote(emoteShortcut->getEmote(emotion), 0); + if (Game::instance()) + Game::instance()->setValidSpeed(); + return true; + } + + return false; +} + impHandler(outfit) { if (inputManager.isActionActive(InputAction::WEAR_OUTFIT)) diff --git a/src/actions/actions.h b/src/actions/actions.h index f241b321c..04535700a 100644 --- a/src/actions/actions.h +++ b/src/actions/actions.h @@ -30,6 +30,7 @@ struct InputEvent; namespace Actions { decHandler(emote); + decHandler(petEmote); decHandler(outfit); decHandler(mouseClick); decHandler(ok); diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 99ab3a914..3146e290b 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -428,6 +428,55 @@ namespace InputAction GM, HACK, DEBUG_SPAWN, + PET_EMOTE, + PET_EMOTE_1, + PET_EMOTE_2, + PET_EMOTE_3, + PET_EMOTE_4, + PET_EMOTE_5, + PET_EMOTE_6, + PET_EMOTE_7, + PET_EMOTE_8, + PET_EMOTE_9, + PET_EMOTE_10, + PET_EMOTE_11, + PET_EMOTE_12, + PET_EMOTE_13, + PET_EMOTE_14, + PET_EMOTE_15, + PET_EMOTE_16, + PET_EMOTE_17, + PET_EMOTE_18, + PET_EMOTE_19, + PET_EMOTE_20, + PET_EMOTE_21, + PET_EMOTE_22, + PET_EMOTE_23, + PET_EMOTE_24, + PET_EMOTE_25, + PET_EMOTE_26, + PET_EMOTE_27, + PET_EMOTE_28, + PET_EMOTE_29, + PET_EMOTE_30, + PET_EMOTE_31, + PET_EMOTE_32, + PET_EMOTE_33, + PET_EMOTE_34, + PET_EMOTE_35, + PET_EMOTE_36, + PET_EMOTE_37, + PET_EMOTE_38, + PET_EMOTE_39, + PET_EMOTE_40, + PET_EMOTE_41, + PET_EMOTE_42, + PET_EMOTE_43, + PET_EMOTE_44, + PET_EMOTE_45, + PET_EMOTE_46, + PET_EMOTE_47, + PET_EMOTE_48, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactiondata.h b/src/input/inputactiondata.h index 2f5ee2ed6..cbb924070 100644 --- a/src/input/inputactiondata.h +++ b/src/input/inputactiondata.h @@ -54,7 +54,8 @@ namespace Input GRP_GUI = 16, // gui key GRP_MOVETOPOINT = 32, // move to point key GRP_GUICHAN = 64, // for guichan based controls - GRP_REPEAT = 128 // repeat emulation keys + GRP_REPEAT = 128, // repeat emulation keys + GRP_PET_EMOTION = 256 // pet emotions key }; } // namespace Input diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 80819bed0..eb95e8fc3 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3593,7 +3593,448 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "debugspawn", - true} + true}, + {"keyPetSmilie", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + nullptr, + InputAction::NO_VALUE, 50, + InputCondition::DEFAULT | InputCondition::INGAME, + "", + false}, + {"keyPetEmoteShortcut1", + InputType::KEYBOARD, SDLK_1, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut2", + InputType::KEYBOARD, SDLK_2, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut3", + InputType::KEYBOARD, SDLK_3, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut4", + InputType::KEYBOARD, SDLK_4, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut5", + InputType::KEYBOARD, SDLK_5, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut6", + InputType::KEYBOARD, SDLK_6, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut7", + InputType::KEYBOARD, SDLK_7, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut8", + InputType::KEYBOARD, SDLK_8, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut9", + InputType::KEYBOARD, SDLK_9, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut10", + InputType::KEYBOARD, SDLK_0, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut11", + InputType::KEYBOARD, SDLK_MINUS, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut12", + InputType::KEYBOARD, SDLK_EQUALS, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut13", + InputType::KEYBOARD, SDLK_BACKSPACE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut14", + InputType::KEYBOARD, SDLK_INSERT, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut15", + InputType::KEYBOARD, SDLK_HOME, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut16", + InputType::KEYBOARD, SDLK_q, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut17", + InputType::KEYBOARD, SDLK_w, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut18", + InputType::KEYBOARD, SDLK_e, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut19", + InputType::KEYBOARD, SDLK_r, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut20", + InputType::KEYBOARD, SDLK_t, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut21", + InputType::KEYBOARD, SDLK_y, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut22", + InputType::KEYBOARD, SDLK_u, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut23", + InputType::KEYBOARD, SDLK_i, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut24", + InputType::KEYBOARD, SDLK_o, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut25", + InputType::KEYBOARD, SDLK_p, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut26", + InputType::KEYBOARD, SDLK_LEFTBRACKET, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut27", + InputType::KEYBOARD, SDLK_RIGHTBRACKET, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut28", + InputType::KEYBOARD, SDLK_BACKSLASH, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut29", + InputType::KEYBOARD, SDLK_a, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut30", + InputType::KEYBOARD, SDLK_s, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut31", + InputType::KEYBOARD, SDLK_d, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut32", + InputType::KEYBOARD, SDLK_f, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut33", + InputType::KEYBOARD, SDLK_g, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut34", + InputType::KEYBOARD, SDLK_h, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut35", + InputType::KEYBOARD, SDLK_j, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut36", + InputType::KEYBOARD, SDLK_k, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut37", + InputType::KEYBOARD, SDLK_l, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut38", + InputType::KEYBOARD, SDLK_SEMICOLON, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut39", + InputType::KEYBOARD, SDLK_QUOTE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut40", + InputType::KEYBOARD, SDLK_z, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut41", + InputType::KEYBOARD, SDLK_x, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut42", + InputType::KEYBOARD, SDLK_c, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut43", + InputType::KEYBOARD, SDLK_v, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut44", + InputType::KEYBOARD, SDLK_b, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut45", + InputType::KEYBOARD, SDLK_n, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut46", + InputType::KEYBOARD, SDLK_m, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut47", + InputType::KEYBOARD, SDLK_COMMA, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false}, + {"keyPetEmoteShortcut48", + InputType::KEYBOARD, SDLK_PERIOD, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_PET_EMOTION, + &Actions::petEmote, + InputAction::PET_EMOTE, 100, + InputCondition::GAME, + "", + false} }; #endif // INPUT_INPUTACTIONMAP_H diff --git a/src/input/pages/emotes.cpp b/src/input/pages/emotes.cpp index 26b3e9305..e329fd74e 100644 --- a/src/input/pages/emotes.cpp +++ b/src/input/pages/emotes.cpp @@ -46,6 +46,12 @@ SetupActionData setupActionDataEmotes[] = }, { // TRANSLATORS: input action name + N_("Pet emote modifier key"), + InputAction::PET_EMOTE, + "", + }, + { + // TRANSLATORS: input action name N_("Emote shortcuts"), InputAction::NO_VALUE, "" @@ -342,5 +348,304 @@ SetupActionData setupActionDataEmotes[] = "", InputAction::NO_VALUE, "" - } + }, + { + // TRANSLATORS: input action name + N_("Pet emote shortcuts"), + InputAction::NO_VALUE, + "" + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 1), + InputAction::PET_EMOTE_1, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 2), + InputAction::PET_EMOTE_2, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 3), + InputAction::PET_EMOTE_3, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 4), + InputAction::PET_EMOTE_4, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 5), + InputAction::PET_EMOTE_5, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 6), + InputAction::PET_EMOTE_6, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 7), + InputAction::PET_EMOTE_7, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 8), + InputAction::PET_EMOTE_8, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 9), + InputAction::PET_EMOTE_9, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 10), + InputAction::PET_EMOTE_10, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 11), + InputAction::PET_EMOTE_11, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 12), + InputAction::PET_EMOTE_12, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 13), + InputAction::PET_EMOTE_13, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 14), + InputAction::PET_EMOTE_14, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 15), + InputAction::PET_EMOTE_15, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 16), + InputAction::PET_EMOTE_16, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 17), + InputAction::PET_EMOTE_17, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 18), + InputAction::PET_EMOTE_18, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 19), + InputAction::PET_EMOTE_19, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 20), + InputAction::PET_EMOTE_20, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 21), + InputAction::PET_EMOTE_21, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 22), + InputAction::PET_EMOTE_22, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 23), + InputAction::PET_EMOTE_23, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 24), + InputAction::PET_EMOTE_24, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 25), + InputAction::PET_EMOTE_25, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 26), + InputAction::PET_EMOTE_26, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 27), + InputAction::PET_EMOTE_27, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 28), + InputAction::PET_EMOTE_28, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 29), + InputAction::PET_EMOTE_29, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 30), + InputAction::PET_EMOTE_30, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 31), + InputAction::PET_EMOTE_31, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 32), + InputAction::PET_EMOTE_32, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 33), + InputAction::PET_EMOTE_33, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 34), + InputAction::PET_EMOTE_34, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 35), + InputAction::PET_EMOTE_35, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 36), + InputAction::PET_EMOTE_36, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 37), + InputAction::PET_EMOTE_37, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 38), + InputAction::PET_EMOTE_38, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 39), + InputAction::PET_EMOTE_39, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 40), + InputAction::PET_EMOTE_40, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 41), + InputAction::PET_EMOTE_41, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 42), + InputAction::PET_EMOTE_42, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 43), + InputAction::PET_EMOTE_43, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 44), + InputAction::PET_EMOTE_44, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 45), + InputAction::PET_EMOTE_45, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 46), + InputAction::PET_EMOTE_46, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 47), + InputAction::PET_EMOTE_47, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Pet emote shortcut %d"), 48), + InputAction::PET_EMOTE_48, + "", + }, + { + "", + InputAction::NO_VALUE, + "" + }, }; |