X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=cl_collision.h;h=8a4f98289f98ead883c96fa833b2ab214da9eee6;hp=c7ba402291e86cc71ab551a0e3f2ecb4daae005c;hb=e24d834dcbcc61f28fdf0e2c1ba75693d9e23ed1;hpb=5f9da8b90dfd4f0c86120ed01ca3e16c2dbb58e1 diff --git a/cl_collision.h b/cl_collision.h index c7ba4022..8a4f9828 100644 --- a/cl_collision.h +++ b/cl_collision.h @@ -4,10 +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_PointContents(const vec3_t p); +int CL_PointQ1Contents(const vec3_t p); +int CL_PointSuperContents(const vec3_t p); #endif