1 /***********************************************************
2 * Artsoft Retro-Game Library *
3 *----------------------------------------------------------*
4 * (c) 1994-2001 Artsoft Entertainment *
6 * Detmolder Strasse 189 *
9 * e-mail: info@artsoft.org *
10 *----------------------------------------------------------*
12 ***********************************************************/
17 typedef unsigned char boolean;
18 typedef unsigned char byte;
26 #define MIN(a,b) ((a) < (b) ? (a) : (b))
30 #define MAX(a,b) ((a) > (b) ? (a) : (b))
34 #define ABS(a) ((a) < 0 ? -(a) : (a))
38 #define SIGN(a) ((a) < 0 ? -1 : ((a)>0 ? 1 : 0))