fix frame lerp again, dynamically allocate client baselines (should save about 2MB of memory on typical servers), bounds check baselines (stops invalid svc_spawnbaseline from crashing), small DP extension fix, fix demo baselines
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2365 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
0089cf5a3f
commit
084c095dc7
7 changed files with 56 additions and 23 deletions
|
@ -638,7 +638,7 @@ extern cvar_t name;
|
|||
extern client_state_t cl;
|
||||
|
||||
// FIXME, allocate dynamically
|
||||
extern entity_state_t cl_baselines[MAX_EDICTS];
|
||||
extern entity_state_t *cl_baselines;
|
||||
extern efrag_t cl_efrags[MAX_EFRAGS];
|
||||
extern entity_t cl_static_entities[MAX_STATIC_ENTITIES];
|
||||
extern trailstate_t *cl_static_emit[MAX_STATIC_ENTITIES];
|
||||
|
@ -646,6 +646,7 @@ extern lightstyle_t cl_lightstyle[MAX_LIGHTSTYLES];
|
|||
extern dlight_t cl_dlights[MAX_DLIGHTS];
|
||||
|
||||
extern int dlights_running, dlights_software;
|
||||
extern int cl_baselines_count;
|
||||
|
||||
extern qboolean nomaster;
|
||||
extern float server_version; // version of server we connected to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue