diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-28 18:38:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-28 18:38:20 +0300 |
commit | b336adc59f3f65ef5c1fe7062e892fbd732cdec5 (patch) | |
tree | 07f616c03b3d4f35cba0fa7f5fbe98091f77310f | |
parent | 31a4e17565b91b62fec057c10d3903310526c824 (diff) | |
download | manaplus-b336adc59f3f65ef5c1fe7062e892fbd732cdec5.tar.gz manaplus-b336adc59f3f65ef5c1fe7062e892fbd732cdec5.tar.bz2 manaplus-b336adc59f3f65ef5c1fe7062e892fbd732cdec5.tar.xz manaplus-b336adc59f3f65ef5c1fe7062e892fbd732cdec5.zip |
Allow assign keys to pet direction actions.
-rw-r--r-- | src/input/pages/other.cpp | 50 |
1 files changed, 46 insertions, 4 deletions
diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp index 4077b13bc..d91bcdd59 100644 --- a/src/input/pages/other.cpp +++ b/src/input/pages/other.cpp @@ -33,6 +33,12 @@ SetupActionData setupActionDataOther[] = { { // TRANSLATORS: input action name + N_("Input ignore"), + InputAction::NO_VALUE, + "", + }, + { + // TRANSLATORS: input action name N_("Ignore input 1"), InputAction::IGNORE_INPUT_1, "", @@ -45,30 +51,66 @@ SetupActionData setupActionDataOther[] = }, { // TRANSLATORS: input action name - N_("Direct Up"), + N_("Direction keys"), + InputAction::NO_VALUE, + "", + }, + { + // TRANSLATORS: input action name + N_("Player direct up"), InputAction::DIRECT_UP, "", }, { // TRANSLATORS: input action name - N_("Direct Down"), + N_("Player direct down"), InputAction::DIRECT_DOWN, "", }, { // TRANSLATORS: input action name - N_("Direct Left"), + N_("Player direct left"), InputAction::DIRECT_LEFT, "", }, { // TRANSLATORS: input action name - N_("Direct Right"), + N_("Player direct right"), InputAction::DIRECT_RIGHT, "", }, { // TRANSLATORS: input action name + N_("Pet direct up"), + InputAction::PET_DIRECT_UP, + "", + }, + { + // TRANSLATORS: input action name + N_("Pet direct down"), + InputAction::PET_DIRECT_DOWN, + "", + }, + { + // TRANSLATORS: input action name + N_("Pet direct left"), + InputAction::PET_DIRECT_LEFT, + "", + }, + { + // TRANSLATORS: input action name + N_("Pet direct right"), + InputAction::PET_DIRECT_RIGHT, + "", + }, + { + // TRANSLATORS: input action name + N_("Other"), + InputAction::NO_VALUE, + "", + }, + { + // TRANSLATORS: input action name N_("Crazy moves"), InputAction::CRAZY_MOVES, "", |