]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_head.h
pbuf????
[16.git] / src / lib / 16_head.h
index ed0a4870327a1be9c5f483cc8d1ef1c903423967..5db7e3f4e2619a414da03aefc76d9fa1cecae647 100755 (executable)
@@ -49,6 +49,7 @@
 #endif\r
 #include "src/lib/nyan/kitten.h"\r
 #include "src/lib/types.h"\r
+#include "src/lib/typdefst.h"\r
 \r
 #define VERSION __DATE__ " " __TIME__\r
 \r
 #define KEY_MENU               (0x75)\r
 */\r
 \r
-static dword far* clockdw= (dword far*) 0x046C; /* 18.2hz clock */\r
-//static word far* hwclockw= (word far*) 0x046C; /* 18.2hz clock */\r
+static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */\r
 extern int                     profilehandle,debughandle;      //make it into game global\r
 \r
 #define __DEBUG__\r
@@ -165,8 +165,6 @@ extern      int                     profilehandle,debughandle;      //make it into game global
 typedef union REGPACK  regs_t;\r
 #endif\r
 \r
-typedef        enum    {false,true}    boolean;\r
-\r
 #ifdef __WATCOMC__\r
 typedef void __based(__self) * memptr;\r
 #endif\r
@@ -174,25 +172,6 @@ typedef void __based(__self) * memptr;
 typedef void _seg * memptr;\r
 #endif\r
 \r
-typedef struct\r
-{\r
-//     int showmemhandle;\r
-       int                     profilehandle,debughandle;\r
-       int heaphandle;\r
-} handle_t;\r
-\r
-typedef struct\r
-{\r
-       int old_mode;   //old video mode before game!\r
-       word frames_per_second;\r
-       clock_t t;\r
-       word tiku;              //frames passed\r
-       dword clock_start;      //timer start\r
-       dword *clock;           //current time on clock\r
-       handle_t handle;        //handles for file logging\r
-       boolean fpscap; //cap the fps var\r
-} global_game_variables_t;\r
-\r
 /* local function */\r
 void wait(clock_t wait);\r
 \r