From 45949cf0fbade4f211520926c5e839c68cd01fbb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Aug 2014 14:52:10 +0300 Subject: Move chat command /testsdlfont into actions. --- src/input/inputactionmap.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'src/input/inputactionmap.h') diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 0e16c866c..e2d123b73 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3432,7 +3432,24 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "execute", - true} + true}, + {"keyTestSdlFont", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, +#if defined USE_OPENGL && defined DEBUG_SDLFONT + &Actions::testSdlFont, +#else + nullptr, +#endif + InputAction::NO_VALUE, 50, + InputCondition::INGAME, +#if defined USE_OPENGL && defined DEBUG_SDLFONT + "testsdlfont", +#else + "", +#endif + false} }; #endif // INPUT_INPUTACTIONMAP_H -- cgit v1.2.3-60-g2f50