X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_in.h;h=84100aeca43b7ff5f02bc0fcac332a4c0e8de83c;hb=fd22359b3cf8abccf814365b79906b15a98c8e4e;hp=01d7ec1ca41a9eca4e989dad3b1a9371723bc642;hpb=40f6a462ab3580c79bc91e86da49fa5ed37a853c;p=16.git diff --git a/src/lib/16_in.h b/src/lib/16_in.h index 01d7ec1c..84100aec 100755 --- a/src/lib/16_in.h +++ b/src/lib/16_in.h @@ -144,11 +144,12 @@ #define sc_ForeSlash 0x35 // / ? // Stuff for the mouse -#define MReset 0 +//moved to 16_tdef.h +/*#define MReset 0 #define MButtons 3 #define MDelta 11 -#define MouseInt 0x33 +#define MouseInt 0x33*/ #ifdef DEMO0 typedef enum { demo_Off,demo_Record,demo_Playback,demo_PlayDone @@ -224,7 +225,7 @@ extern void IN_Startup(global_game_variables_t *gvar),IN_Shutdown(global_game_v IN_ReadCursor(CursorInfo *, global_game_variables_t *gvar), IN_ReadControl(player_t *player, global_game_variables_t *gvar), IN_SetControlType(player_t *player,ControlType type), - IN_GetJoyAbs(word joy,word __far*xp,word __far*yp), + IN_GetJoyAbs(word joy,word *xp,word *yp), IN_SetupJoy(word joy,word minx,word maxx, word miny,word maxy, global_game_variables_t *gvar), #if DEMO0 @@ -241,7 +242,7 @@ extern byte *IN_GetScanName(ScanCode); byte IN_MouseButtons (global_game_variables_t *gvar); byte IN_JoyButtons (void); -void INL_GetJoyDelta(word joy,int __far*dx,int __far*dy/*,boolean adaptive*/, global_game_variables_t *gvar); +void INL_GetJoyDelta(word joy,int *dx,int *dy/*,boolean adaptive*/, global_game_variables_t *gvar); void IN_StartAck(global_game_variables_t *gvar); boolean IN_CheckAck (global_game_variables_t *gvar); boolean IN_IsUserInput(global_game_variables_t *gvar);