From a1ec14506f5615e1c32056489be2479521e4a792 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Tue, 29 Sep 2020 00:33:13 +0000 Subject: [PATCH] server: Move remaining server functions out of quakedef.h git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12956 d7cf8633-e32d-0410-b094-e92efae38249 --- quakedef.h | 3 --- server.h | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/quakedef.h b/quakedef.h index e475ffa7..4acbd64b 100644 --- a/quakedef.h +++ b/quakedef.h @@ -568,9 +568,6 @@ void Host_Shutdown(void); void Host_StartVideo(void); void Host_Error(const char *error, ...) DP_FUNC_PRINTF(1) DP_FUNC_NORETURN; void Host_Quit_f(cmd_state_t *cmd); -void SV_ClientCommands(const char *fmt, ...) DP_FUNC_PRINTF(1); -double SV_Frame(double time); -void SV_Shutdown(void); void Host_NoOperation_f(cmd_state_t *cmd); void Host_LockSession(void); void Host_UnlockSession(void); diff --git a/server.h b/server.h index 0d034606..60c5b757 100644 --- a/server.h +++ b/server.h @@ -512,6 +512,8 @@ extern client_t *host_client; //=========================================================== void SV_Init (void); +double SV_Frame(double time); +void SV_Shutdown(void); void SV_StartParticle (vec3_t org, vec3_t dir, int color, int count); void SV_StartEffect (vec3_t org, int modelindex, int startframe, int framecount, int framerate); @@ -521,6 +523,8 @@ void SV_StartPointSound (vec3_t origin, const char *sample, int volume, float at void SV_ConnectClient (int clientnum, netconn_t *netconnection); void SV_DropClient (qbool crash); +void SV_ClientCommands(const char *fmt, ...) DP_FUNC_PRINTF(1); + void SV_SendClientMessages(void); void SV_ReadClientMessage(void); -- 2.39.2