mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Stub Sys_Init() for Unix and call it while initializing
This commit is contained in:
parent
32dc525124
commit
4e37958b63
3 changed files with 7 additions and 0 deletions
|
@ -730,6 +730,7 @@ void SCR_DebugGraph (float value, int color);
|
||||||
|
|
||||||
/* NON-PORTABLE SYSTEM SERVICES */
|
/* NON-PORTABLE SYSTEM SERVICES */
|
||||||
|
|
||||||
|
void Sys_Init (void);
|
||||||
void Sys_UnloadGame (void);
|
void Sys_UnloadGame (void);
|
||||||
void *Sys_GetGameAPI (void *parms);
|
void *Sys_GetGameAPI (void *parms);
|
||||||
|
|
||||||
|
|
|
@ -236,6 +236,7 @@ void Qcommon_Init (int argc, char **argv)
|
||||||
if (dedicated->value)
|
if (dedicated->value)
|
||||||
Cmd_AddCommand ("quit", Com_Quit);
|
Cmd_AddCommand ("quit", Com_Quit);
|
||||||
|
|
||||||
|
Sys_Init();
|
||||||
NET_Init();
|
NET_Init();
|
||||||
Netchan_Init ();
|
Netchan_Init ();
|
||||||
SV_Init ();
|
SV_Init ();
|
||||||
|
|
|
@ -94,6 +94,11 @@ CompareAttributes ( char *path, char *name, unsigned musthave, unsigned canthave
|
||||||
return ( true );
|
return ( true );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
Sys_Init ( void )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
Sys_Milliseconds ( void )
|
Sys_Milliseconds ( void )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue