X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_in.h;h=9e4bfc2e88ae047cf49024a4e5919e5818cc117a;hb=8e974b9ed72a1521714ea3cf96a9b87c68db8025;hp=c88da99d906e055c65c9a5afbc81135dd6748be0;hpb=919eea722c3f1baa9b87becf77e5ca013e75da03;p=16.git diff --git a/src/lib/16_in.h b/src/lib/16_in.h index c88da99d..9e4bfc2e 100755 --- a/src/lib/16_in.h +++ b/src/lib/16_in.h @@ -30,21 +30,13 @@ #include #include "src/lib/16_head.h" #include "src/lib/16_timer.h" -#include "src/lib/bitmap.h" -#ifdef __WATCOMC__ +#ifdef __WATCOMC__ //borland C BCEXMM.EXE #include "src/lib/16_dbg.h" -#endif -#ifdef __DEBUG__ -//#define __DEBUG_InputMgr__ -#endif - -#ifdef __DEBUG_InputMgr__ -//#define TESTKEYIN -//#define TESTCONTROLNOISY +#include "src/lib/16_sprit.h" +#include "src/lib/16_enti.h" +//#include "src/lib/bitmap.h" //old format #endif -extern boolean testkeyin,testcontrolnoisy,testctrltype; - //if else for gfxtesting and direction //player[pn].d == 2 || //player[pn].d != 2 || @@ -58,7 +50,7 @@ extern boolean testkeyin,testcontrolnoisy,testctrltype; #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 @@ -230,11 +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---- - bitmap_t *data; //supposively the sprite sheet data +#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; /*