From 7382fc7c492764c65ac7d56d8d3cdf276243503f Mon Sep 17 00:00:00 2001 From: mittorn Date: Sat, 16 Mar 2019 17:47:46 +0700 Subject: [PATCH] mobility: add stub for touch (hlsdk-xash3d compatibility --- engine/client/cl_mobile.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/engine/client/cl_mobile.c b/engine/client/cl_mobile.c index 53a350d3..89dc5789 100644 --- a/engine/client/cl_mobile.c +++ b/engine/client/cl_mobile.c @@ -95,6 +95,11 @@ static void *pfnGetNativeObject( const char *obj ) return Platform_GetNativeObject( obj ); } +void IN_TouchHideButtons(const char *str, qboolean hide) +{ + +} + static mobile_engfuncs_t gpMobileEngfuncs = { MOBILITY_API_VERSION, @@ -102,7 +107,7 @@ static mobile_engfuncs_t gpMobileEngfuncs = pfnEnableTextInput, NULL, // IN_TouchAddClientButton, NULL, // IN_TouchAddDefaultButton, - NULL, // (void*)IN_TouchHideButtons, + IN_TouchHideButtons, NULL, // IN_TouchRemoveButton, NULL, // (void*)IN_TouchSetClientOnly, NULL, // IN_TouchResetDefaultButtons,