summaryrefslogtreecommitdiff
path: root/src/input/keyboarddata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-24 22:49:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-24 22:49:20 +0300
commit84d56b88a03054d35b84dc1ecbd7ad4614f8ac86 (patch)
treea6de73a2a93ac287413917c1ba540dff6f65da5d /src/input/keyboarddata.h
parent0a4da74459471686e153b600253f12706d0ce8de (diff)
downloadmv-84d56b88a03054d35b84dc1ecbd7ad4614f8ac86.tar.gz
mv-84d56b88a03054d35b84dc1ecbd7ad4614f8ac86.tar.bz2
mv-84d56b88a03054d35b84dc1ecbd7ad4614f8ac86.tar.xz
mv-84d56b88a03054d35b84dc1ecbd7ad4614f8ac86.zip
Add new action for select closest monster without filters and sorting.
By default unassigned.
Diffstat (limited to 'src/input/keyboarddata.h')
-rw-r--r--src/input/keyboarddata.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/input/keyboarddata.h b/src/input/keyboarddata.h
index 779fcd2ac..fb810a683 100644
--- a/src/input/keyboarddata.h
+++ b/src/input/keyboarddata.h
@@ -2208,7 +2208,15 @@ static const KeyData keyData[InputAction::TOTAL] = {
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::updaterWindowShow,
InputAction::NO_VALUE, 50,
- InputCondition::GAME}
+ InputCondition::GAME},
+ {"keyTargetClosestMonster",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT | Input::GRP_REPEAT,
+ &ActionManager::targetClosestMonster,
+ InputAction::NO_VALUE, 50,
+ InputCondition::GAME | InputCondition::NOTARGET
+ | InputCondition::VALIDSPEED}
};
#endif // INPUT_KEYBOARDDATA_H