-typedef enum {false,true} boolean;\r
-\r
-#ifdef __WATCOMC__\r
-typedef void __based(__self) * memptr;\r
-#endif\r
-#ifdef __BORLANDC__\r
-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
- word frames_per_second;\r
- clock_t t;\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
- handle_t handle; //handles for file logging\r
- kurokku_t kurokku; //clock struct\r
-} global_game_variables_t;\r