X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_in.h;h=eb1650e46cbcbe3bcc6d309caa6c27eb07119389;hb=24760854cf1668b8b0eba2bfaf63ab083da14ea8;hp=beb6a3d33613de4a2f0ca633a2a9d0850ad798a5;hpb=e05e5231944441a76f4b7cf66b98e8c7b74b3db9;p=16.git diff --git a/src/lib/16_in.h b/src/lib/16_in.h index beb6a3d3..eb1650e4 100755 --- a/src/lib/16_in.h +++ b/src/lib/16_in.h @@ -30,21 +30,16 @@ #include #include "src/lib/16_head.h" #include "src/lib/16_timer.h" -#include "src/lib/bitmap.h" -#include "src/lib/planar.h" +#ifdef __WATCOMC__ //borland C BCEXMM.EXE #include "src/lib/16_dbg.h" - -#ifdef __DEBUG__ -//#define __DEBUG_InputMgr__ +#include "src/lib/16_sprit.h" +//#include "src/lib/bitmap.h" //old format #endif - -#ifdef __DEBUG_InputMgr__ -//#define TESTKEYIN -//#define TESTCONTROLNOISY +#ifdef __DEBUG__ +#define __DEBUG_InputMgr__ +extern boolean dbg_testkeyin,dbg_testcontrolnoisy; #endif -extern boolean testkeyin,testcontrolnoisy,testctrltype; - //if else for gfxtesting and direction //player[pn].d == 2 || //player[pn].d != 2 || @@ -230,7 +225,11 @@ typedef struct //0000 planar_buf_t huge *data; //supposively the sprite sheet data // planar_buf_t data; //supposively the sprite sheet data ////0000---- - bitmap_t huge *data; //supposively the sprite sheet data +#ifdef __WATCOMC__ + struct sprite *spri; //supposively the sprite sheet data + memptr gr; +#endif + bitmap_t *data; //supposively the sprite sheet data//old format sword hp; //hitpoints of the player int persist_aniframe; /* gonna be increased to 1 before being used, so 0 is ok for default */ CursorInfo info;