engine: move xashid stuff onto client
This commit is contained in:
parent
90a0f74087
commit
ad6db91285
5 changed files with 9 additions and 8 deletions
|
@ -3666,6 +3666,8 @@ void CL_Init( void )
|
||||||
if( !CL_LoadProgs( libpath ))
|
if( !CL_LoadProgs( libpath ))
|
||||||
Host_Error( "can't initialize %s: %s\n", libpath, COM_GetLibraryError( ));
|
Host_Error( "can't initialize %s: %s\n", libpath, COM_GetLibraryError( ));
|
||||||
|
|
||||||
|
ID_Init();
|
||||||
|
|
||||||
cls.build_num = 0;
|
cls.build_num = 0;
|
||||||
cls.initialized = true;
|
cls.initialized = true;
|
||||||
cl.maxclients = 1; // allow to drawing player in menu
|
cl.maxclients = 1; // allow to drawing player in menu
|
||||||
|
|
|
@ -1209,6 +1209,13 @@ void Key_EnableTextInput( qboolean enable, qboolean force );
|
||||||
int Key_ToUpper( int key );
|
int Key_ToUpper( int key );
|
||||||
void OSK_Draw( void );
|
void OSK_Draw( void );
|
||||||
|
|
||||||
|
//
|
||||||
|
// identification.c
|
||||||
|
//
|
||||||
|
void ID_Init( void );
|
||||||
|
const char *ID_GetMD5( void );
|
||||||
|
void GAME_EXPORT ID_SetCustomClientID( const char *id );
|
||||||
|
|
||||||
extern rgba_t g_color_table[8];
|
extern rgba_t g_color_table[8];
|
||||||
extern triangleapi_t gTriApi;
|
extern triangleapi_t gTriApi;
|
||||||
extern net_api_t gNetApi;
|
extern net_api_t gNetApi;
|
||||||
|
|
|
@ -875,13 +875,6 @@ void V_CheckGamma( void );
|
||||||
void V_CheckGammaEnd( void );
|
void V_CheckGammaEnd( void );
|
||||||
intptr_t V_GetGammaPtr( int parm );
|
intptr_t V_GetGammaPtr( int parm );
|
||||||
|
|
||||||
//
|
|
||||||
// identification.c
|
|
||||||
//
|
|
||||||
void ID_Init( void );
|
|
||||||
const char *ID_GetMD5( void );
|
|
||||||
void GAME_EXPORT ID_SetCustomClientID( const char *id );
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// masterlist.c
|
// masterlist.c
|
||||||
//
|
//
|
||||||
|
|
|
@ -1256,7 +1256,6 @@ int EXPORT Host_Main( int argc, char **argv, const char *progname, int bChangeGa
|
||||||
CL_Init();
|
CL_Init();
|
||||||
|
|
||||||
HTTP_Init();
|
HTTP_Init();
|
||||||
ID_Init();
|
|
||||||
SoundList_Init();
|
SoundList_Init();
|
||||||
|
|
||||||
if( Host_IsDedicated( ))
|
if( Host_IsDedicated( ))
|
||||||
|
|
Loading…
Add table
Reference in a new issue