示例#1
0
文件: setup.c 项目: Hendricks266/SWP
void ShutDown( void )
{
    KB_Shutdown();
    TIME_RemoveTimer( timerhandle );
    SoundShutdown();
    MusicShutdown();
    CONFIG_WriteSetup();
}
示例#2
0
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);
   }
}
示例#3
0
void
UnInitSound(void)
{
    SoundShutdown();
    MusicShutdown();
}