mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-25 11:19:59 +01:00
engine: client: gameui: add new NET_CompareAdrSort function to menu API
This commit is contained in:
parent
18c94b6ec4
commit
fe9ed0ac9b
@ -1262,7 +1262,8 @@ static ui_extendedfuncs_t gExtendedfuncs =
|
|||||||
pfnGetRenderers,
|
pfnGetRenderers,
|
||||||
Sys_DoubleTime,
|
Sys_DoubleTime,
|
||||||
pfnParseFileSafe,
|
pfnParseFileSafe,
|
||||||
NET_AdrToString
|
NET_AdrToString,
|
||||||
|
NET_CompareAdrSort,
|
||||||
};
|
};
|
||||||
|
|
||||||
void UI_UnloadProgs( void )
|
void UI_UnloadProgs( void )
|
||||||
|
@ -209,12 +209,12 @@ typedef struct ui_extendedfuncs_s {
|
|||||||
// new engine extended api start here
|
// new engine extended api start here
|
||||||
// returns 1 if there are more in list, otherwise 0
|
// returns 1 if there are more in list, otherwise 0
|
||||||
int (*pfnGetRenderers)( unsigned int num, char *shortName, size_t size1, char *readableName, size_t size2 );
|
int (*pfnGetRenderers)( unsigned int num, char *shortName, size_t size1, char *readableName, size_t size2 );
|
||||||
|
|
||||||
double (*pfnDoubleTime)( void );
|
double (*pfnDoubleTime)( void );
|
||||||
|
|
||||||
char *(*pfnParseFile)( char *data, char *buf, const int size, unsigned int flags, int *len );
|
char *(*pfnParseFile)( char *data, char *buf, const int size, unsigned int flags, int *len );
|
||||||
|
|
||||||
const char *(*pfnAdrToString)( const struct netadr_s a );
|
// network address funcs
|
||||||
|
const char *(*pfnAdrToString)( const struct netadr_s a );
|
||||||
|
int (*pfnCompareAdr)( const void *a, const void *b ); // netadr_t
|
||||||
} ui_extendedfuncs_t;
|
} ui_extendedfuncs_t;
|
||||||
|
|
||||||
// deprecated export from old engine
|
// deprecated export from old engine
|
||||||
|
Loading…
Reference in New Issue
Block a user