summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-11 15:52:55 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-11 15:52:55 +0300
commitdb5ac7e5ac2642a2df29dcd6de3d6fba5a964b47 (patch)
tree566c42d323608207764f076ddb4296d55a7cdbd3 /src/input
parent1db8072c112d0bc5b3cbf3b3151dfa8be9419189 (diff)
downloadmv-db5ac7e5ac2642a2df29dcd6de3d6fba5a964b47.tar.gz
mv-db5ac7e5ac2642a2df29dcd6de3d6fba5a964b47.tar.bz2
mv-db5ac7e5ac2642a2df29dcd6de3d6fba5a964b47.tar.xz
mv-db5ac7e5ac2642a2df29dcd6de3d6fba5a964b47.zip
Add chat command for select battle tab.
New chat command: /battletab Alias: /battlechattab
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 80190ff56..9417a472c 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -528,6 +528,7 @@ namespace InputAction
PET_AI_STOP,
CHAT_GENERAL_TAB,
CHAT_DEBUG_TAB,
+ CHAT_BATTLE_TAB,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 691870011..d0a4ecc1a 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3934,6 +3934,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"debugtab|debugchattab",
false},
+ {"keyBattleTab",
+ defaultAction(&Actions::chatBattleTab),
+ InputCondition::INGAME,
+ "battletab|battlechattab",
+ false},
};
#undef defaultAction