]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
cvar: misc description fixes, allow vsync to a fraction of refresh rate
[xonotic/darkplaces.git] / server.h
index 22b6a1f84f686e78320f11f99f5b996b70d715e5..66caeeff8f3d6144cd1939bc1cd001637a21361a 100644 (file)
--- a/server.h
+++ b/server.h
@@ -105,8 +105,6 @@ typedef struct server_s
        /// collision culling data
        world_t world;
 
-       /// map name
-       char name[64]; // %s followed by entrance name
        // variants of map name
        char worldbasename[MAX_QPATH]; // %s
        char worldname[MAX_QPATH]; // maps/%s.bsp
@@ -154,8 +152,7 @@ typedef struct server_s
        sizebuf_t *writeentitiestoclient_msg;
        vec3_t writeentitiestoclient_eyes[MAX_CLIENTNETWORKEYES];
        int writeentitiestoclient_numeyes;
-       int writeentitiestoclient_pvsbytes;
-       unsigned char writeentitiestoclient_pvs[MAX_MAP_LEAFS/8];
+       unsigned char *writeentitiestoclient_pvs;
        const entity_state_t *writeentitiestoclient_sendstates[MAX_EDICTS];
        unsigned short writeentitiestoclient_csqcsendstates[MAX_EDICTS];
 
@@ -448,6 +445,7 @@ extern cvar_t sv_gameplayfix_easierwaterjump;
 extern cvar_t sv_gameplayfix_findradiusdistancetobox;
 extern cvar_t sv_gameplayfix_gravityunaffectedbyticrate;
 extern cvar_t sv_gameplayfix_grenadebouncedownslopes;
+extern cvar_t sv_gameplayfix_impactbeforeonground;
 extern cvar_t sv_gameplayfix_multiplethinksperframe;
 extern cvar_t sv_gameplayfix_noairborncorpse;
 extern cvar_t sv_gameplayfix_noairborncorpse_allowsuspendeditems;
@@ -567,6 +565,7 @@ void SV_LinkEdict_TouchAreaGrid_Call(prvm_edict_t *touch, prvm_edict_t *ent); //
 
 /*! move an entity that is stuck by small amounts in various directions to try to nudge it back into the collision hull
  * returns true if it found a better place
+ * Replaces SV_TryUnstick() and SV_CheckStuck() which in Quake applied to players only.
  */
 qbool SV_UnstickEntity (prvm_edict_t *ent);