- // if true, the entire trace was in solid
- qboolean allsolid;
- // if true, the initial point was in solid
- qboolean startsolid;
- // if true, the trace passed through empty somewhere
- qboolean inopen;
- // if true, the trace passed through water somewhere
- qboolean inwater;
- // fraction of the total distance that was traveled before impact
- // (1.0 = did not hit anything)
- double fraction;
- // final position
- double endpos[3];
- // surface normal at impact
- plane_t plane;
- // entity the surface is on
- edict_t *ent;
- // if not zero, treats this value as empty, and all others as solid (impact
- // on content change)
- int startcontents;
- // the contents that was hit at the end or impact point
- int endcontents;
+ // convenient fields
+ char filename[MAX_QPATH];
+ vec3_t mins;
+ vec3_t maxs;
+ struct prvm_prog_s *prog;
+
+ 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;