/* Project 16 Source Code~\r
- * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669\r
+ * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123\r
*\r
* This file is part of Project 16.\r
*\r
#endif\r
#include "src/lib/nyan/kitten.h"\r
#include "src/lib/types.h"\r
+#include "src/lib/typdefst.h"\r
+#include "src/lib/16_in.h"\r
\r
#define VERSION __DATE__ " " __TIME__\r
\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
- long 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
+#define INPUT_STATUS_1 0x03da\r
\r
/* local function */\r
void wait(clock_t wait);\r
long int filesize(FILE *fp);\r
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
+byte dirchar(byte in);\r
\r
#endif/*_LIBHEAD_H_*/\r