diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-10-02 18:57:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-10-02 18:57:10 +0300 |
commit | f1e92aca00a4859047e83fab76220767b9a2f814 (patch) | |
tree | 8aaa9d6853c6a8e0e8fc568c6f981cbd889b0cc3 /src/keyboardconfig.h | |
parent | 70b520b1e876f9698bb95baa2d274ea289a0c6bd (diff) | |
parent | 99771a1fb50286fdb0b511f425312503e657eddc (diff) | |
download | ManaVerse-stripped1.1.10.2.tar.gz ManaVerse-stripped1.1.10.2.tar.bz2 ManaVerse-stripped1.1.10.2.tar.xz ManaVerse-stripped1.1.10.2.zip |
Merge branch 'master' into strippedstripped1.1.10.2
Conflicts:
packaging/debian/watch
Diffstat (limited to 'src/keyboardconfig.h')
-rw-r--r-- | src/keyboardconfig.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/src/keyboardconfig.h b/src/keyboardconfig.h index 43bb1c17f..b322eb6d1 100644 --- a/src/keyboardconfig.h +++ b/src/keyboardconfig.h @@ -78,6 +78,9 @@ class KeyboardConfig int getKeyValue(int index) const { return mKey[index].value; } + bool isSeparator(int index) const + { return !*mKey[index].configField; } + /** * Get the index of the new key to be assigned. */ @@ -157,6 +160,7 @@ class KeyboardConfig enum KeyAction { KEY_NO_VALUE = -1, + KEY_SEPARATOR1, KEY_MOVE_UP, KEY_MOVE_DOWN, KEY_MOVE_LEFT, @@ -168,9 +172,9 @@ class KeyboardConfig KEY_MOVE_TO_HOME, KEY_SET_HOME, KEY_MOVE_TO_POINT, - KEY_EMOTE, KEY_TALK, KEY_TARGET, + KEY_UNTARGET, KEY_TARGET_CLOSEST, KEY_TARGET_NPC, KEY_TARGET_PLAYER, @@ -181,6 +185,9 @@ class KeyboardConfig KEY_SCREENSHOT, KEY_TRADE, KEY_PATHFIND, + KEY_OK, + KEY_QUIT, + KEY_SEPARATOR2, KEY_SHORTCUTS_KEY, KEY_SHORTCUT_1, KEY_SHORTCUT_2, @@ -202,6 +209,7 @@ class KeyboardConfig KEY_SHORTCUT_18, KEY_SHORTCUT_19, KEY_SHORTCUT_20, + KEY_SEPARATOR3, KEY_WINDOW_HELP, KEY_WINDOW_STATUS, KEY_WINDOW_INVENTORY, @@ -224,6 +232,8 @@ class KeyboardConfig KEY_WINDOW_DIDYOUKNOW, KEY_PREV_SOCIAL_TAB, KEY_NEXT_SOCIAL_TAB, + KEY_SEPARATOR4, + KEY_EMOTE, KEY_EMOTE_1, KEY_EMOTE_2, KEY_EMOTE_3, @@ -268,9 +278,11 @@ class KeyboardConfig KEY_EMOTE_42, KEY_EMOTE_43, KEY_EMOTE_44, + KEY_SEPARATOR5, KEY_WEAR_OUTFIT, KEY_COPY_OUTFIT, KEY_COPY_EQUIPED_OUTFIT, + KEY_SEPARATOR6, KEY_TOGGLE_CHAT, KEY_SCROLL_CHAT_UP, KEY_SCROLL_CHAT_DOWN, @@ -281,8 +293,7 @@ class KeyboardConfig KEY_CHAT_NEXT_HISTORY, KEY_AUTOCOMPLETE_CHAT, KEY_DEACTIVATE_CHAT, - KEY_OK, - KEY_QUIT, + KEY_SEPARATOR7, KEY_IGNORE_INPUT_1, KEY_IGNORE_INPUT_2, KEY_DIRECT_UP, |