]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_in.h
Merge remote-tracking branch 'upstream/master'
[16.git] / src / lib / 16_in.h
index 9f900aa5d5ac7b23be6bbaf4a993d3c2d5747eaa..bf0755e7a300c20f2dbd3ca0b43248c4677ec1b2 100755 (executable)
@@ -29,7 +29,7 @@
 \r
 #include <string.h>\r
 #include "src/lib/16_head.h"\r
-#include "src/lib/timer.h"\r
+#include "src/lib/16_timer.h"\r
 #include "src/lib/bitmap.h"\r
 #include "src/lib/planar.h"\r
 \r
@@ -46,8 +46,9 @@ extern byte testkeyin,testcontrolnoisy;
 \r
 //if else for gfxtesting and direction\r
 //player[pn].d == 2 ||\r
-#define DIRECTIONIFELSEGFXTEST (player[pn].info.dir == 2)\r
-//#define NDIRECTIONIFELSEGFXTEST      (player[pn].d != 2 || player[pn].info.dir != 2)\r
+//player[pn].d != 2 ||\r
+#define DIRECTIONIFELSE        (player[pn].info.dir == 2)\r
+//#define NDIRECTIONIFELSE     (player[pn].info.dir != 2)\r
 \r
 #define        KeyInt  9       // The keyboard ISR number\r
 \r
@@ -228,6 +229,7 @@ typedef     struct
        byte d;         //direction to render sprite!! wwww\r
        byte q;         //loop variable for anumation and locking the playing to compleate the animation cycle to prevent issues with misalignment www\r
        byte near pdir; //previous direction~\r
+       //byte near kd[2];      //array of arrow key pressed\r
        word speed;             //player speed!\r
 //0000 planar_buf_t huge *data; //supposively the sprite sheet data\r
 //     planar_buf_t data; //supposively the sprite sheet data\r