예제 #1
0
파일: i_system.c 프로젝트: bmarcot/DOOM
//
// I_Quit
//
void I_Quit (void)
{
    D_QuitNetGame ();
    I_ShutdownSound();
    I_ShutdownMusic();
    M_SaveDefaults ();
    I_ShutdownGraphics();
    exit(0);
}
예제 #2
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);
}
예제 #3
0
파일: i_system.c 프로젝트: aagallag/psDooM
//
// I_Quit
//
void I_Quit(void)
{
    D_QuitNetGame();
    I_ShutdownMusic();
    I_ShutdownSound();
    M_SaveDefaults();
    I_ShutdownGraphics();
    printf("\r");
    ShowEndTxt();
    exit(0);
}
예제 #4
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;
}
예제 #5
0
파일: i_system.c 프로젝트: malev/Vita_Doom
//
// I_Quit
//
void I_Quit (void)
{
    D_QuitNetGame ();
    I_ShutdownSound();
    I_ShutdownMusic();
    I_ShutdownGraphics();

#ifdef USE_DEBUGNET
    debugNetFinish();
#endif

    uvl_exit(0);
}
예제 #6
0
void I_ShutdownAudio(void)
{    
	if (!sysaudio.enabled)
		return;

	I_ShutdownSound();
	I_ShutdownMusic();

#ifdef ENABLE_SDLMIXER
	Mix_CloseAudio();
#else
	SDL_CloseAudio();
#endif
}
예제 #7
0
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();
}
예제 #8
0
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;
	}
}
예제 #9
0
파일: i_system.c 프로젝트: aagallag/psDooM
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);
}