2 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
3 SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
4 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
5 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
6 IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
7 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
8 FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
9 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
10 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
11 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
21 typedef signed char byte;
23 //define unsigned types;
24 typedef unsigned char ubyte;
26 typedef unsigned short ushort;
27 typedef unsigned int uint;
28 typedef unsigned long ulong;
32 #define min(a,b) (((a)>(b))?(b):(a))
35 #define max(a,b) (((a)<(b))?(b):(a))
38 #if defined __MINGW32__
40 typedef uint64_t u_int64_t;
41 typedef uint32_t u_int32_t;
43 #elif defined __linux__
44 # include <sys/types.h>
45 # define _MAX_PATH 1024
48 #elif defined __DJGPP__
49 # include <sys/types.h>
50 # define _MAX_PATH 255
52 typedef signed int int32_t;
53 typedef unsigned int u_int32_t;
54 typedef signed short int16_t;
55 typedef unsigned short u_int16_t;
67 #define __pack__ __attribute__((packed))