]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
Revert "model_brush: Set mod_bsp_portalize to 0 by default for now. It hurts performa...
[xonotic/darkplaces.git] / server.h
index 0d0346064cccd61e1bd9bd0cee774059d05ae67a..f494a632189f2292dbfdd5eff451ee9bbae1dd39 100644 (file)
--- a/server.h
+++ b/server.h
@@ -512,6 +512,10 @@ extern client_t *host_client;
 //===========================================================
 
 void SV_Init (void);
+double SV_Frame(double time);
+void SV_Shutdown(void);
+
+int SV_IsLocalGame(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 +525,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);
@@ -534,8 +540,8 @@ int SV_SoundIndex(const char *s, int precachemode);
 
 int SV_ParticleEffectIndex(const char *name);
 
-dp_model_t *SV_GetModelByIndex(int modelindex);
-dp_model_t *SV_GetModelFromEdict(prvm_edict_t *ed);
+model_t *SV_GetModelByIndex(int modelindex);
+model_t *SV_GetModelFromEdict(prvm_edict_t *ed);
 
 void SV_SetIdealPitch (void);