quakeforge/ruamoko/include/physics.h
Jeff Teunissen 4bd37e7b64 Switch to C-style function declarations.
Doxygen hates the QuakeC-style function prototypes we use, so switch to the
C-style prototypes.
2010-12-11 20:31:59 -05:00

36 lines
1.2 KiB
C

#ifndef __ruamoko_physics_h
#define __ruamoko_physics_h
@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;
/*
makevectors
Set v_forward, v_up, v_right global vectors from the vector ang
*/
@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);
#endif//__ruamoko_physics_h