void ShutDown( void ) { KB_Shutdown(); TIME_RemoveTimer( timerhandle ); SoundShutdown(); MusicShutdown(); CONFIG_WriteSetup(); }
void SoundShutdown( void ) { int32 status; // if they chose None lets return if (FXDevice < 0) return; if (MusicVoice >= 0) { MusicShutdown(); } status = FX_Shutdown(); if ( status != FX_Ok ) { sprintf(tempbuf, "Sound shutdown error: %s", FX_ErrorString( FX_Error )); gameexit(tempbuf); } }
void UnInitSound(void) { SoundShutdown(); MusicShutdown(); }