#include <unistd.h>\r
#include <fcntl.h>\r
#include <sys/stat.h>
+#include <mem.h>
#include "src/lib/types.h"
/* Control codes for all keys on the keyboard */
static dword far* clockdw= (dword far*) 0x046C; /* 18.2hz clock */
//static dword clockdw=0;
-extern int profilehandle,debughandle;
+extern int profilehandle,debughandle; //make it into game global
#define nil ((void *)0)
typedef union REGPACK regs_t;
typedef enum {false,true} boolean;
+//I hope this is correct!
+//__self
+typedef void __based(__self) * memptr;
+typedef struct
+{\r
+ int old_mode; //old video mode before game!
+} global_game_variables_t;
/* local function */\r
void wait(clock_t wait);