- qboolean allsolid; // if true, plane is not valid
- qboolean startsolid; // if true, the initial point was in a solid area
- qboolean inopen, inwater;
- float fraction; // time completed, 1.0 = didn't hit anything
- vec3_t endpos; // final position
- plane_t plane; // surface normal at impact
- edict_t *ent; // entity the surface is on
- // LordHavoc: added texture and lighting to traceline
- char *texturename;
- vec3_t light;
-} trace_t;
+ // convenient fields
+ char filename[MAX_QPATH];
+ vec3_t mins;
+ vec3_t maxs;
+
+ int areagrid_stats_calls;
+ int areagrid_stats_nodechecks;
+ int areagrid_stats_entitychecks;
+
+ link_t areagrid[AREA_GRIDNODES];
+ link_t areagrid_outside;
+ vec3_t areagrid_bias;
+ vec3_t areagrid_scale;
+ vec3_t areagrid_mins;
+ vec3_t areagrid_maxs;
+ vec3_t areagrid_size;
+ int areagrid_marknumber;
+
+ // if the QC uses a physics engine, the data for it is here
+ world_physics_t physics;
+}
+world_t;
+
+struct prvm_edict_s;