]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_head.h
palette utilities made ^^
[16.git] / src / lib / 16_head.h
index 2f3dc0bcdb396e985aef0e012e39639254438074..bc25498a25c732936b6bcde9e77123398263d8d6 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*) 0x00000046C; /* 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,13 +182,20 @@ 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
+       clock_t t;\r
        dword tiku;             //frames passed\r
-       dword clock_start;      //timer start\r
-       //word clock;           //current time on clock\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
+typedef struct\r
+{\r
+       int old_mode;   //old video mode before game!\r
+       byte *pee;              // message for fps\r
        handle_t handle;        //handles for file logging\r
+       kurokku_t kurokku;      //clock struct\r
 } global_game_variables_t;\r
 \r
 /* local function */\r