]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_in_1.h
__seguse.txt added to show _seg usage also OpenVGMFile needs to be ported to 16_snd...
[16.git] / src / lib / 16_in_1.h
index eb8048bcef255ad9b2fe285e58828e6702f56869..c6115bf0bda373877a7a1fcea862c681b45df600 100755 (executable)
 #include "src/lib/16_head.h"\r
 #include "src/lib/16_timer.h"\r
 #include "src/lib/16_dbg.h"\r
-#ifdef __WATCOMC__     //borland C BCEXMM.EXE\r
+/*#ifdef __WATCOMC__   //borland C BCEXMM.EXE\r
 #include "src/lib/16_spri.h"\r
 #include "src/lib/16_enti.h"\r
-#endif\r
+#endif*/\r
 \r
 #define        KeyInt  9       // The keyboard ISR number\r
 \r
@@ -213,12 +213,12 @@ typedef   struct          {
 #endif\r
 \r
 //     Internal routines\r
-extern void            IN_Startup(void),IN_Shutdown(void),\r
-                                       IN_Default(boolean gotit,player_t *player,ControlType nt),\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_ReadControl(player_t *player),\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
@@ -250,8 +250,8 @@ void IN_StopDemo(void);
 void IN_FreeDemoBuffer(void);\r
 #endif\r
 \r
-boolean        IN_KeyDown(byte code),\r
-               IN_qb(byte kee);\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
                IN_KbdLED();\r
 ScanCode       IN_GetLastScan(),\r