diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-18 19:47:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-18 19:47:28 +0300 |
commit | 7da95c7f4da447876458a0b1a17736b9a2865844 (patch) | |
tree | 4b6ac0ab5bc32a11234a5363de95d0cfec8cb7d5 /src/defaults.cpp | |
parent | 515ce6c1413b5e3da131f3e4997abdc39c003a2c (diff) | |
download | manaplus-7da95c7f4da447876458a0b1a17736b9a2865844.tar.gz manaplus-7da95c7f4da447876458a0b1a17736b9a2865844.tar.bz2 manaplus-7da95c7f4da447876458a0b1a17736b9a2865844.tar.xz manaplus-7da95c7f4da447876458a0b1a17736b9a2865844.zip |
Move inputaction into separate file.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r-- | src/defaults.cpp | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp index a215730c4..c39c3abd0 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -26,6 +26,7 @@ #include "being/beingspeech.h" +#include "input/inputaction.h" #include "input/keydata.h" #include "render/graphics.h" @@ -321,19 +322,19 @@ DefaultsData* getConfigDefaults() AddDEF("selfMouseHeal", true); AddDEF("serverslistupdate", ""); AddDEF("fadeoutmusic", true); - AddDEF("screenActionKeyboard", Input::KEY_SHOW_KEYBOARD); - AddDEF("screenActionButton0", Input::KEY_TALK); - AddDEF("screenActionButton1", Input::KEY_TARGET_ATTACK); - AddDEF("screenActionButton2", Input::KEY_PICKUP); - AddDEF("screenActionButton3", Input::KEY_STOP_SIT); - AddDEF("screenActionButton4", Input::KEY_TARGET_NPC); - AddDEF("screenActionButton5", Input::KEY_WINDOW_STATUS); - AddDEF("screenActionButton6", Input::KEY_WINDOW_INVENTORY); - AddDEF("screenActionButton7", Input::KEY_WINDOW_SKILL); - AddDEF("screenActionButton8", Input::KEY_WINDOW_SOCIAL); - AddDEF("screenActionButton9", Input::KEY_WINDOW_DEBUG); - AddDEF("screenActionButton10", Input::KEY_TRADE); - AddDEF("screenActionButton11", Input::KEY_DIRECT_DOWN); + AddDEF("screenActionKeyboard", InputAction::SHOW_KEYBOARD); + AddDEF("screenActionButton0", InputAction::TALK); + AddDEF("screenActionButton1", InputAction::TARGET_ATTACK); + AddDEF("screenActionButton2", InputAction::PICKUP); + AddDEF("screenActionButton3", InputAction::STOP_SIT); + AddDEF("screenActionButton4", InputAction::TARGET_NPC); + AddDEF("screenActionButton5", InputAction::WINDOW_STATUS); + AddDEF("screenActionButton6", InputAction::WINDOW_INVENTORY); + AddDEF("screenActionButton7", InputAction::WINDOW_SKILL); + AddDEF("screenActionButton8", InputAction::WINDOW_SOCIAL); + AddDEF("screenActionButton9", InputAction::WINDOW_DEBUG); + AddDEF("screenActionButton10", InputAction::TRADE); + AddDEF("screenActionButton11", InputAction::DIRECT_DOWN); AddDEF("screenButtonsFormat", 0); AddDEF("autoresizeminimaps", false); AddDEF("showGuildOnline", false); |