]> icculus.org git repositories - divverent/darkplaces.git/blob - cl_collision.h
added graphics options menu and put realtime lighting stuff in it
[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, entity_render_t **hitent, int hitsupercontentsmask);
10 void CL_FindNonSolidLocation(const vec3_t in, vec3_t out, vec_t radius);
11 int CL_PointQ1Contents(const vec3_t p);
12 int CL_PointSuperContents(const vec3_t p);
13
14 #endif