From 2a3d03bea3b7b474f6808d235f562e248cc61b7d Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Tue, 6 Mar 2012 00:20:42 +0100 Subject: [PATCH] Remove messages about cleaning up resources when quitting. --- code/init.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/code/init.cpp b/code/init.cpp index 6f4f88e..998d545 100644 --- a/code/init.cpp +++ b/code/init.cpp @@ -219,28 +219,21 @@ atexit(); */ void cleanUp() { - printf("Cleaning Up...\n"); - printf("Freeing Graphics\n"); freeGraphics(); - printf("Freeing Background\n"); SDL_FreeSurface(background); - printf("Freeing Sounds\n"); freeSound(); - printf("Resetting Lists\n"); resetLists(); delete(engine.bulletHead); delete(engine.explosionHead); delete(engine.collectableHead); delete(bufferHead); - printf("Freeing Font\n"); for (int i = 0 ; i < MAX_FONTSHAPES ; i++) { if (fontShape[i] != NULL) SDL_FreeSurface(fontShape[i]); } - printf("Removing Mod\n"); char filename[PATH_MAX]; strcpy(filename, ""); @@ -252,7 +245,6 @@ void cleanUp() if (engine.useAudio) { - printf("Closing Audio\n"); Mix_CloseAudio(); } @@ -271,6 +263,6 @@ void cleanUp() } SDL_Quit(); - printf("Done Cleaning Up...\nThank You for playing Starfighter\n"); + printf("Thank You for playing Starfighter\n"); }