]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_head.h
====scroll.exe coverted and bakapi.exe converted!! this is a major commit!
[16.git] / src / lib / 16_head.h
index c0bc4cfbcbf57c83558e4506c331f549120de042..4a923a8c2c8873c72d05d825621707caeee69534 100644 (file)
 
 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)
 
@@ -154,6 +154,10 @@ 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);