]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_in.h
wwww
[16.git] / src / lib / 16_in.h
index 0534708c3382d2e6c4951ad6058eb107acf26608..44daca6d19583efdcde9f07881bae4765d887126 100755 (executable)
@@ -31,6 +31,7 @@
 #include "src/lib/16_head.h"\r
 #include "src/lib/timer.h"\r
 #include "src/lib/bitmap.h"\r
+#include "src/lib/planar.h"\r
 \r
 #ifdef __DEBUG__\r
 //#define      __DEBUG_InputMgr__\r
@@ -41,7 +42,7 @@
 //#define TESTCONTROLNOISY\r
 #endif\r
 \r
-static word testkeyin,testcontrolnoisy;\r
+extern word testkeyin,testcontrolnoisy;\r
 \r
 #define        KeyInt  9       // The keyboard ISR number\r
 \r
@@ -219,10 +220,13 @@ typedef   struct
        int triggery; //player's trigger box tile position on the viewable map\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\r
-       word d; //direction!! wwww\r
-       word q; //loop variable\r
+       byte d; //direction!! wwww\r
+       byte q; //loop variable\r
        word speed;             //player speed!\r
-       bitmap_t data; //supposively the sprite sheet data\r
+//0000 planar_buf_t huge *data; //supposively the sprite sheet data\r
+//     planar_buf_t data; //supposively the sprite sheet data\r
+////0000----\r
+       bitmap_t huge *data; //supposively the sprite sheet data\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