X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2F16_head.h;h=5db7e3f4e2619a414da03aefc76d9fa1cecae647;hb=19d97c4277378f20c6c756981f4123cdc6cbb32b;hp=a639726dcbd1d064d36948e715f4ee9b6b07f66d;hpb=91b509a59014237571bce50abc62bfbbf5315adf;p=16.git diff --git a/src/lib/16_head.h b/src/lib/16_head.h index a639726d..5db7e3f4 100755 --- a/src/lib/16_head.h +++ b/src/lib/16_head.h @@ -49,6 +49,7 @@ #endif #include "src/lib/nyan/kitten.h" #include "src/lib/types.h" +#include "src/lib/typdefst.h" #define VERSION __DATE__ " " __TIME__ @@ -164,8 +165,6 @@ extern int profilehandle,debughandle; //make it into game global typedef union REGPACK regs_t; #endif -typedef enum {false,true} boolean; - #ifdef __WATCOMC__ typedef void __based(__self) * memptr; #endif @@ -173,30 +172,6 @@ typedef void __based(__self) * memptr; typedef void _seg * memptr; #endif -typedef struct -{ -// int showmemhandle; - int profilehandle,debughandle; - int heaphandle; -} handle_t; - -typedef struct -{ - word frames_per_second; - clock_t t; - word tiku; //frames passed - word clock_start; //timer start - word *clock; //current time on clock - boolean fpscap; //cap the fps var -} kurokku_t; - -typedef struct -{ - int old_mode; //old video mode before game! - handle_t handle; //handles for file logging - kurokku_t kurokku; //clock struct -} global_game_variables_t; - /* local function */ void wait(clock_t wait);