]> icculus.org git repositories - divverent/darkplaces.git/blob - cl_collision.h
added cl_explosions and cl_stainmaps cvars, which will be used soon...
[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_endcontents; // set by TraceLine
8
9 // need to call this sometime before using TraceLine with hitbmodels
10 void CL_TraceLine_ScanForBModels(void);
11
12 float CL_TraceLine (vec3_t start, vec3_t end, vec3_t impact, vec3_t normal, int contents, int hitbmodels);
13
14 #endif