X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_in.h;h=bf0755e7a300c20f2dbd3ca0b43248c4677ec1b2;hb=34abe02e0e49c2b73912babf54fc63b5cdc56284;hp=9f900aa5d5ac7b23be6bbaf4a993d3c2d5747eaa;hpb=465a28bde642141b8221a5217373e5f7c844e6c6;p=16.git diff --git a/src/lib/16_in.h b/src/lib/16_in.h index 9f900aa5..bf0755e7 100755 --- a/src/lib/16_in.h +++ b/src/lib/16_in.h @@ -29,7 +29,7 @@ #include #include "src/lib/16_head.h" -#include "src/lib/timer.h" +#include "src/lib/16_timer.h" #include "src/lib/bitmap.h" #include "src/lib/planar.h" @@ -46,8 +46,9 @@ extern byte testkeyin,testcontrolnoisy; //if else for gfxtesting and direction //player[pn].d == 2 || -#define DIRECTIONIFELSEGFXTEST (player[pn].info.dir == 2) -//#define NDIRECTIONIFELSEGFXTEST (player[pn].d != 2 || player[pn].info.dir != 2) +//player[pn].d != 2 || +#define DIRECTIONIFELSE (player[pn].info.dir == 2) +//#define NDIRECTIONIFELSE (player[pn].info.dir != 2) #define KeyInt 9 // The keyboard ISR number @@ -228,6 +229,7 @@ typedef struct byte d; //direction to render sprite!! wwww byte q; //loop variable for anumation and locking the playing to compleate the animation cycle to prevent issues with misalignment www byte near pdir; //previous direction~ + //byte near kd[2]; //array of arrow key pressed word speed; //player speed! //0000 planar_buf_t huge *data; //supposively the sprite sheet data // planar_buf_t data; //supposively the sprite sheet data