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 | |
parent | a065831539e63dc6e25f4743b3a548aadf92304a (diff) | |
download | mv-4e7669dd6e07658fa86878d1e64c482a094b3b19.tar.gz mv-4e7669dd6e07658fa86878d1e64c482a094b3b19.tar.bz2 mv-4e7669dd6e07658fa86878d1e64c482a094b3b19.tar.xz mv-4e7669dd6e07658fa86878d1e64c482a094b3b19.zip |
Add fake pet moving commands.
Actual moving will be implimented after.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 4 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 36 |
2 files changed, 40 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 7e330f909..67ac8f446 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -516,6 +516,10 @@ namespace InputAction LEAVE_PARTY, WARP, CLEAR_CHAT, + PET_MOVE_UP, + PET_MOVE_DOWN, + PET_MOVE_LEFT, + PET_MOVE_RIGHT, TOTAL }; } // namespace InputAction 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 |