summaryrefslogtreecommitdiff
path: root/src/input/keyboarddata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/keyboarddata.h')
-rw-r--r--src/input/keyboarddata.h628
1 files changed, 324 insertions, 304 deletions
diff --git a/src/input/keyboarddata.h b/src/input/keyboarddata.h
index 2503d08fd..f947021a4 100644
--- a/src/input/keyboarddata.h
+++ b/src/input/keyboarddata.h
@@ -26,6 +26,7 @@
#include "actionmanager.h"
#include "localconsts.h"
+#include "input/inputcondition.h"
#include "input/inputmanager.h"
#include "input/inputtype.h"
@@ -41,175 +42,182 @@ static const KeyData keyData[Input::KEY_TOTAL] = {
Input::GRP_DEFAULT,
&ActionManager::moveUp,
Input::KEY_NO_VALUE, 50,
- COND_ARROWKEYS},
+ InputCondition::ARROWKEYS},
{"keyMoveDown",
InputType::KEYBOARD, SDLK_DOWN,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::moveDown,
Input::KEY_NO_VALUE, 50,
- COND_ARROWKEYS},
+ InputCondition::ARROWKEYS},
{"keyMoveLeft",
InputType::KEYBOARD, SDLK_LEFT,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::moveLeft,
Input::KEY_NO_VALUE, 50,
- COND_ARROWKEYS},
+ InputCondition::ARROWKEYS},
{"keyMoveRight",
InputType::KEYBOARD, SDLK_RIGHT,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::moveRight,
Input::KEY_NO_VALUE, 50,
- COND_ARROWKEYS},
+ InputCondition::ARROWKEYS},
{"keyAttack",
InputType::KEYBOARD, SDLK_x,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_REPEAT,
&ActionManager::attack,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOFOLLOW | COND_VALIDSPEED},
+ InputCondition::GAME | InputCondition::NOFOLLOW
+ | InputCondition::VALIDSPEED},
{"keyTargetAttack",
InputType::KEYBOARD, SDLK_LCTRL,
InputType::JOYSTICK, 0,
Input::GRP_DEFAULT,
&ActionManager::targetAttack,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOFOLLOW | COND_VALIDSPEED},
+ InputCondition::GAME | InputCondition::NOFOLLOW
+ | InputCondition::VALIDSPEED},
{"keyMoveToTarget",
InputType::KEYBOARD, SDLK_v,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::moveToTarget,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED},
+ InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyChangeMoveToTarget",
InputType::KEYBOARD, SDLK_PERIOD,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeMoveToTarget,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED | COND_EMODS},
+ InputCondition::GAME | InputCondition::VALIDSPEED
+ | InputCondition::EMODS},
{"keyMoveToHome",
InputType::KEYBOARD, SDLK_d,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::moveToHome,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED},
+ InputCondition::GAME | InputCondition::VALIDSPEED},
{"keySetHome",
InputType::KEYBOARD, SDLK_KP5,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::setHome,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED},
+ InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyMoveToPoint",
InputType::KEYBOARD, SDLK_RSHIFT,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT | COND_INGAME},
+ InputCondition::DEFAULT | InputCondition::INGAME},
{"keyTalk",
InputType::KEYBOARD, SDLK_t,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::talk,
Input::KEY_NO_VALUE, 50,
- COND_GAME},
+ InputCondition::GAME},
{"keyTarget",
InputType::KEYBOARD, SDLK_LSHIFT,
InputType::JOYSTICK, 4,
Input::GRP_DEFAULT,
&ActionManager::stopAttack,
Input::KEY_NO_VALUE, 50,
- COND_GAME},
+ InputCondition::GAME},
{"keyUnTarget",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::untarget,
Input::KEY_NO_VALUE, 50,
- COND_GAME},
+ InputCondition::GAME},
{"keyTargetMonster",
InputType::KEYBOARD, SDLK_a,
InputType::JOYSTICK, 3,
Input::GRP_DEFAULT | Input::GRP_REPEAT,
&ActionManager::targetMonster,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET | COND_VALIDSPEED},
+ InputCondition::GAME | InputCondition::NOTARGET
+ | InputCondition::VALIDSPEED},
{"keyTargetNPC",
InputType::KEYBOARD, SDLK_n,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::targetNPC,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyTargetPlayer",
InputType::KEYBOARD, SDLK_q,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::targetPlayer,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyPickup",
InputType::KEYBOARD, SDLK_z,
InputType::JOYSTICK, 1,
Input::GRP_DEFAULT,
&ActionManager::pickup,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyChangePickupType",
InputType::KEYBOARD, SDLK_o,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changePickupType,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED | COND_EMODS},
+ InputCondition::GAME | InputCondition::VALIDSPEED
+ | InputCondition::EMODS},
{"keyHideWindows",
InputType::KEYBOARD, SDLK_h,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::hideWindows,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyBeingSit",
InputType::KEYBOARD, SDLK_s,
InputType::JOYSTICK, 2,
Input::GRP_DEFAULT,
&ActionManager::sit,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyScreenshot",
InputType::KEYBOARD, SDLK_p,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::screenshot,
Input::KEY_NO_VALUE, 50,
- COND_NOTARGET},
+ InputCondition::NOTARGET},
{"keyTrade",
InputType::KEYBOARD, SDLK_r,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeTrade,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyPathfind",
InputType::KEYBOARD, SDLK_f,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeMapMode,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET | COND_EMODS},
+ InputCondition::GAME | InputCondition::NOTARGET
+ | InputCondition::EMODS},
{"keyOK",
InputType::KEYBOARD, SDLK_SPACE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::ok,
Input::KEY_NO_VALUE, 50,
- COND_NOMODAL | COND_NOAWAY | COND_NONPCINPUT},
+ InputCondition::NOMODAL | InputCondition::NOAWAY
+ | InputCondition::NONPCINPUT},
{"keyQuit",
InputType::KEYBOARD, SDLK_ESCAPE,
#if defined(USE_SDL2) && defined(ANDROID)
@@ -220,1407 +228,1409 @@ static const KeyData keyData[Input::KEY_TOTAL] = {
Input::GRP_DEFAULT,
&ActionManager::quit,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyShortcutsKey",
InputType::KEYBOARD, SDLK_MENU,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT | COND_INGAME},
+ InputCondition::DEFAULT | InputCondition::INGAME},
{"keyShortcut1",
InputType::KEYBOARD, SDLK_1,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut2",
InputType::KEYBOARD, SDLK_2,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut3",
InputType::KEYBOARD, SDLK_3,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut4",
InputType::KEYBOARD, SDLK_4,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut5",
InputType::KEYBOARD, SDLK_5,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut6",
InputType::KEYBOARD, SDLK_6,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut7",
InputType::KEYBOARD, SDLK_7,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut8",
InputType::KEYBOARD, SDLK_8,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut9",
InputType::KEYBOARD, SDLK_9,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut10",
InputType::KEYBOARD, SDLK_0,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut11",
InputType::KEYBOARD, SDLK_MINUS,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut12",
InputType::KEYBOARD, SDLK_EQUALS,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut13",
InputType::KEYBOARD, SDLK_BACKSPACE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut14",
InputType::KEYBOARD, SDLK_INSERT,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut15",
InputType::KEYBOARD, SDLK_HOME,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut16",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut17",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut18",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut19",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyShortcut20",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT},
+ InputCondition::SHORTCUT},
{"keyWindowHelp",
InputType::KEYBOARD, SDLK_F1,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::helpWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT0},
+ InputCondition::SHORTCUT0},
{"keyWindowStatus",
InputType::KEYBOARD, SDLK_F2,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::statusWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowInventory",
InputType::KEYBOARD, SDLK_F3,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::inventoryWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowEquipment",
InputType::KEYBOARD, SDLK_F4,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::equipmentWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowSkill",
InputType::KEYBOARD, SDLK_F5,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::skillDialogShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowMinimap",
InputType::KEYBOARD, SDLK_F6,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::minimapWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowChat",
InputType::KEYBOARD, SDLK_F7,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::chatWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowShortcut",
InputType::KEYBOARD, SDLK_F8,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::shortcutWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowSetup",
InputType::KEYBOARD, SDLK_F9,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::setupWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_NOTARGET | COND_NOINPUT | COND_ENABLED},
+ InputCondition::NOTARGET | InputCondition::NOINPUT
+ | InputCondition::ENABLED},
{"keyWindowDebug",
InputType::KEYBOARD, SDLK_F10,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::debugWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowSocial",
InputType::KEYBOARD, SDLK_F11,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::socialWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowEmoteBar",
InputType::KEYBOARD, SDLK_F12,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::emoteShortcutWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowOutfit",
InputType::KEYBOARD, SDLK_BACKQUOTE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::outfitWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowShop",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::shopWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowDrop",
InputType::KEYBOARD, SDLK_w,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::dropShortcutWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowKills",
InputType::KEYBOARD, SDLK_e,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::killStatsWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowSpells",
InputType::KEYBOARD, SDLK_j,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::spellShortcutWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowBotChecker",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::botcheckerWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowOnline",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::whoIsOnlineWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowDidYouKnow",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::didYouKnowWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT0},
+ InputCondition::SHORTCUT0},
{"keyWindowQuests",
InputType::KEYBOARD, SDLK_LEFTBRACKET,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::questsWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keySocialPrevTab",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::prevSocialTab,
Input::KEY_NO_VALUE, 50,
- COND_NOINPUT | COND_INGAME},
+ InputCondition::NOINPUT | InputCondition::INGAME},
{"keySocialNextTab",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::nextSocialTab,
Input::KEY_NO_VALUE, 50,
- COND_NOINPUT | COND_INGAME},
+ InputCondition::NOINPUT | InputCondition::INGAME},
{"keySmilie",
InputType::KEYBOARD, SDLK_LALT,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT | COND_INGAME},
+ InputCondition::DEFAULT | InputCondition::INGAME},
{"keyEmoteShortcut1",
InputType::KEYBOARD, SDLK_1,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut2",
InputType::KEYBOARD, SDLK_2,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut3",
InputType::KEYBOARD, SDLK_3,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut4",
InputType::KEYBOARD, SDLK_4,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut5",
InputType::KEYBOARD, SDLK_5,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut6",
InputType::KEYBOARD, SDLK_6,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut7",
InputType::KEYBOARD, SDLK_7,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut8",
InputType::KEYBOARD, SDLK_8,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut9",
InputType::KEYBOARD, SDLK_9,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut10",
InputType::KEYBOARD, SDLK_0,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut11",
InputType::KEYBOARD, SDLK_MINUS,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut12",
InputType::KEYBOARD, SDLK_EQUALS,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut13",
InputType::KEYBOARD, SDLK_BACKSPACE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut14",
InputType::KEYBOARD, SDLK_INSERT,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut15",
InputType::KEYBOARD, SDLK_HOME,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut16",
InputType::KEYBOARD, SDLK_q,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut17",
InputType::KEYBOARD, SDLK_w,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut18",
InputType::KEYBOARD, SDLK_e,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut19",
InputType::KEYBOARD, SDLK_r,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut20",
InputType::KEYBOARD, SDLK_t,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut21",
InputType::KEYBOARD, SDLK_y,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut22",
InputType::KEYBOARD, SDLK_u,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut23",
InputType::KEYBOARD, SDLK_i,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut24",
InputType::KEYBOARD, SDLK_o,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut25",
InputType::KEYBOARD, SDLK_p,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut26",
InputType::KEYBOARD, SDLK_LEFTBRACKET,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut27",
InputType::KEYBOARD, SDLK_RIGHTBRACKET,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut28",
InputType::KEYBOARD, SDLK_BACKSLASH,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut29",
InputType::KEYBOARD, SDLK_a,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut30",
InputType::KEYBOARD, SDLK_s,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut31",
InputType::KEYBOARD, SDLK_d,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut32",
InputType::KEYBOARD, SDLK_f,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut33",
InputType::KEYBOARD, SDLK_g,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut34",
InputType::KEYBOARD, SDLK_h,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut35",
InputType::KEYBOARD, SDLK_j,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut36",
InputType::KEYBOARD, SDLK_k,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut37",
InputType::KEYBOARD, SDLK_l,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut38",
InputType::KEYBOARD, SDLK_SEMICOLON,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut39",
InputType::KEYBOARD, SDLK_QUOTE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut40",
InputType::KEYBOARD, SDLK_z,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut41",
InputType::KEYBOARD, SDLK_x,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut42",
InputType::KEYBOARD, SDLK_c,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut43",
InputType::KEYBOARD, SDLK_v,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut44",
InputType::KEYBOARD, SDLK_b,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut45",
InputType::KEYBOARD, SDLK_n,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut46",
InputType::KEYBOARD, SDLK_m,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut47",
InputType::KEYBOARD, SDLK_COMMA,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyEmoteShortcut48",
InputType::KEYBOARD, SDLK_PERIOD,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
Input::KEY_EMOTE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyWearOutfit",
InputType::KEYBOARD, SDLK_RCTRL,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT | COND_INGAME},
+ InputCondition::DEFAULT | InputCondition::INGAME},
{"keyCopyOutfit",
InputType::KEYBOARD, SDLK_RALT,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT | COND_INGAME},
+ InputCondition::DEFAULT | InputCondition::INGAME},
{"keyCopyEquipedOutfit",
InputType::KEYBOARD, SDLK_RIGHTBRACKET,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::copyEquippedToOutfit,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED},
+ InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyOutfitShortcut1",
InputType::KEYBOARD, SDLK_1,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut2",
InputType::KEYBOARD, SDLK_2,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut3",
InputType::KEYBOARD, SDLK_3,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut4",
InputType::KEYBOARD, SDLK_4,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut5",
InputType::KEYBOARD, SDLK_5,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut6",
InputType::KEYBOARD, SDLK_6,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut7",
InputType::KEYBOARD, SDLK_7,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut8",
InputType::KEYBOARD, SDLK_8,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut9",
InputType::KEYBOARD, SDLK_9,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut10",
InputType::KEYBOARD, SDLK_0,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut11",
InputType::KEYBOARD, SDLK_MINUS,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut12",
InputType::KEYBOARD, SDLK_EQUALS,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut13",
InputType::KEYBOARD, SDLK_BACKSPACE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut14",
InputType::KEYBOARD, SDLK_INSERT,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut15",
InputType::KEYBOARD, SDLK_HOME,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut16",
InputType::KEYBOARD, SDLK_q,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut17",
InputType::KEYBOARD, SDLK_w,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut18",
InputType::KEYBOARD, SDLK_e,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut19",
InputType::KEYBOARD, SDLK_r,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut20",
InputType::KEYBOARD, SDLK_t,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut21",
InputType::KEYBOARD, SDLK_y,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut22",
InputType::KEYBOARD, SDLK_u,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut23",
InputType::KEYBOARD, SDLK_i,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut24",
InputType::KEYBOARD, SDLK_o,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut25",
InputType::KEYBOARD, SDLK_p,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut26",
InputType::KEYBOARD, SDLK_LEFTBRACKET,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut27",
InputType::KEYBOARD, SDLK_RIGHTBRACKET,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut28",
InputType::KEYBOARD, SDLK_BACKSLASH,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut29",
InputType::KEYBOARD, SDLK_a,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut30",
InputType::KEYBOARD, SDLK_s,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut31",
InputType::KEYBOARD, SDLK_d,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut32",
InputType::KEYBOARD, SDLK_f,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut33",
InputType::KEYBOARD, SDLK_g,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut34",
InputType::KEYBOARD, SDLK_h,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut35",
InputType::KEYBOARD, SDLK_j,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut36",
InputType::KEYBOARD, SDLK_k,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut37",
InputType::KEYBOARD, SDLK_l,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut38",
InputType::KEYBOARD, SDLK_SEMICOLON,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut39",
InputType::KEYBOARD, SDLK_QUOTE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut40",
InputType::KEYBOARD, SDLK_z,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut41",
InputType::KEYBOARD, SDLK_x,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut42",
InputType::KEYBOARD, SDLK_c,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut43",
InputType::KEYBOARD, SDLK_v,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut44",
InputType::KEYBOARD, SDLK_b,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut45",
InputType::KEYBOARD, SDLK_n,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut46",
InputType::KEYBOARD, SDLK_m,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut47",
InputType::KEYBOARD, SDLK_COMMA,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyOutfitShortcut48",
InputType::KEYBOARD, SDLK_PERIOD,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
Input::KEY_NO_VALUE, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut1",
InputType::KEYBOARD, SDLK_1,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut2",
InputType::KEYBOARD, SDLK_2,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut3",
InputType::KEYBOARD, SDLK_3,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut4",
InputType::KEYBOARD, SDLK_4,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut5",
InputType::KEYBOARD, SDLK_5,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut6",
InputType::KEYBOARD, SDLK_6,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut7",
InputType::KEYBOARD, SDLK_7,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut8",
InputType::KEYBOARD, SDLK_8,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut9",
InputType::KEYBOARD, SDLK_9,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut10",
InputType::KEYBOARD, SDLK_0,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut11",
InputType::KEYBOARD, SDLK_MINUS,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut12",
InputType::KEYBOARD, SDLK_EQUALS,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut13",
InputType::KEYBOARD, SDLK_BACKSPACE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut14",
InputType::KEYBOARD, SDLK_INSERT,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut15",
InputType::KEYBOARD, SDLK_HOME,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut16",
InputType::KEYBOARD, SDLK_q,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut17",
InputType::KEYBOARD, SDLK_w,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut18",
InputType::KEYBOARD, SDLK_e,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut19",
InputType::KEYBOARD, SDLK_r,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut20",
InputType::KEYBOARD, SDLK_t,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut21",
InputType::KEYBOARD, SDLK_y,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut22",
InputType::KEYBOARD, SDLK_u,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut23",
InputType::KEYBOARD, SDLK_i,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut24",
InputType::KEYBOARD, SDLK_o,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut25",
InputType::KEYBOARD, SDLK_p,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut26",
InputType::KEYBOARD, SDLK_LEFTBRACKET,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut27",
InputType::KEYBOARD, SDLK_RIGHTBRACKET,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut28",
InputType::KEYBOARD, SDLK_BACKSLASH,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut29",
InputType::KEYBOARD, SDLK_a,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut30",
InputType::KEYBOARD, SDLK_s,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut31",
InputType::KEYBOARD, SDLK_d,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut32",
InputType::KEYBOARD, SDLK_f,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut33",
InputType::KEYBOARD, SDLK_g,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut34",
InputType::KEYBOARD, SDLK_h,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut35",
InputType::KEYBOARD, SDLK_j,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut36",
InputType::KEYBOARD, SDLK_k,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut37",
InputType::KEYBOARD, SDLK_l,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut38",
InputType::KEYBOARD, SDLK_SEMICOLON,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut39",
InputType::KEYBOARD, SDLK_QUOTE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut40",
InputType::KEYBOARD, SDLK_z,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut41",
InputType::KEYBOARD, SDLK_x,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut42",
InputType::KEYBOARD, SDLK_c,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut43",
InputType::KEYBOARD, SDLK_v,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut44",
InputType::KEYBOARD, SDLK_b,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut45",
InputType::KEYBOARD, SDLK_n,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut46",
InputType::KEYBOARD, SDLK_m,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut47",
InputType::KEYBOARD, SDLK_COMMA,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyMoveToPointShortcut48",
InputType::KEYBOARD, SDLK_PERIOD,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
Input::KEY_MOVE_TO_POINT, 100,
- COND_GAME},
+ InputCondition::GAME},
{"keyChat",
InputType::KEYBOARD, SDLK_RETURN,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_CHAT,
&ActionManager::toggleChat,
Input::KEY_NO_VALUE, 50,
- COND_NOINPUT | COND_NOAWAY | COND_NOMODAL | COND_INGAME},
+ InputCondition::NOINPUT | InputCondition::NOAWAY
+ | InputCondition::NOMODAL | InputCondition::INGAME},
{"keyChatScrollUp",
InputType::KEYBOARD, SDLK_PAGEUP,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::scrollChatUp,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT | COND_INGAME},
+ InputCondition::DEFAULT | InputCondition::INGAME},
{"keyChatScrollDown",
InputType::KEYBOARD, SDLK_PAGEDOWN,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::scrollChatDown,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT | COND_INGAME},
+ InputCondition::DEFAULT | InputCondition::INGAME},
{"keyChatPrevTab",
InputType::KEYBOARD, SDLK_KP7,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::prevChatTab,
Input::KEY_NO_VALUE, 50,
- COND_NOINPUT | COND_INGAME},
+ InputCondition::NOINPUT | InputCondition::INGAME},
{"keyChatNextTab",
InputType::KEYBOARD, SDLK_KP9,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::nextChatTab,
Input::KEY_NO_VALUE, 50,
- COND_NOINPUT | COND_INGAME},
+ InputCondition::NOINPUT | InputCondition::INGAME},
{"keyChatCloseTab",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::closeChatTab,
Input::KEY_NO_VALUE, 50,
- COND_NOINPUT | COND_INGAME},
+ InputCondition::NOINPUT | InputCondition::INGAME},
{"keyChatPrevHistory",
InputType::KEYBOARD, SDLK_KP7,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_CHAT | Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT | COND_INGAME},
+ InputCondition::DEFAULT | InputCondition::INGAME},
{"keyChatNextHistory",
InputType::KEYBOARD, SDLK_KP9,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_CHAT | Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT | COND_INGAME},
+ InputCondition::DEFAULT | InputCondition::INGAME},
{"keyIgnoreInput1",
#ifdef USE_SDL2
InputType::UNKNOWN, Input::KEY_NO_VALUE,
@@ -1631,7 +1641,7 @@ static const KeyData keyData[Input::KEY_TOTAL] = {
Input::GRP_DEFAULT,
&ActionManager::ignoreInput,
Input::KEY_NO_VALUE, 500,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyIgnoreInput2",
#ifdef USE_SDL2
InputType::UNKNOWN, Input::KEY_NO_VALUE,
@@ -1642,224 +1652,234 @@ static const KeyData keyData[Input::KEY_TOTAL] = {
Input::GRP_DEFAULT,
&ActionManager::ignoreInput,
Input::KEY_NO_VALUE, 500,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyDirectUp",
InputType::KEYBOARD, SDLK_l,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::directUp,
Input::KEY_NO_VALUE, 50,
- COND_GAME},
+ InputCondition::GAME},
{"keyDirectDown",
InputType::KEYBOARD, SDLK_SEMICOLON,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::directDown,
Input::KEY_NO_VALUE, 50,
- COND_GAME},
+ InputCondition::GAME},
{"keyDirectLeft",
InputType::KEYBOARD, SDLK_k,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::directLeft,
Input::KEY_NO_VALUE, 50,
- COND_GAME},
+ InputCondition::GAME},
{"keyDirectRight",
InputType::KEYBOARD, SDLK_QUOTE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::directRight,
Input::KEY_NO_VALUE, 50,
- COND_GAME},
+ InputCondition::GAME},
{"keyCrazyMoves",
InputType::KEYBOARD, SDLK_SLASH,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::crazyMoves,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED},
+ InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyChangeCrazyMoveType",
InputType::KEYBOARD, SDLK_BACKSLASH,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeCrazyMove,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED | COND_EMODS},
+ InputCondition::GAME | InputCondition::VALIDSPEED
+ | InputCondition::EMODS},
{"keyQuickDrop",
InputType::KEYBOARD, SDLK_y,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::dropItem0,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED},
+ InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyQuickDropN",
InputType::KEYBOARD, SDLK_u,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::dropItem,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED},
+ InputCondition::GAME | InputCondition::VALIDSPEED},
{"keySwitchQuickDrop",
InputType::KEYBOARD, SDLK_i,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::switchQuickDrop,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED},
+ InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyMagicInma1",
InputType::KEYBOARD, SDLK_c,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::heal,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED},
+ InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyMagicItenplz",
InputType::KEYBOARD, SDLK_m,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::itenplz,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED},
+ InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyMagicAttack",
InputType::KEYBOARD, SDLK_b,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::magicAttack,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED},
+ InputCondition::GAME | InputCondition::VALIDSPEED},
{"keySwitchMagicAttack",
InputType::KEYBOARD, SDLK_COMMA,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeMagicAttack,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED | COND_EMODS},
+ InputCondition::GAME | InputCondition::VALIDSPEED
+ | InputCondition::EMODS},
{"keySwitchPvpAttack",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changePvpMode,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED | COND_EMODS},
+ InputCondition::GAME | InputCondition::VALIDSPEED
+ | InputCondition::EMODS},
{"keyInvertDirection",
InputType::KEYBOARD, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeMoveType,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED | COND_EMODS},
+ InputCondition::GAME | InputCondition::VALIDSPEED
+ | InputCondition::EMODS},
{"keyChangeAttackWeaponType",
InputType::KEYBOARD, SDLK_g,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeAttackWeaponType,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED | COND_EMODS},
+ InputCondition::GAME | InputCondition::VALIDSPEED
+ | InputCondition::EMODS},
{"keyChangeAttackType",
InputType::KEYBOARD, SDLK_END,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeAttackType,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED | COND_EMODS},
+ InputCondition::GAME | InputCondition::VALIDSPEED
+ | InputCondition::EMODS},
{"keyChangeFollowMode",
InputType::KEYBOARD, SDLK_KP1,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeFollowMode,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED | COND_EMODS},
+ InputCondition::GAME | InputCondition::VALIDSPEED
+ | InputCondition::EMODS},
{"keyChangeImitationMode",
InputType::KEYBOARD, SDLK_KP4,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeImitationMode,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED | COND_EMODS},
+ InputCondition::GAME | InputCondition::VALIDSPEED
+ | InputCondition::EMODS},
{"keyDisableGameModifiers",
InputType::KEYBOARD, SDLK_KP8,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeGameModifier,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED},
+ InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyChangeAudio",
InputType::KEYBOARD, SDLK_KP3,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeAudio,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED},
+ InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyAway",
InputType::KEYBOARD, SDLK_KP2,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::away,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED},
+ InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyRightClick",
InputType::KEYBOARD, SDLK_TAB,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::mouseClick,
Input::KEY_NO_VALUE, 50,
- COND_NOINPUT | COND_NOAWAY | COND_NOMODAL | COND_INGAME},
+ InputCondition::NOINPUT | InputCondition::NOAWAY
+ | InputCondition::NOMODAL | InputCondition::INGAME},
{"keyCameraMode",
InputType::KEYBOARD, SDLK_KP_PLUS,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::camera,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_VALIDSPEED | COND_EMODS},
+ InputCondition::GAME | InputCondition::VALIDSPEED
+ | InputCondition::EMODS},
{"keyMod",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
0,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIUp",
InputType::KEYBOARD, SDLK_UP,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIDown",
InputType::KEYBOARD, SDLK_DOWN,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUILeft",
InputType::KEYBOARD, SDLK_LEFT,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIRight",
InputType::KEYBOARD, SDLK_RIGHT,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUISelect",
InputType::KEYBOARD, SDLK_SPACE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUISelect2",
InputType::KEYBOARD, SDLK_RETURN,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUICancel",
InputType::KEYBOARD, SDLK_ESCAPE,
#if defined(USE_SDL2) && defined(ANDROID)
@@ -1870,224 +1890,224 @@ static const KeyData keyData[Input::KEY_TOTAL] = {
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIHome",
InputType::KEYBOARD, SDLK_HOME,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIEnd",
InputType::KEYBOARD, SDLK_END,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIDelete",
InputType::KEYBOARD, SDLK_DELETE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIBackSpace",
InputType::KEYBOARD, SDLK_BACKSPACE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUITab",
InputType::KEYBOARD, SDLK_TAB,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIPageUp",
InputType::KEYBOARD, SDLK_PAGEUP,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIPageDown",
InputType::KEYBOARD, SDLK_PAGEDOWN,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIInsert",
InputType::KEYBOARD, SDLK_INSERT,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIMod",
InputType::KEYBOARD, SDLK_LSHIFT,
InputType::KEYBOARD, SDLK_RSHIFT,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keySafeVideo",
InputType::KEYBOARD, SDLK_KP_MINUS,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::safeVideoMode,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyStopSit",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::stopSit,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT | COND_INGAME},
+ InputCondition::DEFAULT | InputCondition::INGAME},
{"keyShowKeyboard",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::showKeyboard,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyShowWindows",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::showWindows,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyChatMod",
InputType::KEYBOARD, SDLK_LSHIFT,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_CHAT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT | COND_INGAME},
+ InputCondition::DEFAULT | InputCondition::INGAME},
{"keyMoveForward",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::moveForward,
Input::KEY_NO_VALUE, 50,
- COND_ARROWKEYS},
+ InputCondition::ARROWKEYS},
{"keyGUICtrl",
InputType::KEYBOARD, SDLK_LCTRL,
InputType::KEYBOARD, SDLK_RCTRL,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIb",
InputType::KEYBOARD, SDLK_b,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIc",
InputType::KEYBOARD, SDLK_c,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUId",
InputType::KEYBOARD, SDLK_d,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIe",
InputType::KEYBOARD, SDLK_e,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIf",
InputType::KEYBOARD, SDLK_f,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIh",
InputType::KEYBOARD, SDLK_h,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIk",
InputType::KEYBOARD, SDLK_k,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIu",
InputType::KEYBOARD, SDLK_u,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIv",
InputType::KEYBOARD, SDLK_v,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIw",
InputType::KEYBOARD, SDLK_w,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyShortcutsPrevTab",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::prevShortcutsTab,
Input::KEY_NO_VALUE, 50,
- COND_NOINPUT | COND_INGAME},
+ InputCondition::NOINPUT | InputCondition::INGAME},
{"keyShortcutsNextTab",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::nextShortcutsTab,
Input::KEY_NO_VALUE, 50,
- COND_NOINPUT | COND_INGAME},
+ InputCondition::NOINPUT | InputCondition::INGAME},
{"keyCommandsPrevTab",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::prevCommandsTab,
Input::KEY_NO_VALUE, 50,
- COND_NOINPUT | COND_INGAME},
+ InputCondition::NOINPUT | InputCondition::INGAME},
{"keyCommandsNextTab",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::nextCommandsTab,
Input::KEY_NO_VALUE, 50,
- COND_NOINPUT | COND_INGAME},
+ InputCondition::NOINPUT | InputCondition::INGAME},
{"keyOpenTrade",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::openTrade,
Input::KEY_NO_VALUE, 50,
- COND_GAME | COND_NOTARGET},
+ InputCondition::GAME | InputCondition::NOTARGET},
{"keyGUIF1",
InputType::KEYBOARD, SDLK_F1,
@@ -2095,91 +2115,91 @@ static const KeyData keyData[Input::KEY_TOTAL] = {
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIF2",
InputType::KEYBOARD, SDLK_F2,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIF3",
InputType::KEYBOARD, SDLK_F3,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIF4",
InputType::KEYBOARD, SDLK_F4,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIF5",
InputType::KEYBOARD, SDLK_F5,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIF6",
InputType::KEYBOARD, SDLK_F6,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIF7",
InputType::KEYBOARD, SDLK_F7,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIF8",
InputType::KEYBOARD, SDLK_F8,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIF9",
InputType::KEYBOARD, SDLK_F9,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIF10",
InputType::KEYBOARD, SDLK_F10,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIF11",
InputType::KEYBOARD, SDLK_F11,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyGUIF12",
InputType::KEYBOARD, SDLK_F12,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
Input::KEY_NO_VALUE, 50,
- COND_DEFAULT},
+ InputCondition::DEFAULT},
{"keyWindowAbout",
InputType::UNKNOWN, Input::KEY_NO_VALUE,
InputType::UNKNOWN, Input::KEY_NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::aboutWindowShow,
Input::KEY_NO_VALUE, 50,
- COND_SHORTCUT0},
+ InputCondition::SHORTCUT0},
};
#endif // INPUT_KEYBOARDDATA_H