]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_head.h
many improvements for testing have been added ^^
[16.git] / src / lib / 16_head.h
index ed0a4870327a1be9c5f483cc8d1ef1c903423967..417b9f3eb088949fe585295e1ad480e039e8ef5d 100755 (executable)
 #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
@@ -183,14 +182,21 @@ typedef struct
 \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
+       word clock_start;       //timer start\r
+       word *clock;    //current time on clock\r
        boolean fpscap; //cap the fps var\r
+} kurokku_t;\r
+\r
+static boolean testkeyin,testcontrolnoisy;\r
+\r
+typedef struct\r
+{\r
+       int old_mode;   //old video mode before game!\r
+       handle_t handle;        //handles for file logging\r
+       kurokku_t kurokku;      //clock struct\r
 } global_game_variables_t;\r
 \r
 /* local function */\r