2002-08-15 21:00:51 +00:00
|
|
|
#ifndef __ruamoko_physics_h
|
|
|
|
#define __ruamoko_physics_h
|
2002-08-15 06:56:37 +00:00
|
|
|
|
|
|
|
@extern float trace_allsolid;
|
|
|
|
@extern float trace_startsolid;
|
|
|
|
@extern float trace_fraction;
|
|
|
|
@extern vector trace_endpos;
|
|
|
|
@extern vector trace_plane_normal;
|
|
|
|
@extern float trace_plane_dist;
|
|
|
|
@extern entity trace_ent;
|
|
|
|
@extern float trace_inopen;
|
|
|
|
@extern float trace_inwater;
|
|
|
|
|
2004-01-05 09:06:06 +00:00
|
|
|
/*
|
|
|
|
makevectors
|
|
|
|
|
|
|
|
Set v_forward, v_up, v_right global vectors from the vector ang
|
|
|
|
*/
|
2010-12-01 23:04:18 +00:00
|
|
|
@extern void makevectors (vector ang);
|
|
|
|
@extern void traceline (vector v1, vector v2, float nomonsters, entity forent);
|
|
|
|
@extern entity checkclient ();
|
|
|
|
@extern float walkmove (float yaw, float dist);
|
|
|
|
@extern float droptofloor ();
|
|
|
|
@extern void lightstyle (float style, string value);
|
|
|
|
@extern float checkbottom (entity e);
|
|
|
|
@extern float pointcontents (vector v);
|
|
|
|
@extern vector aim (entity e, float speed);
|
|
|
|
@extern void ChangeYaw (void);
|
|
|
|
@extern void movetogoal (float step);
|
|
|
|
@extern integer hullpointcontents (entity ent, vector point);
|
|
|
|
@extern vector getboxbounds (integer hull, integer max);
|
|
|
|
@extern integer getboxhull (void);
|
|
|
|
@extern void freeboxhull (integer hull);
|
|
|
|
@extern void rotate_bbox (integer hull, vector right, vector forward, vector up, vector mins, vector maxs);
|
2002-08-15 06:56:37 +00:00
|
|
|
|
2002-08-15 21:00:51 +00:00
|
|
|
#endif//__ruamoko_physics_h
|