]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_head.h
scroll turned off sync for xt
[16.git] / src / lib / 16_head.h
old mode 100644 (file)
new mode 100755 (executable)
index 39f16ae..bb0d555
 #include "src/lib/nyan/kitten.h"\r
 #include "src/lib/types.h"\r
 \r
-//0000 test type def wwww\r
-/*struct list {\r
-       struct list __based(__self) *next;\r
-       int         value;\r
-};*/\r
+#define VERSION __DATE__ " " __TIME__\r
 \r
 /* Control codes for all keys on the keyboard */\r
 //here temperarly\r
@@ -176,6 +172,14 @@ typedef void __based(__self) * memptr;
 #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
        int old_mode;   //old video mode before game!\r
@@ -183,8 +187,7 @@ typedef struct
        clock_t t;\r
        dword tiku;\r
        word far* clock;\r
-       //handles for log files of the game gose here if wwww\r
-       //int heaphandle;\r
+       handle_t handle;        //handles for file logging\r
 } global_game_variables_t;\r
 \r
 /* local function */\r
@@ -194,7 +197,4 @@ long int filesize(FILE *fp);
 void printmeminfoline(byte *strc, const byte *pee, size_t h_total, size_t h_used, size_t h_free);\r
 int US_CheckParm(char *parm,char **strings);\r
 \r
-extern void CA_OpenDebug (void);\r
-extern void CA_CloseDebug (void);\r
-\r
 #endif/*_LIBHEAD_H_*/\r