X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=server.h;h=0dfaf0342255f5ba4f567576026d81f17b85849e;hb=7033142b17600b88c273c2460678b386bf7051dd;hp=ce3fcfa19ede703f5544a78189bb3ec6106989fc;hpb=366229127dad0794355c9daf8e17c833624b3d80;p=xonotic%2Fdarkplaces.git diff --git a/server.h b/server.h index ce3fcfa1..0dfaf034 100644 --- a/server.h +++ b/server.h @@ -203,6 +203,9 @@ typedef struct client_s /// requested rate in bytes per second int rate; + /// temporarily exceed rate by this amount of bytes + int rate_burstsize; + /// realtime this client connected double connecttime; @@ -566,6 +569,10 @@ void SV_LinkEdict_TouchAreaGrid_Call(prvm_edict_t *touch, prvm_edict_t *ent); // * returns true if it found a better place */ qboolean SV_UnstickEntity (prvm_edict_t *ent); +/*! move an entity that is stuck out of the surface it is stuck in (can move large amounts) + * returns true if it found a better place + */ +qboolean SV_NudgeOutOfSolid(prvm_edict_t *ent); /// calculates hitsupercontentsmask for a generic qc entity int SV_GenericHitSuperContentsMask(const prvm_edict_t *edict);