OSDN Git Service

trying to figure out the issue with player sprite with pcx
[proj16/16.git] / src / lib / 16_in.h
index eb1650e..e0efe8c 100755 (executable)
 #ifdef __WATCOMC__     //borland C BCEXMM.EXE\r
 #include "src/lib/16_dbg.h"\r
 #include "src/lib/16_sprit.h"\r
+#include "src/lib/16_enti.h"\r
 //#include "src/lib/bitmap.h"  //old format\r
 #endif\r
-#ifdef __DEBUG__\r
-#define        __DEBUG_InputMgr__\r
-extern boolean dbg_testkeyin,dbg_testcontrolnoisy;\r
-#endif\r
 \r
 //if else for gfxtesting and direction\r
 //player[pn].d == 2 ||\r
@@ -53,7 +50,7 @@ extern boolean dbg_testkeyin,dbg_testcontrolnoisy;
 #define        JoyScaleShift   8\r
 #define        MaxJoyValue             5000\r
 \r
-#define        MaxPlayers      4\r
+#define        MaxPlayers              2//futre plans for multiple playable charaters and being able to alternate\r
 #define        MaxKbds         2\r
 #define        MaxJoys         2\r
 #define        MaxPads         2\r
@@ -228,12 +225,14 @@ typedef   struct
 #ifdef __WATCOMC__\r
        struct sprite   *spri;  //supposively the sprite sheet data\r
        memptr          gr;\r
+       entity_t                *ent;\r
 #endif\r
-       bitmap_t *data;         //supposively the sprite sheet data//old format\r
+       bitmap_t __far *data;           //supposively the sprite sheet data//old format\r
        sword hp; //hitpoints of the player\r
        int persist_aniframe;    /* gonna be increased to 1 before being used, so 0 is ok for default */\r
        CursorInfo      info;\r
        ControlType     Controls;\r
+       int dx, dy, delta;      //TODO: what is this? ^^\r
 } player_t;\r
 \r
 /*\r