/** * Close down facilities used by the program. Always called just before the * program terminates. */ void PrepareEnd() { Animation_Uninit(); Explosion_Uninit(); GameLoop_Uninit(); String_Uninit(); Sprites_Uninit(); Font_Uninit(); GFX_Uninit(); Video_Uninit(); A5_Uninit(); }
/** * Close down facilities used by the program. Always called just before the * program terminates. */ void PrepareEnd(void) { free(g_palette_998A); g_palette_998A = NULL; GameLoop_Uninit(); String_Uninit(); Sprites_Uninit(); Font_Uninit(); Voice_UnloadVoices(); Drivers_All_Uninit(); if (g_mouseFileID != 0xFF) Mouse_SetMouseMode(INPUT_MOUSE_MODE_NORMAL, NULL); File_Uninit(); Timer_Uninit(); GFX_Uninit(); Video_Uninit(); }