X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=server.h;h=5ae7befde0f911157127168a7305f1f8d6db6a0d;hp=d1cdb1ab1ebf73cf8f6af16d5f0e07386c543d4c;hb=HEAD;hpb=d3b8dc6b859c81a72fa1ea2cccb5064a319c32fc diff --git a/server.h b/server.h index d1cdb1ab..66caeeff 100644 --- a/server.h +++ b/server.h @@ -105,10 +105,7 @@ 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 worldmessage[40]; // map title (not related to filename) char worldbasename[MAX_QPATH]; // %s char worldname[MAX_QPATH]; // maps/%s.bsp char worldnamenoextension[MAX_QPATH]; // maps/%s @@ -155,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]; @@ -449,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; @@ -568,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); @@ -626,6 +624,6 @@ void SV_PreSpawn_f(cmd_state_t *cmd); void SV_Spawn_f(cmd_state_t *cmd); void SV_Begin_f(cmd_state_t *cmd); -qbool SV_VM_ConsoleCommand (const char *text); +qbool SV_VM_ConsoleCommand(const char *text, size_t textlen); #endif