]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/id_sd.h
id_sd.c ported and is able to compile. it needs it;s variables to be project 16 compl...
[16.git] / src / lib / id_sd.h
index ef22dc8773da641f884f429dd7085fba874f7bcc..12558e66bb45d3e76e6063c63aa6abb6ddf635d7 100755 (executable)
@@ -25,6 +25,7 @@
 //     ID_SD.h - Sound Manager Header\r
 //     Version for Wolfenstein\r
 //     By Jason Blochowiak\r
+//     Open Watcom port by sparky4\r
 //\r
 \r
 #ifndef        __16_SD__\r
@@ -225,14 +226,14 @@ extern    int                     DigiMap[];
 extern dword   TimeCount;                                      // Global time in ticks\r
 \r
 // Function prototypes\r
-extern void    SD_Startup(void),\r
-                               SD_Shutdown(void),\r
-                               SD_Default(boolean gotit,SDMode sd,SMMode sm),\r
+extern void    SD_Startup(global_game_variables_t *gvar),\r
+                               SD_Shutdown(global_game_variables_t *gvar),\r
+                               SD_Default(boolean gotit,SDMode sd,SMMode sm, global_game_variables_t *gvar),\r
 \r
                                SD_PositionSound(int leftvol,int rightvol);\r
-extern boolean SD_PlaySound(soundnames sound);\r
-extern void    SD_SetPosition(int leftvol,int rightvol),\r
-                               SD_StopSound(void),\r
+extern boolean SD_PlaySound(soundnames sound, global_game_variables_t *gvar);\r
+extern void    SD_SetPosition(int leftvol,int rightvol, global_game_variables_t *gvar),\r
+                               SD_StopSound(global_game_variables_t *gvar),\r
                                SD_WaitSoundDone(void),\r
 \r
                                SD_StartMusic(MusicGroup far *music),\r
@@ -242,17 +243,17 @@ extern    void    SD_SetPosition(int leftvol,int rightvol),
 \r
                                SD_SetUserHook(void (*hook)(void));\r
 extern boolean SD_MusicPlaying(void),\r
-                               SD_SetSoundMode(SDMode mode),\r
+                               SD_SetSoundMode(SDMode mode, global_game_variables_t *gvar),\r
                                SD_SetMusicMode(SMMode mode);\r
 extern word    SD_SoundPlaying(void);\r
 \r
-extern void    SD_SetDigiDevice(SDSMode),\r
-                               SD_PlayDigitized(word which,int leftpos,int rightpos),\r
+extern void    SD_SetDigiDevice(SDSMode, global_game_variables_t *gvar),\r
+                               SD_PlayDigitized(word which,int leftpos,int rightpos, global_game_variables_t *gvar),\r
                                SD_StopDigitized(global_game_variables_t *gvar),\r
-                               SD_Poll(void);\r
+                               SD_Poll(global_game_variables_t *gvar);\r
 \r
 #ifdef _MUSE_  // MUSE Goes directly to the lower level routines\r
-extern void    SDL_PCPlaySound(PCSound far *sound),\r
+extern void    SDL_PCPlaySound(PCSound far *sound, global_game_variables_t *gvar),\r
                                SDL_PCStopSound(void),\r
                                SDL_ALPlaySound(AdLibSound far *sound),\r
                                SDL_ALStopSound(void);\r