mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: add NET_AdrToString to menu extended API, upgrade mainui submodule
This commit is contained in:
@@ -1235,7 +1235,8 @@ static ui_extendedfuncs_t gExtendedfuncs =
|
||||
Con_UtfMoveRight,
|
||||
pfnGetRenderers,
|
||||
Sys_DoubleTime,
|
||||
_COM_ParseFileSafe
|
||||
_COM_ParseFileSafe,
|
||||
NET_AdrToString
|
||||
};
|
||||
|
||||
void UI_UnloadProgs( void )
|
||||
|
||||
@@ -299,11 +299,6 @@ extern const char *clc_strings[clc_lastmsg+1];
|
||||
#define MAX_LEGACY_ENTITY_BITS 12
|
||||
#define MAX_LEGACY_WEAPON_BITS 5
|
||||
#define MAX_LEGACY_MODEL_BITS 11
|
||||
#if XASH_LOW_MEMORY >= 1
|
||||
#define MAX_LEGACY_SERVERS 32
|
||||
#else
|
||||
#define MAX_LEGACY_SERVERS 256
|
||||
#endif
|
||||
#define MAX_LEGACY_TOTAL_CMDS 28 // magic number from old engine's sv_client.c
|
||||
|
||||
#endif//NET_PROTOCOL_H
|
||||
|
||||
@@ -212,6 +212,8 @@ typedef struct ui_extendedfuncs_s {
|
||||
double (*pfnDoubleTime)( void );
|
||||
|
||||
char *(*pfnParseFile)( char *data, char *buf, const int size, unsigned int flags, int *len );
|
||||
|
||||
const char *(*pfnAdrToString)( const struct netadr_s a );
|
||||
} ui_extendedfuncs_t;
|
||||
|
||||
// deprecated export from old engine
|
||||
|
||||
2
mainui
2
mainui
Submodule mainui updated: da881649a3...f63a6081dd
Reference in New Issue
Block a user