]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
.po support: support common.<language>.po as secondary translation source independent...
[xonotic/darkplaces.git] / server.h
index ce3fcfa19ede703f5544a78189bb3ec6106989fc..0dfaf0342255f5ba4f567576026d81f17b85849e 100644 (file)
--- 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);