]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_in.h
==== last upload for the day ^^ ====
[16.git] / src / lib / 16_in.h
index 8e20760e71415f78f14098cf2af6fa518302939d..eecfae5905bd772859827f1c8385ad0d2779825c 100644 (file)
 #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
+//#define      __DEBUG_InputMgr__\r
 #endif\r
 \r
 #ifdef __DEBUG_InputMgr__\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