X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_head.h;h=4a923a8c2c8873c72d05d825621707caeee69534;hb=6b585194480dbbfb1ca8ae9d4564418b24e79d48;hp=da071b731700186cac66eea3b2216dc9ea5ba042;hpb=364d4b084428eeee1b6c510ff65241d3b92ccc5a;p=16.git diff --git a/src/lib/16_head.h b/src/lib/16_head.h index da071b73..4a923a8c 100644 --- a/src/lib/16_head.h +++ b/src/lib/16_head.h @@ -41,6 +41,7 @@ #include #include #include +#include #include "src/lib/types.h" /* Control codes for all keys on the keyboard */ @@ -137,7 +138,7 @@ 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) @@ -150,6 +151,13 @@ extern int profilehandle,debughandle; typedef union REGPACK regs_t; typedef enum {false,true} boolean; +//I hope this is correct! +//__self +typedef void __based(__self) * memptr; +typedef struct +{ + int old_mode; //old video mode before game! +} global_game_variables_t; /* local function */ void wait(clock_t wait);