]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
366
[xonotic/darkplaces.git] / server.h
index 70a8348b949cc30899e83c7f6537994dc2b1fd1e..5439f50655ad5fd63de08ab23ea405ce46c5eeef 100644 (file)
--- a/server.h
+++ b/server.h
@@ -77,7 +77,7 @@ typedef struct
        // LordHavoc: precaches are now MAX_QPATH rather than a pointer
        // updated by SV_SoundIndex
        char sound_precache[MAX_SOUNDS][MAX_QPATH];
-       char *lightstyles[MAX_LIGHTSTYLES];
+       char lightstyles[MAX_LIGHTSTYLES][64];
        int num_edicts;
        int max_edicts;
        // small edict_t structures which just contain pointers
@@ -277,9 +277,10 @@ extern cvar_t sv_gameplayfix_stepdown;
 extern cvar_t sv_gameplayfix_stepwhilejumping;
 extern cvar_t sv_gameplayfix_swiminbmodels;
 extern cvar_t sv_gameplayfix_setmodelrealbox;
+extern cvar_t sv_gameplayfix_blowupfallenzombies;
+extern cvar_t sv_gameplayfix_findradiusdistancetobox;
 
-extern mempool_t *sv_clients_mempool;
-extern mempool_t *sv_edicts_mempool;
+extern mempool_t *sv_mempool;
 
 // persistant server info
 extern server_static_t svs;
@@ -296,7 +297,7 @@ void SV_Init (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);
-void SV_StartSound (edict_t *entity, int channel, char *sample, int volume, float attenuation);
+void SV_StartSound (edict_t *entity, int channel, const char *sample, int volume, float attenuation);
 
 void SV_ConnectClient (int clientnum, netconn_t *netconnection);
 void SV_DropClient (qboolean crash);
@@ -310,8 +311,8 @@ void SV_ReadClientMessage(void);
 // 0 = fail if not precached,
 // 1 = warn if not found and precache if possible
 // 2 = precache
-int SV_ModelIndex(char *s, int precachemode);
-int SV_SoundIndex(char *s, int precachemode);
+int SV_ModelIndex(const char *s, int precachemode);
+int SV_SoundIndex(const char *s, int precachemode);
 
 void SV_SetIdealPitch (void);