#include "src/lib/nyan/kitten.h"\r
#include "src/lib/types.h"\r
\r
+#define VERSION __DATE__ " " __TIME__\r
+\r
/* Control codes for all keys on the keyboard */\r
//here temperarly\r
/*\r
#define KEY_MENU (0x75)\r
*/\r
\r
-static dword far* clockdw= (dword 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
\r
typedef struct\r
{\r
- int old_mode; //old video mode before game!\r
word frames_per_second;\r
clock_t t;\r
- dword tiku;\r
- word far* clock;\r
+ dword tiku; //frames passed\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