with utf8 disabled VM_str2chr should not use U+E0xx codes
[divverent/darkplaces.git] / cl_collision.h
1
2 #ifndef CL_COLLISION_H
3 #define CL_COLLISION_H
4
5 float CL_SelectTraceLine(const vec3_t start, const vec3_t end, vec3_t impact, vec3_t normal, int *hitent, entity_render_t *ignoreent);
6 void CL_FindNonSolidLocation(const vec3_t in, vec3_t out, vec_t radius);
7
8 dp_model_t *CL_GetModelByIndex(int modelindex);
9 dp_model_t *CL_GetModelFromEdict(prvm_edict_t *ed);
10
11 void CL_LinkEdict(prvm_edict_t *ent);
12 int CL_GenericHitSuperContentsMask(const prvm_edict_t *edict);
13 trace_t CL_TraceBox(const vec3_t start, const vec3_t mins, const vec3_t maxs, const vec3_t end, int type, prvm_edict_t *passedict, int hitsupercontentsmask, qboolean hitnetworkbrushmodels, qboolean hitnetworkplayers, int *hitnetworkentity, qboolean hitcsqcentities);
14 trace_t CL_TraceLine(const vec3_t start, const vec3_t end, int type, prvm_edict_t *passedict, int hitsupercontentsmask, qboolean hitnetworkbrushmodels, qboolean hitnetworkplayers, int *hitnetworkentity, qboolean hitcsqcentities);
15 trace_t CL_TracePoint(const vec3_t start, int type, prvm_edict_t *passedict, int hitsupercontentsmask, qboolean hitnetworkbrushmodels, qboolean hitnetworkplayers, int *hitnetworkentity, qboolean hitcsqcentities);
16 #define CL_PointSuperContents(point) (CL_TracePoint((point), sv_gameplayfix_swiminbmodels.integer ? MOVE_NOMONSTERS : MOVE_WORLDONLY, NULL, 0, true, false, NULL, false).startsupercontents)
17
18 #endif