-typedef struct entity_render_s
-{
- vec3_t origin;
- vec3_t angles;
-
- int visframe; // last frame this entity was found in an active leaf
-
- model_t *model; // NULL = no model
- int frame; // current desired frame (usually identical to frame2, but frame2 is not always used)
- int colormap; // entity shirt and pants colors
- int effects; // light, particles, etc
- int skinnum; // for Alias models
- int flags; // render flags
-
- float alpha; // opacity (alpha) of the model
- float scale; // size the model is shown
- float trail_time; // last time for trail rendering
- float colormod[3]; // color tint for model
-
- model_t *lerp_model; // lerp resets when model changes
- int frame1; // frame that the model is interpolating from
- int frame2; // frame that the model is interpolating to
- double lerp_starttime; // start of this transition
- double framelerp; // interpolation factor, usually computed from lerp_starttime
- double frame1start; // time frame1 began playing (for framegroup animations)
- double frame2start; // time frame2 began playing (for framegroup animations)
-}
-entity_render_t;
-
-typedef struct entity_s
-{
- entity_state_t state_baseline; // baseline for entity
- entity_state_t state_previous; // previous state (interpolating from this)
- entity_state_t state_current; // current state (interpolating to this)
-
- entity_render_t render;
-} entity_t;
-
-typedef struct
-{
- vrect_t vrect; // subwindow in video for refresh
-
- vec3_t vieworg;
- vec3_t viewangles;
-
- float fov_x, fov_y;
-} refdef_t;
+extern int r_framecount;
+extern mplane_t frustum[4];
+extern int c_alias_polys, c_light_polys, c_faces, c_nodes, c_leafs, c_models, c_bmodels, c_sprites, c_particles, c_dlights;