]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
server: Move remaining server functions out of quakedef.h
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 29 Sep 2020 00:33:13 +0000 (00:33 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 29 Sep 2020 00:33:13 +0000 (00:33 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12956 d7cf8633-e32d-0410-b094-e92efae38249

quakedef.h
server.h

index e475ffa75b6c43a87235d61fd4dc4d3290a7984f..4acbd64bf35f909fefb29d955a9f287b53c6fcaa 100644 (file)
@@ -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);
index 0d0346064cccd61e1bd9bd0cee774059d05ae67a..60c5b757291a17572f43cb80acf65f6c27e565e3 100644 (file)
--- 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);