X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fid_sd.h;h=12558e66bb45d3e76e6063c63aa6abb6ddf635d7;hb=4418da90a98a3a8fa1c306da33a35ca4338ea9c0;hp=bc3151b7092c83390cb736f76342d1127d7edcba;hpb=b932f865a55d4be5f9f814b9d884bbce6cbe55b4;p=16.git diff --git a/src/lib/id_sd.h b/src/lib/id_sd.h index bc3151b7..12558e66 100755 --- a/src/lib/id_sd.h +++ b/src/lib/id_sd.h @@ -25,6 +25,7 @@ // ID_SD.h - Sound Manager Header // Version for Wolfenstein // By Jason Blochowiak +// Open Watcom port by sparky4 // #ifndef __16_SD__ @@ -225,14 +226,14 @@ extern int DigiMap[]; extern dword TimeCount; // Global time in ticks // Function prototypes -extern void SD_Startup(void), - SD_Shutdown(void), - SD_Default(boolean gotit,SDMode sd,SMMode sm), +extern void SD_Startup(global_game_variables_t *gvar), + SD_Shutdown(global_game_variables_t *gvar), + SD_Default(boolean gotit,SDMode sd,SMMode sm, global_game_variables_t *gvar), SD_PositionSound(int leftvol,int rightvol); -extern boolean SD_PlaySound(soundnames sound); -extern void SD_SetPosition(int leftvol,int rightvol), - SD_StopSound(void), +extern boolean SD_PlaySound(soundnames sound, global_game_variables_t *gvar); +extern void SD_SetPosition(int leftvol,int rightvol, global_game_variables_t *gvar), + SD_StopSound(global_game_variables_t *gvar), SD_WaitSoundDone(void), SD_StartMusic(MusicGroup far *music), @@ -242,17 +243,17 @@ extern void SD_SetPosition(int leftvol,int rightvol), SD_SetUserHook(void (*hook)(void)); extern boolean SD_MusicPlaying(void), - SD_SetSoundMode(SDMode mode), + SD_SetSoundMode(SDMode mode, global_game_variables_t *gvar), SD_SetMusicMode(SMMode mode); extern word SD_SoundPlaying(void); -extern void SD_SetDigiDevice(SDSMode), - SD_PlayDigitized(word which,int leftpos,int rightpos), - SD_StopDigitized(void), - SD_Poll(void); +extern void SD_SetDigiDevice(SDSMode, global_game_variables_t *gvar), + SD_PlayDigitized(word which,int leftpos,int rightpos, global_game_variables_t *gvar), + SD_StopDigitized(global_game_variables_t *gvar), + SD_Poll(global_game_variables_t *gvar); #ifdef _MUSE_ // MUSE Goes directly to the lower level routines -extern void SDL_PCPlaySound(PCSound far *sound), +extern void SDL_PCPlaySound(PCSound far *sound, global_game_variables_t *gvar), SDL_PCStopSound(void), SDL_ALPlaySound(AdLibSound far *sound), SDL_ALStopSound(void);