예제 #1
0
파일: console.cpp 프로젝트: paud/d2x-xl
/* ======
 * con_free - Free the console.
 * ======
 */
void _CDECL_ con_free(void)
{
    if (con_initialized) {
        PrintLog ("shutting down the console\n");
        CON_Free(Console);
        con_initialized = 0;
    }
}
예제 #2
0
파일: SDL_console.c 프로젝트: Jedzia/Humbug
/* Frees all the memory loaded by the console */
void CON_Destroy(ConsoleInformation *console) {
    DT_DestroyDrawText();
    CON_Free(console);
}