*/
-#ifndef PROGS_H
+#ifndef PROGS_H
#define PROGS_H
#include "pr_comp.h" // defs shared with qcc
} link_t;
#define ENTITYGRIDAREAS 16
+#define MAX_ENTITYCLUSTERS 16
typedef struct edict_engineprivate_s
{
// mess up client interpolation or obscure severe QuakeC bugs)
float freetime;
+ // cached cluster links for quick stationary object visibility checking
+ vec3_t cullmins, cullmaxs;
+ int pvs_numclusters;
+ int pvs_clusterlist[MAX_ENTITYCLUSTERS];
+
// physics grid areas this edict is linked into
link_t areagrid[ENTITYGRIDAREAS];
// since the areagrid can have multiple references to one entity,
// mess up client interpolation or obscure severe QuakeC bugs)
float freetime;
+ // cached cluster links for quick stationary object visibility checking
+ vec3_t cullmins, cullmaxs;
+ int pvs_numclusters;
+ int pvs_clusterlist[MAX_ENTITYCLUSTERS];
+
// physics grid areas this edict is linked into
link_t areagrid[ENTITYGRIDAREAS];
// since the areagrid can have multiple references to one entity,