mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-25 22:34:24 +00:00
engine: gameui: add GetNativeObject to extended menu API
This commit is contained in:
parent
e62ab51842
commit
2ea7162287
@ -1220,6 +1220,7 @@ static ui_extendedfuncs_t gExtendedfuncs =
|
|||||||
pfnParseFileSafe,
|
pfnParseFileSafe,
|
||||||
NET_AdrToString,
|
NET_AdrToString,
|
||||||
NET_CompareAdrSort,
|
NET_CompareAdrSort,
|
||||||
|
Sys_GetNativeObject,
|
||||||
};
|
};
|
||||||
|
|
||||||
void UI_UnloadProgs( void )
|
void UI_UnloadProgs( void )
|
||||||
|
@ -215,6 +215,7 @@ typedef struct ui_extendedfuncs_s {
|
|||||||
// network address funcs
|
// network address funcs
|
||||||
const char *(*pfnAdrToString)( const struct netadr_s a );
|
const char *(*pfnAdrToString)( const struct netadr_s a );
|
||||||
int (*pfnCompareAdr)( const void *a, const void *b ); // netadr_t
|
int (*pfnCompareAdr)( const void *a, const void *b ); // netadr_t
|
||||||
|
void *(*pfnGetNativeObject)( const char *name );
|
||||||
} ui_extendedfuncs_t;
|
} ui_extendedfuncs_t;
|
||||||
|
|
||||||
// deprecated export from old engine
|
// deprecated export from old engine
|
||||||
|
Loading…
x
Reference in New Issue
Block a user