#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
\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