X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_head.h;h=81af81c5f04fcf1ed80ddba48840afc9e720896f;hb=c99bda70e2b46d085d3ba7aa951117bcd737c208;hp=aad7a554ef79ac9854b67d7547f55ff320459002;hpb=fa252ebd82649e4f3bab4a53228828766713ad6c;p=16.git diff --git a/src/lib/16_head.h b/src/lib/16_head.h index aad7a554..81af81c5 100755 --- a/src/lib/16_head.h +++ b/src/lib/16_head.h @@ -35,7 +35,6 @@ #include #include // just for wait #include // just for wait -#include #include #include #include @@ -50,7 +49,6 @@ #include #include #include //16_vrs.h -#include "src/lib/16_dbg.h" #endif #ifdef __BORLANDC__ #include @@ -60,6 +58,7 @@ #include "src/lib/16_t.h" #include "src/lib/16_tdef.h" #include "src/lib/nyan/kitten.h" +#include "src/lib/16_dbg.h" #define VERSION __DATE__ " " __TIME__ @@ -162,11 +161,13 @@ extern int profilehandle,debughandle; //make it into game global #define nil ((void *)0) #ifdef __BORLANDC__ -#define _FCORELEFT 0x90000UL-16UL +//#define _FCORELEFT 0x90000UL-16UL +#define _FCORELEFT HC_farcoreleft() #define sprite #endif #ifdef __WATCOMC__ -#define _FCORELEFT 0x90000UL+16UL +//#define _FCORELEFT 0x90000UL+16UL +#define _FCORELEFT HC_farcoreleft() /*static union REGS CPURegs; #define _AX CPURegs.x.ax @@ -198,6 +199,9 @@ typedef union REGPACK regs_t; /* local function */ long int filesize(FILE *fp); +char *remove_ext(char* mystr, char dot, char sep); +void rotateR(byte arr[], byte n); +void rotateL(byte arr[], byte n); void printmeminfoline(byte *strc, const byte *pee, size_t h_total, size_t h_used, size_t h_free); int US_CheckParm(char *parm,char **strings); byte dirchar(byte in);