10 #include <exec/types.h> 16 typedef unsigned char BYTE;
45 #define min(x,y) ((x) < (y) ? (x) : (y)) 49 #define max(x,y) ((x) > (y) ? (x) : (y)) 72 int range_adjust(
int val,
int in_lower,
int in_upper,
int out_lower,
int out_upper);
73 int clamp(
int x,
int in_lower,
int in_upper);
77 char*
citoa(
int num,
char* str,
int base);
BOOL point_within_rect(vec2 *pt, rect *r)
short str_find_delimiter(short start, char *str)
BOOL point_within_quad(vec2 *pt, poly *pl)
char * citoa(int num, char *str, int base)
BOOL point_within_polygon(vec2 *pt, vec2 *pt_list, unsigned short n_pt)
int range_adjust(int val, int in_lower, int in_upper, int out_lower, int out_upper)
int clamp(int x, int in_lower, int in_upper)