]> icculus.org git repositories - divverent/darkplaces.git/blob - cl_collision.h
added Q2 and Q3 contents flags
[divverent/darkplaces.git] / cl_collision.h
1
2 #ifndef CL_COLLISION_H
3 #define CL_COLLISION_H
4
5 // if contents is not zero, it will impact on content changes
6 // (leafs matching contents are considered empty, others are solid)
7 extern int cl_traceline_endcontents; // set by TraceLine
8
9 float CL_TraceLine(const vec3_t start, const vec3_t end, vec3_t impact, vec3_t normal, int contents, int hitbmodels, entity_render_t **hitent);
10 void CL_FindNonSolidLocation(const vec3_t in, vec3_t out, vec_t radius);
11 int CL_PointContents(const vec3_t p);
12
13 #endif