X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=blobdiff_plain;f=src%2Flib%2F16_in_1.h;h=c6115bf0bda373877a7a1fcea862c681b45df600;hp=eb8048bcef255ad9b2fe285e58828e6702f56869;hb=86619c6a50b07c52481161da4b549ffb5e403e66;hpb=7e8071d0d71afdaff03a87e4ff7afb153088fbaf diff --git a/src/lib/16_in_1.h b/src/lib/16_in_1.h index eb8048bc..c6115bf0 100755 --- a/src/lib/16_in_1.h +++ b/src/lib/16_in_1.h @@ -34,10 +34,10 @@ #include "src/lib/16_head.h" #include "src/lib/16_timer.h" #include "src/lib/16_dbg.h" -#ifdef __WATCOMC__ //borland C BCEXMM.EXE +/*#ifdef __WATCOMC__ //borland C BCEXMM.EXE #include "src/lib/16_spri.h" #include "src/lib/16_enti.h" -#endif +#endif*/ #define KeyInt 9 // The keyboard ISR number @@ -213,12 +213,12 @@ typedef struct { #endif // Internal routines -extern void IN_Startup(void),IN_Shutdown(void), - IN_Default(boolean gotit,player_t *player,ControlType nt), +extern void IN_Startup(global_game_variables_t *gvar),IN_Shutdown(global_game_variables_t *gvar), + IN_Default(boolean gotit,player_t *player,ControlType nt, global_game_variables_t *gvar), IN_SetKeyHook(void (*)()), IN_ClearKeysDown(void), IN_ReadCursor(CursorInfo *), - IN_ReadControl(player_t *player), + IN_ReadControl(player_t *player, global_game_variables_t *gvar), IN_SetControlType(player_t *player,ControlType type), IN_GetJoyAbs(word joy,word *xp,word *yp), IN_SetupJoy(word joy,word minx,word maxx, @@ -250,8 +250,8 @@ void IN_StopDemo(void); void IN_FreeDemoBuffer(void); #endif -boolean IN_KeyDown(byte code), - IN_qb(byte kee); +boolean IN_KeyDown(byte code, global_game_variables_t *gvar), + IN_qb(byte kee, global_game_variables_t *gvar); void IN_ClearKey(byte code), IN_KbdLED(); ScanCode IN_GetLastScan(),