diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-28 18:14:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-28 18:14:58 +0300 |
commit | a204d2b11e6a4b620877ab6c5b80a818eaa7d476 (patch) | |
tree | ee2112216168624403769a1fdeab120dafab4100 /src/input/inputactionmap.h | |
parent | d82cd00f86cf5f902a47ef19fd24c7745e4104d4 (diff) | |
download | ManaVerse-a204d2b11e6a4b620877ab6c5b80a818eaa7d476.tar.gz ManaVerse-a204d2b11e6a4b620877ab6c5b80a818eaa7d476.tar.bz2 ManaVerse-a204d2b11e6a4b620877ab6c5b80a818eaa7d476.tar.xz ManaVerse-a204d2b11e6a4b620877ab6c5b80a818eaa7d476.zip |
Add fake commands to change pet direction.
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 4dc84bb71..c5d9d9d76 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4424,6 +4424,42 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "petmoveright|moverightpet", false}, + {"keyPetDirectUp", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::petDirectUp, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "petdirectup|directuppet", + false}, + {"keyPetDirectDown", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::petDirectDown, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "petdirectdown|directdownpet", + false}, + {"keyPetDirectLeft", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::petDirectLeft, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "petdirectleft|directleftpet", + false}, + {"keyPetDirectRight", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::petDirectRight, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "petdirectright|directrightpet", + false}, }; #endif // INPUT_INPUTACTIONMAP_H |