diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-25 21:38:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-25 21:38:12 +0300 |
commit | fb062d9f90d44e279ce02985c3f4f4335550cf87 (patch) | |
tree | 4ae1fec555e1f065018b2ac8d8650130c3060c40 /src/input | |
parent | 015a260c6444e74579401dfe41e39592b2201d36 (diff) | |
download | mv-fb062d9f90d44e279ce02985c3f4f4335550cf87.tar.gz mv-fb062d9f90d44e279ce02985c3f4f4335550cf87.tar.bz2 mv-fb062d9f90d44e279ce02985c3f4f4335550cf87.tar.xz mv-fb062d9f90d44e279ce02985c3f4f4335550cf87.zip |
Move chat command /all into actions.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 9 | ||||
-rw-r--r-- | src/input/pages/other.cpp | 6 |
3 files changed, 16 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index e9813d3d8..9385ae765 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -366,6 +366,7 @@ namespace InputAction ME, TOGGLE, PRESENT, + PRINT_ALL, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index ff7b3bf6e..b55887c65 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3063,6 +3063,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "present", + false}, + {"keyPrintAll", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::printAll, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "all", false} }; diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp index 46a1eb286..c7db9c05d 100644 --- a/src/input/pages/other.cpp +++ b/src/input/pages/other.cpp @@ -232,6 +232,12 @@ SetupActionData setupActionDataOther[] = "", }, { + // TRANSLATORS: input action name + N_("Print all visible beings in chat"), + InputAction::PRINT_ALL, + "", + }, + { "", InputAction::NO_VALUE, "" |