diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-15 20:37:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-15 20:38:27 +0300 |
commit | 0ae57c3a2e3b8b8ae6bc3745f6e2fca2483e6899 (patch) | |
tree | 4493d88da75cd7481192432925d6730117077818 /src/keyboarddata.h | |
parent | b2d5269eca7be4c76379ac2cbeef7a40ad0695bb (diff) | |
download | manaplus-0ae57c3a2e3b8b8ae6bc3745f6e2fca2483e6899.tar.gz manaplus-0ae57c3a2e3b8b8ae6bc3745f6e2fca2483e6899.tar.bz2 manaplus-0ae57c3a2e3b8b8ae6bc3745f6e2fca2483e6899.tar.xz manaplus-0ae57c3a2e3b8b8ae6bc3745f6e2fca2483e6899.zip |
Add move to point configurable shortcuts.
Diffstat (limited to 'src/keyboarddata.h')
-rw-r--r-- | src/keyboarddata.h | 336 |
1 files changed, 336 insertions, 0 deletions
diff --git a/src/keyboarddata.h b/src/keyboarddata.h index c5a0af703..e975abe89 100644 --- a/src/keyboarddata.h +++ b/src/keyboarddata.h @@ -1218,6 +1218,342 @@ static KeyData const keyData[Input::KEY_TOTAL] = { &ActionManager::outfit, Input::KEY_NO_VALUE, 100, COND_GAME}, + {"keyMoveToPointShortcut1", + INPUT_KEYBOARD, SDLK_1, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut2", + INPUT_KEYBOARD, SDLK_2, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut3", + INPUT_KEYBOARD, SDLK_3, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut4", + INPUT_KEYBOARD, SDLK_4, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut5", + INPUT_KEYBOARD, SDLK_5, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut6", + INPUT_KEYBOARD, SDLK_6, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut7", + INPUT_KEYBOARD, SDLK_7, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut8", + INPUT_KEYBOARD, SDLK_8, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut9", + INPUT_KEYBOARD, SDLK_9, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut10", + INPUT_KEYBOARD, SDLK_0, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut11", + INPUT_KEYBOARD, SDLK_MINUS, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut12", + INPUT_KEYBOARD, SDLK_EQUALS, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut13", + INPUT_KEYBOARD, SDLK_BACKSPACE, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut14", + INPUT_KEYBOARD, SDLK_INSERT, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut15", + INPUT_KEYBOARD, SDLK_HOME, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut16", + INPUT_KEYBOARD, SDLK_q, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut17", + INPUT_KEYBOARD, SDLK_w, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut18", + INPUT_KEYBOARD, SDLK_e, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut19", + INPUT_KEYBOARD, SDLK_r, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut20", + INPUT_KEYBOARD, SDLK_t, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut21", + INPUT_KEYBOARD, SDLK_y, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut22", + INPUT_KEYBOARD, SDLK_u, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut23", + INPUT_KEYBOARD, SDLK_i, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut24", + INPUT_KEYBOARD, SDLK_o, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut25", + INPUT_KEYBOARD, SDLK_p, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut26", + INPUT_KEYBOARD, SDLK_LEFTBRACKET, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut27", + INPUT_KEYBOARD, SDLK_RIGHTBRACKET, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut28", + INPUT_KEYBOARD, SDLK_BACKSLASH, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut29", + INPUT_KEYBOARD, SDLK_a, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut30", + INPUT_KEYBOARD, SDLK_s, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut31", + INPUT_KEYBOARD, SDLK_d, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut32", + INPUT_KEYBOARD, SDLK_f, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut33", + INPUT_KEYBOARD, SDLK_g, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut34", + INPUT_KEYBOARD, SDLK_h, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut35", + INPUT_KEYBOARD, SDLK_j, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut36", + INPUT_KEYBOARD, SDLK_k, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut37", + INPUT_KEYBOARD, SDLK_l, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut38", + INPUT_KEYBOARD, SDLK_SEMICOLON, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut39", + INPUT_KEYBOARD, SDLK_QUOTE, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut40", + INPUT_KEYBOARD, SDLK_z, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut41", + INPUT_KEYBOARD, SDLK_x, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut42", + INPUT_KEYBOARD, SDLK_c, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut43", + INPUT_KEYBOARD, SDLK_v, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut44", + INPUT_KEYBOARD, SDLK_b, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut45", + INPUT_KEYBOARD, SDLK_n, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut46", + INPUT_KEYBOARD, SDLK_m, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut47", + INPUT_KEYBOARD, SDLK_COMMA, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, + {"keyMoveToPointShortcut48", + INPUT_KEYBOARD, SDLK_PERIOD, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_MOVETOPOINT, + &ActionManager::moveToPoint, + Input::KEY_MOVE_TO_POINT, 100, + COND_GAME}, {"keyChat", INPUT_KEYBOARD, SDLK_RETURN, INPUT_UNKNOWN, Input::KEY_NO_VALUE, |