X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_in.h;h=67a98f6175e0443261c0451a908e48c2dafe7bba;hb=217ecb074c41c41b7e4958eab9e9ce41c6c01f24;hp=d2dfb54a2e1b02ee9985a4029179178a58990629;hpb=398c90d2a35006614f99b38ea112803015d97d33;p=16.git diff --git a/src/lib/16_in.h b/src/lib/16_in.h index d2dfb54a..67a98f61 100755 --- a/src/lib/16_in.h +++ b/src/lib/16_in.h @@ -30,21 +30,12 @@ #include #include "src/lib/16_head.h" #include "src/lib/16_timer.h" -#include "src/lib/16_sprit.h" -#include "src/lib/bitmap.h" //old format -#ifdef __WATCOMC__ +#ifdef __WATCOMC__ //borland C BCEXMM.EXE #include "src/lib/16_dbg.h" +#include "src/lib/16_sprit.h" +#include "src/lib/16_enti.h" +//#include "src/lib/bitmap.h" //old format #endif -#ifdef __DEBUG__ -//#define __DEBUG_InputMgr__ -#endif - -#ifdef __DEBUG_InputMgr__ -//#define TESTKEYIN -//#define TESTCONTROLNOISY -#endif - -extern boolean testkeyin,testcontrolnoisy; //if else for gfxtesting and direction //player[pn].d == 2 || @@ -59,7 +50,7 @@ extern boolean testkeyin,testcontrolnoisy; #define JoyScaleShift 8 #define MaxJoyValue 5000 -#define MaxPlayers 4 +#define MaxPlayers 2//futre plans for multiple playable charaters and being able to alternate #define MaxKbds 2 #define MaxJoys 2 #define MaxPads 2 @@ -231,12 +222,17 @@ 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 - bitmap_t *data; //supposively the sprite sheet data//old format +#ifdef __WATCOMC__ + struct sprite *spri; //supposively the sprite sheet data + memptr gr; + entity_t *ent; +#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; ControlType Controls; + int dx, dy, delta; //TODO: what is this? ^^ } player_t; /*