#ifndef SUPPORT_H #define SUPPORT_H #include #include #include #define fsFromStart SEEK_SET typedef char* Str255; typedef int OSErr; typedef short int SInt16; typedef bool Boolean; #define TRUE true #define FALSE false typedef struct UnsignedWide { unsigned int lo; unsigned int hi; } UnsignedWide; typedef struct Point { int h; int v; } Point; #define SetFPos(fildes, whence, offset) lseek(fildes, offset, whence) #define FSClose(fildes) close(fildes) int Random(); void GetMouse(Point *p); void GetMouseRel(Point *p); int Button(void); bool IsKeyDown(int key); void loadOgg(char* filename, ALuint buffer, ALuint source); FILE *cfh_fopen(const char *filename, const char *mode); #endif