X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=cl_collision.h;h=8a4f98289f98ead883c96fa833b2ab214da9eee6;hb=2d72ce3837ec27364107a13c42ac21a31775621e;hp=9e4cda564864aed802df96660f7fa193489b4d85;hpb=7653d161643a1e8ed9640d445a5a13d9248d4939;p=xonotic%2Fdarkplaces.git diff --git a/cl_collision.h b/cl_collision.h index 9e4cda56..8a4f9828 100644 --- a/cl_collision.h +++ b/cl_collision.h @@ -4,8 +4,11 @@ // if contents is not zero, it will impact on content changes // (leafs matching contents are considered empty, others are solid) -extern int cl_traceline_endcontents; // set by TraceLine +extern int cl_traceline_startcontents; // set by TraceLine -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); +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); +void CL_FindNonSolidLocation(const vec3_t in, vec3_t out, vec_t radius); +int CL_PointQ1Contents(const vec3_t p); +int CL_PointSuperContents(const vec3_t p); #endif