Stub out the entire server system for pure net-only clients. More...
Go to the source code of this file.
Functions | |
void | SV_Init (void) |
Only called once at startup, not for each game. | |
void | SV_Shutdown (const char *finalmsg, qboolean reconnect) |
Called when each game quits, before Sys_Quit or Sys_Error. | |
void | SV_Frame (int time) |
Stub out the entire server system for pure net-only clients.
NOTE: This code is currently not in use and is not compiled.
Definition in file sv_null.c.
void SV_Init | ( | void | ) |
Only called once at startup, not for each game.
Definition at line 31 of file sv_null.c.
Referenced by Qcommon_Init().
void SV_Shutdown | ( | const char * | finalmsg, | |
qboolean | reconnect | |||
) |
Called when each game quits, before Sys_Quit or Sys_Error.
[in] | finalmsg | The message all clients get as server shutdown message |
[in] | reconnect | True if this is only a restart (new map or map restart), false if the server shutdown completely and you also want to disconnect all clients |
Definition at line 35 of file sv_null.c.
Referenced by CL_Connect_f(), CL_SequenceStart_f(), Com_Error(), Com_Quit(), Com_SetServerState(), CP_StartSelectedMission(), GAME_CP_Drop(), GAME_CP_Results(), GAME_CP_Shutdown(), GAME_Drop(), GAME_MP_Shutdown(), GAME_SK_Shutdown(), SV_Frame(), and SV_KillServer_f().