]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_in.h
Signed-off-by: sparky4 <sparky4@cock.li>
[16.git] / src / lib / 16_in.h
index 68f2d7211155d281985c47a99ea2d1e1247cb27c..eecfae5905bd772859827f1c8385ad0d2779825c 100644 (file)
@@ -28,7 +28,8 @@
 #define        __16_IN__\r
 \r
 #include <string.h>\r
-#include "src/lib/16_head.h"\r
+#include "src/lib/16_head.h"
+#include "src/lib/bitmap.h"\r
 \r
 #ifdef __DEBUG__\r
 //#define      __DEBUG_InputMgr__\r
@@ -36,7 +37,7 @@
 \r
 #ifdef __DEBUG_InputMgr__\r
 #define TESTKEYIN\r
-#define TESTCONTROLNOISY\r
+//#define TESTCONTROLNOISY\r
 #endif\r
 \r
 #define        KeyInt  9       // The keyboard ISR number\r
@@ -213,14 +214,16 @@ typedef   struct
        int ty; //player tile position on the viewable map\r
        int triggerx; //player's trigger box tile position on the viewable map\r
        int triggery; //player's trigger box tile position on the viewable map\r
-       int setx; //NOT USED YET! player sprite sheet set on the image x\r
-       int sety; //NOT USED YET! player sprite sheet set on the image y\r
-       word q; //loop variable\r
-//     word d; //direction\r
-       //bitmap_t data; //supposively the sprite sheet data\r
-       int hp; //hitpoints of the player\r
+       int sheetsetx; //NOT USED YET! player sprite sheet set on the image x\r
+       int sheetsety; //NOT USED YET! player sprite sheet set on the image y
+       word d; //direction!! wwww\r
+       word q; //loop variable
+       word speed;             //player speed!\r
+       bitmap_t data; //supposively the sprite sheet data\r
+       sword hp; //hitpoints of the player
+       int persist_aniframe;    /* gonna be increased to 1 before being used, so 0 is ok for default */\r
        CursorInfo      info;\r
-       ControlType     Controls;\r
+       ControlType     Controls;
 } player_t;\r
 \r
 /*\r