X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_in.h;h=29ecc130e1f91616bf870bd9f88a895c6ea30f90;hb=fb97121f7d0be4408d8e2ed98a2f7b10b852a915;hp=d2dfb54a2e1b02ee9985a4029179178a58990629;hpb=398c90d2a35006614f99b38ea112803015d97d33;p=16.git diff --git a/src/lib/16_in.h b/src/lib/16_in.h index d2dfb54a..29ecc130 100755 --- a/src/lib/16_in.h +++ b/src/lib/16_in.h @@ -30,22 +30,16 @@ #include #include "src/lib/16_head.h" #include "src/lib/16_timer.h" +#ifdef __WATCOMC__ //borland C BCEXMM.EXE +#include "src/lib/16_dbg.h" #include "src/lib/16_sprit.h" #include "src/lib/bitmap.h" //old format -#ifdef __WATCOMC__ -#include "src/lib/16_dbg.h" #endif #ifdef __DEBUG__ -//#define __DEBUG_InputMgr__ -#endif - -#ifdef __DEBUG_InputMgr__ -//#define TESTKEYIN -//#define TESTCONTROLNOISY +#define __DEBUG_InputMgr__ +extern boolean dbg_testkeyin,dbg_testcontrolnoisy; #endif -extern boolean testkeyin,testcontrolnoisy; - //if else for gfxtesting and direction //player[pn].d == 2 || //player[pn].d != 2 || @@ -231,7 +225,10 @@ typedef struct //0000 planar_buf_t huge *data; //supposively the sprite sheet data // planar_buf_t data; //supposively the sprite sheet data ////0000---- - struct sprite *spri; //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 */