示例#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
/* Frees all the memory loaded by the console */
void CON_Destroy(ConsoleInformation *console) {
    DT_DestroyDrawText();
    CON_Free(console);
}