]> icculus.org git repositories - divverent/darkplaces.git/blob - cl_collision.h
reimplemented particle lighting, however it is not used (too slow)
[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_startcontents; // set by TraceLine
8
9 float CL_TraceLine(const vec3_t start, const vec3_t end, vec3_t impact, vec3_t normal, int hitbmodels, int *hitent, int hitsupercontentsmask);
10 float CL_SelectTraceLine(const vec3_t start, const vec3_t end, vec3_t impact, vec3_t normal, int *hitent, entity_render_t *ignoreent);
11 void CL_FindNonSolidLocation(const vec3_t in, vec3_t out, vec_t radius);
12 int CL_PointQ1Contents(const vec3_t p);
13 int CL_PointSuperContents(const vec3_t p);
14
15 #endif