engine: common: fix dedicated build by defining SV_GetMaxClients before CL_GetMaxClients stub (that redirects to it)
Also remove CL_Shutdown from dedicated stub lists.
This commit is contained in:
parent
49426721d8
commit
a75666a3cd
2 changed files with 2 additions and 6 deletions
|
@ -711,6 +711,8 @@ typedef enum connprotocol_e
|
||||||
struct physent_s;
|
struct physent_s;
|
||||||
struct sv_client_s;
|
struct sv_client_s;
|
||||||
typedef struct sizebuf_s sizebuf_t;
|
typedef struct sizebuf_s sizebuf_t;
|
||||||
|
int SV_GetMaxClients( void );
|
||||||
|
|
||||||
#if !XASH_DEDICATED
|
#if !XASH_DEDICATED
|
||||||
qboolean CL_Initialized( void );
|
qboolean CL_Initialized( void );
|
||||||
qboolean CL_IsInGame( void );
|
qboolean CL_IsInGame( void );
|
||||||
|
@ -753,7 +755,6 @@ void SV_DrawDebugTriangles( void );
|
||||||
void SV_DrawOrthoTriangles( void );
|
void SV_DrawOrthoTriangles( void );
|
||||||
double CL_GetDemoFramerate( void );
|
double CL_GetDemoFramerate( void );
|
||||||
void CL_StopPlayback( void );
|
void CL_StopPlayback( void );
|
||||||
int SV_GetMaxClients( void );
|
|
||||||
qboolean SV_Initialized( void );
|
qboolean SV_Initialized( void );
|
||||||
void CL_ProcessFile( qboolean successfully_received, const char *filename );
|
void CL_ProcessFile( qboolean successfully_received, const char *filename );
|
||||||
int SV_GetSaveComment( const char *savename, char *comment );
|
int SV_GetSaveComment( const char *savename, char *comment );
|
||||||
|
|
|
@ -113,11 +113,6 @@ void CL_Disconnect( void )
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CL_Shutdown( void )
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void R_ClearStaticEntities( void )
|
void R_ClearStaticEntities( void )
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue