]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_head.h
16_pm worked on~
[16.git] / src / lib / 16_head.h
index b840043d4fd149606472f7f4ae2d00d84c585642..0155c81e5e2fd5b8a1d9bc936a46457add364bef 100755 (executable)
@@ -42,6 +42,7 @@
 #include <sys/stat.h>\r
 #include <mem.h>\r
 #include <string.h>\r
+#include <limits.h>\r
 #ifdef __WATCOMC__\r
 #include <i86.h>\r
 #include <unistd.h>\r
@@ -151,6 +152,7 @@ static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */
 extern int                     profilehandle,debughandle;      //make it into game global\r
 \r
 #define __DEBUG__\r
+#define __DEBUG_PM__\r
 \r
 #define        nil     ((void *)0)\r
 #ifdef __BORLANDC__\r
@@ -159,13 +161,15 @@ extern    int                     profilehandle,debughandle;      //make it into game global
 #endif\r
 #ifdef __WATCOMC__\r
 #define _FCORELEFT 0x90000UL+16UL\r
-extern union REGS CPURegs;\r
+static union REGS CPURegs;\r
 \r
 #define _AX CPURegs.x.ax\r
 #define _BX CPURegs.x.bx\r
 #define _CX CPURegs.x.cx\r
 #define _DX CPURegs.x.dx\r
 \r
+#define _SI CPURegs.x.si\r
+\r
 #define _AH CPURegs.h.ah\r
 #define _AL CPURegs.h.al\r
 #define _BH CPURegs.h.bh\r
@@ -195,6 +199,7 @@ int US_CheckParm(char *parm,char **strings);
 #ifdef __BORLANDC__\r
 void Quit (char *error);\r
 #endif\r
+void   XMS_CALL(byte v, global_game_variables_t *gvar);\r
 byte dirchar(byte in);\r
 \r
 #endif/*_LIBHEAD_H_*/\r