X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_in.h;h=bf0755e7a300c20f2dbd3ca0b43248c4677ec1b2;hb=34abe02e0e49c2b73912babf54fc63b5cdc56284;hp=e39c400e29554414cb80e87465160af6670c6a1e;hpb=76278b1d3be2ebf4a635cdec253dfe48450075df;p=16.git diff --git a/src/lib/16_in.h b/src/lib/16_in.h index e39c400e..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" @@ -42,11 +42,13 @@ //#define TESTCONTROLNOISY #endif -extern byte testkeyin,testcontrolnoisy,gfxtest; +extern byte testkeyin,testcontrolnoisy; //if else for gfxtesting and direction -#define DIRECTIONIFELSEGFXTEST (player[pn].d == 2 && gfxtest) || (player[pn].info.dir == 2 && !gfxtest) -#define NDIRECTIONIFELSEGFXTEST (player[pn].d != 2 && gfxtest) || (player[pn].info.dir != 2 && !gfxtest) +//player[pn].d == 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 @@ -227,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