예제 #1
0
/*
 * @brief
 */
void Netchan_Shutdown(void) {

	Net_Config(NS_UDP_CLIENT, false);
	Net_Config(NS_UDP_SERVER, false);

	Net_Shutdown();
}
예제 #2
0
CWatchBSP::~CWatchBSP(){

	Reset();

	if ( m_pCmd ) {
		g_ptr_array_free( m_pCmd, true );
		m_pCmd = NULL;
	}

	if ( m_sBSPName ) {
		g_free( m_sBSPName );
		m_sBSPName = NULL;
	}

	Net_Shutdown();
}
예제 #3
0
/**
 * Return to default system state.
 */
void Sys_Shutdown(void)
{
    // We are now shutting down.
    appShutdown = true;

    // Time to unload *everything*.
    if(App_GameLoaded())
        Con_Execute(CMDS_DDAY, "unload", true, false);

    Net_Shutdown();
    // Let's shut down sound first, so Windows' HD-hogging doesn't jam
    // the MUS player (would produce horrible bursts of notes).
    S_Shutdown();
#ifdef __CLIENT__
    GL_Shutdown();
    DD_ClearEvents();
#endif

    DD_DestroyGames();
}