diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 21:09:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 21:09:56 +0300 |
commit | 7b882f006038b0b24a86ca285afb005125dc5d2d (patch) | |
tree | a4ef7404d1c7c7691b04862c040bc89933e0b7d8 /src/input | |
parent | 67ecfd5dc5ac6b45e42f6a47263f494fa17bc46d (diff) | |
download | manaplus-7b882f006038b0b24a86ca285afb005125dc5d2d.tar.gz manaplus-7b882f006038b0b24a86ca285afb005125dc5d2d.tar.bz2 manaplus-7b882f006038b0b24a86ca285afb005125dc5d2d.tar.xz manaplus-7b882f006038b0b24a86ca285afb005125dc5d2d.zip |
Move chat command /info into actions.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index e57deb0bc..b5dabdfec 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -386,6 +386,7 @@ namespace InputAction DISCONNECT, UNDRESS, DIRS, + INFO, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 10dbcf90f..2048b845f 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3243,6 +3243,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "dirs", + false}, + {"keyInfo", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::info, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "info", false} }; |