mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-02-01 01:34:17 +00:00
engine: add stub function for new undocumented function in clientdll api
This commit is contained in:
parent
a0514c242b
commit
938a9f372f
@ -303,6 +303,9 @@ typedef struct cl_enginefuncs_s
|
|||||||
int (*pfnGetAppID)( void );
|
int (*pfnGetAppID)( void );
|
||||||
cmdalias_t *(*pfnGetAliases)( void );
|
cmdalias_t *(*pfnGetAliases)( void );
|
||||||
void (*pfnVguiWrap2_GetMouseDelta)( int *x, int *y );
|
void (*pfnVguiWrap2_GetMouseDelta)( int *x, int *y );
|
||||||
|
|
||||||
|
// added in 2019 update, not documented yet
|
||||||
|
int (*pfnFilteredClientCmd)( const char *cmd );
|
||||||
} cl_enginefunc_t;
|
} cl_enginefunc_t;
|
||||||
|
|
||||||
#define CLDLL_INTERFACE_VERSION 7
|
#define CLDLL_INTERFACE_VERSION 7
|
||||||
|
@ -3903,6 +3903,10 @@ static cl_enginefunc_t gEngfuncs =
|
|||||||
pfnGetAppID,
|
pfnGetAppID,
|
||||||
Cmd_AliasGetList,
|
Cmd_AliasGetList,
|
||||||
pfnVguiWrap2_GetMouseDelta,
|
pfnVguiWrap2_GetMouseDelta,
|
||||||
|
|
||||||
|
// HACKHACK: added it here so it wouldn't cause overflow or segfault
|
||||||
|
// TODO: itself client command filtering is not implemented yet
|
||||||
|
pfnClientCmd
|
||||||
};
|
};
|
||||||
|
|
||||||
void CL_UnloadProgs( void )
|
void CL_UnloadProgs( void )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user