summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-15 20:09:02 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-15 20:09:02 +0300
commitb2d5269eca7be4c76379ac2cbeef7a40ad0695bb (patch)
tree8fbb7cae1d8771cd08f6c1310d4c26ee9fb3932d
parentf2e40ee7c81927d128e9d6c8e65e617e3b6d0b0b (diff)
downloadmanaplus-b2d5269eca7be4c76379ac2cbeef7a40ad0695bb.tar.gz
manaplus-b2d5269eca7be4c76379ac2cbeef7a40ad0695bb.tar.bz2
manaplus-b2d5269eca7be4c76379ac2cbeef7a40ad0695bb.tar.xz
manaplus-b2d5269eca7be4c76379ac2cbeef7a40ad0695bb.zip
Add outfits shortcuts to input settings.
-rw-r--r--src/actionmanager.cpp12
-rw-r--r--src/actionmanager.h1
-rw-r--r--src/gui/setupactiondata.h250
-rw-r--r--src/keyboarddata.h336
-rw-r--r--src/keydata.h48
5 files changed, 644 insertions, 3 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp
index b2df9967b..ededaea52 100644
--- a/src/actionmanager.cpp
+++ b/src/actionmanager.cpp
@@ -155,9 +155,15 @@ impHandler(emote)
return true;
}
}
- else if (inputManager.isActionActive(Input::KEY_WEAR_OUTFIT))
+
+ return false;
+}
+
+impHandler(outfit)
+{
+ if (inputManager.isActionActive(Input::KEY_WEAR_OUTFIT))
{
- int num = event.action - Input::KEY_EMOTE_1;
+ int num = event.action - Input::KEY_OUTFIT_1;
if (outfitWindow && num >= 0)
{
outfitWindow->wearOutfit(num);
@@ -168,7 +174,7 @@ impHandler(emote)
}
else if (inputManager.isActionActive(Input::KEY_COPY_OUTFIT))
{
- int num = event.action - Input::KEY_EMOTE_1;
+ int num = event.action - Input::KEY_OUTFIT_1;
if (outfitWindow && num >= 0)
{
outfitWindow->copyOutfit(num);
diff --git a/src/actionmanager.h b/src/actionmanager.h
index d474603da..fcd8bf23b 100644
--- a/src/actionmanager.h
+++ b/src/actionmanager.h
@@ -37,6 +37,7 @@ namespace ActionManager
decHandler(moveLeft);
decHandler(moveRight);
decHandler(emote);
+ decHandler(outfit);
decHandler(mouseClick);
decHandler(ok);
decHandler(shortcut);
diff --git a/src/gui/setupactiondata.h b/src/gui/setupactiondata.h
index 53699110b..c30ffd395 100644
--- a/src/gui/setupactiondata.h
+++ b/src/gui/setupactiondata.h
@@ -701,6 +701,11 @@ static SetupActionData setupActionData3[] =
static SetupActionData setupActionData4[] =
{
{
+ N_("Outfits keys"),
+ Input::KEY_NO_VALUE,
+ ""
+ },
+ {
N_("Wear Outfit"),
Input::KEY_WEAR_OUTFIT,
"",
@@ -716,6 +721,251 @@ static SetupActionData setupActionData4[] =
"",
},
{
+ N_("Outfits shortcuts"),
+ Input::KEY_NO_VALUE,
+ ""
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 1),
+ Input::KEY_OUTFIT_1,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 2),
+ Input::KEY_OUTFIT_2,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 3),
+ Input::KEY_OUTFIT_3,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 4),
+ Input::KEY_OUTFIT_4,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 5),
+ Input::KEY_OUTFIT_5,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 6),
+ Input::KEY_OUTFIT_6,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 7),
+ Input::KEY_OUTFIT_7,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 8),
+ Input::KEY_OUTFIT_8,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 9),
+ Input::KEY_OUTFIT_9,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 10),
+ Input::KEY_OUTFIT_10,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 11),
+ Input::KEY_OUTFIT_11,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 12),
+ Input::KEY_OUTFIT_12,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 13),
+ Input::KEY_OUTFIT_13,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 14),
+ Input::KEY_OUTFIT_14,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 15),
+ Input::KEY_OUTFIT_15,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 16),
+ Input::KEY_OUTFIT_16,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 17),
+ Input::KEY_OUTFIT_17,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 18),
+ Input::KEY_OUTFIT_18,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 19),
+ Input::KEY_OUTFIT_19,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 20),
+ Input::KEY_OUTFIT_20,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 21),
+ Input::KEY_OUTFIT_21,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 22),
+ Input::KEY_OUTFIT_22,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 23),
+ Input::KEY_OUTFIT_23,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 24),
+ Input::KEY_OUTFIT_24,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 25),
+ Input::KEY_OUTFIT_25,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 26),
+ Input::KEY_OUTFIT_26,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 27),
+ Input::KEY_OUTFIT_27,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 28),
+ Input::KEY_OUTFIT_28,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 29),
+ Input::KEY_OUTFIT_29,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 30),
+ Input::KEY_OUTFIT_30,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 31),
+ Input::KEY_OUTFIT_31,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 32),
+ Input::KEY_OUTFIT_32,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 33),
+ Input::KEY_OUTFIT_33,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 34),
+ Input::KEY_OUTFIT_34,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 35),
+ Input::KEY_OUTFIT_35,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 36),
+ Input::KEY_OUTFIT_36,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 37),
+ Input::KEY_OUTFIT_37,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 38),
+ Input::KEY_OUTFIT_38,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 39),
+ Input::KEY_OUTFIT_39,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 40),
+ Input::KEY_OUTFIT_40,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 41),
+ Input::KEY_OUTFIT_41,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 42),
+ Input::KEY_OUTFIT_42,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 43),
+ Input::KEY_OUTFIT_43,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 44),
+ Input::KEY_OUTFIT_44,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 45),
+ Input::KEY_OUTFIT_45,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 46),
+ Input::KEY_OUTFIT_46,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 47),
+ Input::KEY_OUTFIT_47,
+ "",
+ },
+ {
+ strprintf(N_("Outfit Shortcut %d"), 48),
+ Input::KEY_OUTFIT_48,
+ "",
+ },
+ {
"",
Input::KEY_NO_VALUE,
""
diff --git a/src/keyboarddata.h b/src/keyboarddata.h
index 735d63b4d..c5a0af703 100644
--- a/src/keyboarddata.h
+++ b/src/keyboarddata.h
@@ -882,6 +882,342 @@ static KeyData const keyData[Input::KEY_TOTAL] = {
&ActionManager::copyEquippedToOutfit,
Input::KEY_NO_VALUE, 50,
COND_GAME | COND_VALIDSPEED},
+ {"keyOutfitShortcut1",
+ INPUT_KEYBOARD, SDLK_1,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut2",
+ INPUT_KEYBOARD, SDLK_2,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut3",
+ INPUT_KEYBOARD, SDLK_3,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut4",
+ INPUT_KEYBOARD, SDLK_4,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut5",
+ INPUT_KEYBOARD, SDLK_5,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut6",
+ INPUT_KEYBOARD, SDLK_6,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut7",
+ INPUT_KEYBOARD, SDLK_7,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut8",
+ INPUT_KEYBOARD, SDLK_8,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut9",
+ INPUT_KEYBOARD, SDLK_9,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut10",
+ INPUT_KEYBOARD, SDLK_0,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut11",
+ INPUT_KEYBOARD, SDLK_MINUS,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut12",
+ INPUT_KEYBOARD, SDLK_EQUALS,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut13",
+ INPUT_KEYBOARD, SDLK_BACKSPACE,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut14",
+ INPUT_KEYBOARD, SDLK_INSERT,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut15",
+ INPUT_KEYBOARD, SDLK_HOME,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut16",
+ INPUT_KEYBOARD, SDLK_q,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut17",
+ INPUT_KEYBOARD, SDLK_w,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut18",
+ INPUT_KEYBOARD, SDLK_e,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut19",
+ INPUT_KEYBOARD, SDLK_r,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut20",
+ INPUT_KEYBOARD, SDLK_t,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut21",
+ INPUT_KEYBOARD, SDLK_y,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut22",
+ INPUT_KEYBOARD, SDLK_u,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut23",
+ INPUT_KEYBOARD, SDLK_i,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut24",
+ INPUT_KEYBOARD, SDLK_o,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut25",
+ INPUT_KEYBOARD, SDLK_p,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut26",
+ INPUT_KEYBOARD, SDLK_LEFTBRACKET,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut27",
+ INPUT_KEYBOARD, SDLK_RIGHTBRACKET,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut28",
+ INPUT_KEYBOARD, SDLK_BACKSLASH,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut29",
+ INPUT_KEYBOARD, SDLK_a,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut30",
+ INPUT_KEYBOARD, SDLK_s,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut31",
+ INPUT_KEYBOARD, SDLK_d,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut32",
+ INPUT_KEYBOARD, SDLK_f,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut33",
+ INPUT_KEYBOARD, SDLK_g,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut34",
+ INPUT_KEYBOARD, SDLK_h,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut35",
+ INPUT_KEYBOARD, SDLK_j,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut36",
+ INPUT_KEYBOARD, SDLK_k,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut37",
+ INPUT_KEYBOARD, SDLK_l,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut38",
+ INPUT_KEYBOARD, SDLK_SEMICOLON,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut39",
+ INPUT_KEYBOARD, SDLK_QUOTE,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut40",
+ INPUT_KEYBOARD, SDLK_z,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut41",
+ INPUT_KEYBOARD, SDLK_x,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut42",
+ INPUT_KEYBOARD, SDLK_c,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut43",
+ INPUT_KEYBOARD, SDLK_v,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut44",
+ INPUT_KEYBOARD, SDLK_b,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut45",
+ INPUT_KEYBOARD, SDLK_n,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut46",
+ INPUT_KEYBOARD, SDLK_m,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut47",
+ INPUT_KEYBOARD, SDLK_COMMA,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
+ {"keyOutfitShortcut48",
+ INPUT_KEYBOARD, SDLK_PERIOD,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_OUTFIT,
+ &ActionManager::outfit,
+ Input::KEY_NO_VALUE, 100,
+ COND_GAME},
{"keyChat",
INPUT_KEYBOARD, SDLK_RETURN,
INPUT_UNKNOWN, Input::KEY_NO_VALUE,
diff --git a/src/keydata.h b/src/keydata.h
index 50bfb2d2f..177e78dd1 100644
--- a/src/keydata.h
+++ b/src/keydata.h
@@ -185,6 +185,54 @@ namespace Input
KEY_WEAR_OUTFIT,
KEY_COPY_OUTFIT,
KEY_COPY_EQUIPED_OUTFIT,
+ KEY_OUTFIT_1,
+ KEY_OUTFIT_2,
+ KEY_OUTFIT_3,
+ KEY_OUTFIT_4,
+ KEY_OUTFIT_5,
+ KEY_OUTFIT_6,
+ KEY_OUTFIT_7,
+ KEY_OUTFIT_8,
+ KEY_OUTFIT_9,
+ KEY_OUTFIT_10,
+ KEY_OUTFIT_11,
+ KEY_OUTFIT_12,
+ KEY_OUTFIT_13,
+ KEY_OUTFIT_14,
+ KEY_OUTFIT_15,
+ KEY_OUTFIT_16,
+ KEY_OUTFIT_17,
+ KEY_OUTFIT_18,
+ KEY_OUTFIT_19,
+ KEY_OUTFIT_20,
+ KEY_OUTFIT_21,
+ KEY_OUTFIT_22,
+ KEY_OUTFIT_23,
+ KEY_OUTFIT_24,
+ KEY_OUTFIT_25,
+ KEY_OUTFIT_26,
+ KEY_OUTFIT_27,
+ KEY_OUTFIT_28,
+ KEY_OUTFIT_29,
+ KEY_OUTFIT_30,
+ KEY_OUTFIT_31,
+ KEY_OUTFIT_32,
+ KEY_OUTFIT_33,
+ KEY_OUTFIT_34,
+ KEY_OUTFIT_35,
+ KEY_OUTFIT_36,
+ KEY_OUTFIT_37,
+ KEY_OUTFIT_38,
+ KEY_OUTFIT_39,
+ KEY_OUTFIT_40,
+ KEY_OUTFIT_41,
+ KEY_OUTFIT_42,
+ KEY_OUTFIT_43,
+ KEY_OUTFIT_44,
+ KEY_OUTFIT_45,
+ KEY_OUTFIT_46,
+ KEY_OUTFIT_47,
+ KEY_OUTFIT_48,
KEY_TOGGLE_CHAT,
KEY_SCROLL_CHAT_UP,
KEY_SCROLL_CHAT_DOWN,