diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-28 00:11:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-28 00:11:59 +0300 |
commit | 4e7669dd6e07658fa86878d1e64c482a094b3b19 (patch) | |
tree | 8ffc8cb8621fef8a40615ef17e7b39abd885a000 /src/input/inputactionmap.h | |
parent | a065831539e63dc6e25f4743b3a548aadf92304a (diff) | |
download | manaplus-4e7669dd6e07658fa86878d1e64c482a094b3b19.tar.gz manaplus-4e7669dd6e07658fa86878d1e64c482a094b3b19.tar.bz2 manaplus-4e7669dd6e07658fa86878d1e64c482a094b3b19.tar.xz manaplus-4e7669dd6e07658fa86878d1e64c482a094b3b19.zip |
Add fake pet moving commands.
Actual moving will be implimented after.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 4c1c6d986..4dc84bb71 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4388,6 +4388,42 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "clearchat|chatclear", false}, + {"keyPetMoveUp", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::petMoveUp, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "petmoveup|moveuppet", + false}, + {"keyPetMoveDown", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::petMoveDown, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "petmovedown|movedownpet", + false}, + {"keyPetMoveLeft", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::petMoveLeft, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "petmoveleft|moveleftpet", + false}, + {"keyPetMoveRight", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::petMoveRight, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "petmoveright|moverightpet", + false}, }; #endif // INPUT_INPUTACTIONMAP_H |