X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_in.h;h=eecfae5905bd772859827f1c8385ad0d2779825c;hb=29ffa594274303096c976d1785670a941ca545d4;hp=daa864c811758b1b398fbd98796bfa14ce2b8fba;hpb=f505526d1ab7d43f414aa96c26cb51acfa5acc96;p=16.git diff --git a/src/lib/16_in.h b/src/lib/16_in.h old mode 100644 new mode 100755 index daa864c8..eecfae59 --- a/src/lib/16_in.h +++ b/src/lib/16_in.h @@ -28,10 +28,11 @@ #define __16_IN__ #include -#include "src/lib/16_head.h" +#include "src/lib/16_head.h" +#include "src/lib/bitmap.h" #ifdef __DEBUG__ -#define __DEBUG_InputMgr__ +//#define __DEBUG_InputMgr__ #endif #ifdef __DEBUG_InputMgr__ @@ -213,14 +214,16 @@ typedef struct int ty; //player tile position on the viewable map int triggerx; //player's trigger box tile position on the viewable map int triggery; //player's trigger box tile position on the viewable map - int setx; //NOT USED YET! player sprite sheet set on the image x - int sety; //NOT USED YET! player sprite sheet set on the image y - word q; //loop variable -// word d; //direction - //bitmap_t data; //supposively the sprite sheet data - int hp; //hitpoints of the player + int sheetsetx; //NOT USED YET! player sprite sheet set on the image x + int sheetsety; //NOT USED YET! player sprite sheet set on the image y + word d; //direction!! wwww + word q; //loop variable + word speed; //player speed! + bitmap_t data; //supposively the sprite sheet data + sword hp; //hitpoints of the player + int persist_aniframe; /* gonna be increased to 1 before being used, so 0 is ok for default */ CursorInfo info; - ControlType Controls; + ControlType Controls; } player_t; /* @@ -251,7 +254,7 @@ typedef struct static word DemoOffset,DemoSize; #endif -extern dword /*far**/ clockdw; +extern dword far* clockdw; // Internal routines extern void interrupt INL_KeyService();