#include "src/lib/16_spri.h"\r
#include "src/lib/16_enti.h"\r
#endif*/\r
-\r
+#define __DEBUG_InputMgr2__\r
#define KeyInt 9 // The keyboard ISR number\r
\r
// Stuff for the joystick\r
extern void IN_Startup(global_game_variables_t *gvar),IN_Shutdown(global_game_variables_t *gvar),\r
IN_Default(boolean gotit,player_t *player,ControlType nt, global_game_variables_t *gvar),\r
IN_SetKeyHook(void (*)()),\r
- IN_ClearKeysDown(void),\r
- IN_ReadCursor(CursorInfo *),\r
+ IN_ClearKeysDown(global_game_variables_t *gvar),\r
+ IN_ReadCursor(CursorInfo *, global_game_variables_t *gvar),\r
IN_ReadControl(player_t *player, global_game_variables_t *gvar),\r
IN_SetControlType(player_t *player,ControlType type),\r
IN_GetJoyAbs(word joy,word *xp,word *yp),\r
IN_SetupJoy(word joy,word minx,word maxx,\r
- word miny,word maxy),\r
+ word miny,word maxy, global_game_variables_t *gvar),\r
#if DEMO0\r
IN_StopDemo(void),IN_FreeDemoBuffer(void),\r
#endif\r
- IN_Ack(void),IN_AckBack(void);\r
-extern boolean IN_UserInput(word delay);\r
-extern char IN_WaitForASCII(void);\r
-extern ScanCode IN_WaitForKey(void);\r
+ IN_Ack(global_game_variables_t *gvar),IN_AckBack(void);\r
+extern boolean IN_UserInput(word delay, global_game_variables_t *gvar);\r
+extern char IN_WaitForASCII(global_game_variables_t *gvar);\r
+extern ScanCode IN_WaitForKey(global_game_variables_t *gvar);\r
extern word IN_GetJoyButtonsDB(word joy);\r
extern byte *IN_GetScanName(ScanCode);\r
\r
\r
-byte IN_MouseButtons (void);\r
+byte IN_MouseButtons (global_game_variables_t *gvar);\r
byte IN_JoyButtons (void);\r
\r
-void INL_GetJoyDelta(word joy,int *dx,int *dy/*,boolean adaptive*/);\r
-void IN_StartAck(void);\r
-boolean IN_CheckAck (void);\r
-boolean IN_IsUserInput();\r
+void INL_GetJoyDelta(word joy,int *dx,int *dy/*,boolean adaptive*/, global_game_variables_t *gvar);\r
+void IN_StartAck(global_game_variables_t *gvar);\r
+boolean IN_CheckAck (global_game_variables_t *gvar);\r
+boolean IN_IsUserInput(global_game_variables_t *gvar);\r
#define Mouse(x) INL_Mouse(x)\r
//void IN_SetKeyHook(void (*hook)());\r
#if DEMO0\r
\r
boolean IN_KeyDown(byte code, global_game_variables_t *gvar),\r
IN_qb(byte kee, global_game_variables_t *gvar);\r
-void IN_ClearKey(byte code),\r
+void IN_ClearKey(byte code, global_game_variables_t *gvar),\r
IN_KbdLED();\r
ScanCode IN_GetLastScan(),\r
IN_GetCurCode();\r