int sententitiesmark;
int sententities[MAX_EDICTS];
int sententitiesconsideration[MAX_EDICTS];
+
+ // legacy support for self.Version based csqc entity networking
+ unsigned char csqcentityversion[MAX_EDICTS]; // legacy
} server_t;
// if defined this does ping smoothing, otherwise it does not
// visibility state
float visibletime[MAX_EDICTS];
- // version number of csqc-based entity to decide whether to send it
- unsigned char csqcentityversion[MAX_EDICTS];
+ // scope is whether an entity is currently being networked to this client
+ // sendflags is what properties have changed on the entity since the last
+ // update that was sent
+ int csqcnumedicts;
+ unsigned char csqcentityscope[MAX_EDICTS];
+ unsigned int csqcentitysendflags[MAX_EDICTS];
// prevent animated names
float nametime;
extern cvar_t sv_gameplayfix_blowupfallenzombies;
extern cvar_t sv_gameplayfix_delayprojectiles;
extern cvar_t sv_gameplayfix_droptofloorstartsolid;
+extern cvar_t sv_gameplayfix_droptofloorstartsolid_nudgetocorrect;
extern cvar_t sv_gameplayfix_easierwaterjump;
extern cvar_t sv_gameplayfix_findradiusdistancetobox;
extern cvar_t sv_gameplayfix_grenadebouncedownslopes;
// if touchtriggers, calls prog functions for the intersected triggers
void SV_LinkEdict (prvm_edict_t *ent, qboolean touch_triggers);
+// 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
+qboolean SV_UnstickEntity (prvm_edict_t *ent);
+
// calculates hitsupercontentsmask for a generic qc entity
int SV_GenericHitSuperContentsMask(const prvm_edict_t *edict);
// traces a box move against worldmodel and all entities in the specified area