Browse Source

mobility: add stub for touch (hlsdk-xash3d compatibility

pull/2/head
mittorn 6 years ago
parent
commit
7382fc7c49
  1. 7
      engine/client/cl_mobile.c

7
engine/client/cl_mobile.c

@ -95,6 +95,11 @@ static void *pfnGetNativeObject( const char *obj )
return Platform_GetNativeObject( obj ); return Platform_GetNativeObject( obj );
} }
void IN_TouchHideButtons(const char *str, qboolean hide)
{
}
static mobile_engfuncs_t gpMobileEngfuncs = static mobile_engfuncs_t gpMobileEngfuncs =
{ {
MOBILITY_API_VERSION, MOBILITY_API_VERSION,
@ -102,7 +107,7 @@ static mobile_engfuncs_t gpMobileEngfuncs =
pfnEnableTextInput, pfnEnableTextInput,
NULL, // IN_TouchAddClientButton, NULL, // IN_TouchAddClientButton,
NULL, // IN_TouchAddDefaultButton, NULL, // IN_TouchAddDefaultButton,
NULL, // (void*)IN_TouchHideButtons, IN_TouchHideButtons,
NULL, // IN_TouchRemoveButton, NULL, // IN_TouchRemoveButton,
NULL, // (void*)IN_TouchSetClientOnly, NULL, // (void*)IN_TouchSetClientOnly,
NULL, // IN_TouchResetDefaultButtons, NULL, // IN_TouchResetDefaultButtons,

Loading…
Cancel
Save