]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_in_.h
__seguse.txt added to show _seg usage also OpenVGMFile needs to be ported to 16_snd...
[16.git] / src / lib / 16_in_.h
index 969fdb7e07f0d2eefbefdca531a2b79051a0c1ce..f84b3a467007fba1877cb821e0426f547b8f116a 100755 (executable)
@@ -202,7 +202,7 @@ typedef     struct          {
                                                                        joyMaxX,joyMaxY,\r
                                                                        joyMultXL,joyMultYL,\r
                                                                        joyMultXH,joyMultYH;\r
-                                       } JoystickDef;\r
+                                       } JoystickDef;*/\r
 \r
 /*\r
 =============================================================================\r
@@ -218,48 +218,48 @@ typedef   struct          {
 #endif\r
 \r
 //     Internal routines\r
-extern void interrupt INL_KeyService();\r
-extern void Mouse(int x);\r
+//void interrupt INL_KeyService(global_game_variables_t *gvar);\r
+void Mouse(int x);\r
 //static void INL_GetMouseDelta(int *x,int *y);\r
 //static word INL_GetMouseButtons(void);\r
-extern void IN_GetJoyAbs(word joy,word *xp,word *yp);\r
+void IN_GetJoyAbs(word joy,word *xp,word *yp);\r
 //static void INL_GetJoyDelta(word joy,int *dx,int *dy,boolean adaptive);\r
 //static word INL_GetJoyButtons(word joy);\r
-extern word IN_GetJoyButtonsDB(word joy);\r
+word IN_GetJoyButtonsDB(word joy, global_game_variables_t *gvar);\r
 //static void INL_StartKbd(void);\r
 //static void INL_ShutKbd(void);\r
 //static boolean INL_StartMouse(void);\r
 //static void INL_ShutMouse(void);\r
 //static void INL_SetJoyScale(word joy);\r
-extern void IN_SetupJoy(word joy,word minx,word maxx,word miny,word maxy);\r
+void IN_SetupJoy(word joy,word minx,word maxx,word miny,word maxy, global_game_variables_t *gvar);\r
 //static boolean INL_StartJoy(word joy);\r
 //static void INL_ShutJoy(word joy);\r
-extern void IN_Startup();\r
-extern void IN_Default(boolean gotit,player_t *player,ControlType nt);\r
-extern void IN_Shutdown();\r
-extern void IN_SetKeyHook(void (*hook)());\r
-extern void IN_ClearKeysDown();\r
+void IN_Startup(global_game_variables_t *gvar);\r
+void IN_Default(boolean gotit,player_t *player,ControlType nt, global_game_variables_t *gvar);\r
+void IN_Shutdown(global_game_variables_t *gvar);\r
+void IN_SetKeyHook(void (*hook)());\r
+void IN_ClearKeysDown(global_game_variables_t *gvar);\r
 //static void INL_AdjustCursor(CursorInfo *info,word buttons,int dx,int dy);\r
-extern void IN_ReadCursor(CursorInfo *info);\r
-extern void near IN_ReadControl(word pn, player_t *player);\r
-extern void IN_SetControlType(word pn,player_t *player,ControlType type);\r
+void IN_ReadCursor(CursorInfo *info, global_game_variables_t *gvar);\r
+void near IN_ReadControl(word pn, player_t *player, global_game_variables_t *gvar);\r
+void IN_SetControlType(word pn,player_t *player,ControlType type);\r
 #if DEMO0\r
-extern boolean IN_StartDemoRecord(word bufsize);\r
-extern void IN_StartDemoPlayback(byte /*__segment*/ *buffer,word bufsize);\r
-extern void IN_StopDemo(void);\r
-extern void IN_FreeDemoBuffer(void);\r
+boolean IN_StartDemoRecord(word bufsize);\r
+void IN_StartDemoPlayback(byte /*__segment*/ *buffer,word bufsize);\r
+void IN_StopDemo(void);\r
+void IN_FreeDemoBuffer(void);\r
 #endif\r
-extern byte *IN_GetScanName(ScanCode scan);\r
-extern ScanCode IN_WaitForKey();\r
-extern char IN_WaitForASCII();\r
-extern void IN_AckBack();\r
-extern void IN_Ack();\r
-extern boolean IN_IsUserInput();\r
-extern boolean IN_UserInput(dword delay,boolean clear);\r
-extern boolean IN_KeyDown(byte code);\r
-extern void IN_ClearKey(byte code);\r
-extern boolean IN_qb(byte kee);\r
-extern ScanCode IN_GetLastScan();\r
-extern ScanCode IN_GetCurCode();\r
+byte *IN_GetScanName(ScanCode scan);\r
+ScanCode IN_WaitForKey(global_game_variables_t *gvar);\r
+char IN_WaitForASCII(global_game_variables_t *gvar);\r
+void IN_AckBack(global_game_variables_t *gvar);\r
+void IN_Ack(global_game_variables_t *gvar);\r
+boolean IN_IsUserInput(global_game_variables_t *gvar);\r
+boolean IN_UserInput(dword delay,boolean clear, global_game_variables_t *gvar);\r
+boolean IN_KeyDown(byte code, global_game_variables_t *gvar);\r
+void IN_ClearKey(byte code, global_game_variables_t *gvar);\r
+boolean IN_qb(byte kee, global_game_variables_t *gvar);\r
+ScanCode IN_GetLastScan(global_game_variables_t *gvar);\r
+ScanCode IN_GetCurCode(global_game_variables_t *gvar);\r
 \r
 #endif\r