// // I_Quit // void I_Quit (void) { D_QuitNetGame (); I_ShutdownSound(); I_ShutdownMusic(); M_SaveDefaults (); I_ShutdownGraphics(); exit(0); }
// // I_Quit // void I_Quit (void) { // __libclog_printf("Calling I_Quit from %x\n",__builtin_return_address(0)); D_QuitNetGame (); I_ShutdownSound(); // I_ShutdownMusic(); M_SaveDefaults (); // I_ShutdownGraphics(); exit(0); }
// // I_Quit // void I_Quit(void) { D_QuitNetGame(); I_ShutdownMusic(); I_ShutdownSound(); M_SaveDefaults(); I_ShutdownGraphics(); printf("\r"); ShowEndTxt(); exit(0); }
// // I_Quit // void I_Quit (void) { D_QuitNetGame (); I_ShutdownSound(); I_ShutdownMusic(); M_SaveDefaults (); I_ShutdownGraphics(); // exit(0); // Exceptions disabled by default on PS3 // throw; }
// // I_Quit // void I_Quit (void) { D_QuitNetGame (); I_ShutdownSound(); I_ShutdownMusic(); I_ShutdownGraphics(); #ifdef USE_DEBUGNET debugNetFinish(); #endif uvl_exit(0); }
void I_ShutdownAudio(void) { if (!sysaudio.enabled) return; I_ShutdownSound(); I_ShutdownMusic(); #ifdef ENABLE_SDLMIXER Mix_CloseAudio(); #else SDL_CloseAudio(); #endif }
void D_DoomDeinit(void) { lprintf(LO_INFO,"D_DoomDeinit:\n"); //Deinit M_QuitDOOM(0); Z_Close(); #ifdef HAVE_NET D_QuitNetGame(); I_ShutdownNetwork(); #endif M_SaveDefaults (); W_Exit(); I_ShutdownSound(); I_ShutdownMusic(); p_checksum_cleanup(); }
void DoomLib::Shutdown() { //D_QuitNetGame (); I_ShutdownSound(); I_ShutdownGraphics(); W_Shutdown(); // De-allocate the zone memory (never happened in original doom, until quit) if ( ::g->mainzone ) { free( ::g->mainzone ); } // Delete the globals if ( globaldata[currentplayer] ) { delete globaldata[currentplayer]; globaldata[currentplayer] = NULL; } }
void I_Error(char *error, ...) { va_list argptr; // Message first. va_start(argptr, error); fprintf(stdout, "Error: "); vfprintf(stdout, error, argptr); fprintf(stdout, "\n"); va_end(argptr); fflush(stdout); // Shutdown. Here might be other errors. if (demorecording) G_CheckDemoStatus(); D_QuitNetGame(); I_ShutdownMusic(); I_ShutdownSound(); I_ShutdownGraphics(); exit(-1); }