mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-16 22:20:01 +01:00
engine: add NET_AdrToString to menu extended API, upgrade mainui submodule
This commit is contained in:
parent
37cf4da136
commit
df616b950d
@ -1235,7 +1235,8 @@ static ui_extendedfuncs_t gExtendedfuncs =
|
|||||||
Con_UtfMoveRight,
|
Con_UtfMoveRight,
|
||||||
pfnGetRenderers,
|
pfnGetRenderers,
|
||||||
Sys_DoubleTime,
|
Sys_DoubleTime,
|
||||||
_COM_ParseFileSafe
|
_COM_ParseFileSafe,
|
||||||
|
NET_AdrToString
|
||||||
};
|
};
|
||||||
|
|
||||||
void UI_UnloadProgs( void )
|
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_ENTITY_BITS 12
|
||||||
#define MAX_LEGACY_WEAPON_BITS 5
|
#define MAX_LEGACY_WEAPON_BITS 5
|
||||||
#define MAX_LEGACY_MODEL_BITS 11
|
#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
|
#define MAX_LEGACY_TOTAL_CMDS 28 // magic number from old engine's sv_client.c
|
||||||
|
|
||||||
#endif//NET_PROTOCOL_H
|
#endif//NET_PROTOCOL_H
|
||||||
|
@ -212,6 +212,8 @@ typedef struct ui_extendedfuncs_s {
|
|||||||
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 );
|
||||||
} ui_extendedfuncs_t;
|
} ui_extendedfuncs_t;
|
||||||
|
|
||||||
// deprecated export from old engine
|
// deprecated export from old engine
|
||||||
|
2
mainui
2
mainui
@ -1 +1 @@
|
|||||||
Subproject commit da881649a358981be75396b2403bd79580ce4706
|
Subproject commit f63a6081dd3c3e8d98cf3000e4070b0c1420d90a
|
Loading…
Reference in New Issue
Block a user