X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=cl_collision.h;h=8a4f98289f98ead883c96fa833b2ab214da9eee6;hb=62a67c0e743f7a1c7786a260faff02fbc5f3f797;hp=15c1e06afa7dea345f674ce3fe54f3ca452e9564;hpb=5715fdeb47caa02252ab9b6c0895310e43bea716;p=xonotic%2Fdarkplaces.git diff --git a/cl_collision.h b/cl_collision.h index 15c1e06a..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); +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