From 48e8e12b0765df28b1b48c1d2adb0b0c96798a8e Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Fri, 26 Aug 2011 14:41:34 +0200 Subject: [PATCH] Remove 1 second delays. --- code/intermission.cpp | 2 -- code/missions.cpp | 6 ------ code/script.cpp | 1 - code/title.cpp | 2 -- 4 files changed, 11 deletions(-) diff --git a/code/intermission.cpp b/code/intermission.cpp index 3a0720e..8f7609c 100644 --- a/code/intermission.cpp +++ b/code/intermission.cpp @@ -483,8 +483,6 @@ int galaxyMap() initSaveSlots(); - SDL_Delay(1000); - loadMusic("music/3DParadise.mod"); loadBackground((char *)systemBackground[currentGame.system]); diff --git a/code/missions.cpp b/code/missions.cpp index 64c283d..bace794 100644 --- a/code/missions.cpp +++ b/code/missions.cpp @@ -720,8 +720,6 @@ void missionBriefScreen() graphics.clearScreen(graphics.black); graphics.updateScreen(); - SDL_Delay(1000); - if (currentGame.area != MAX_MISSIONS - 1) { graphics.clearScreen(graphics.black); @@ -800,8 +798,6 @@ void missionBriefScreen() graphics.clearScreen(graphics.black); graphics.updateScreen(); graphics.clearScreen(graphics.black); - - SDL_Delay(1000); } engine.gameSection = SECTION_GAME; @@ -820,8 +816,6 @@ void missionFinishedScreen() graphics.clearScreen(graphics.black); graphics.updateScreen(); - SDL_Delay(1000); - if (currentGame.shots > 0) currentGame.accuracy = (currentGame.hits * 100) / currentGame.shots; diff --git a/code/script.cpp b/code/script.cpp index 4b114be..b88cee9 100644 --- a/code/script.cpp +++ b/code/script.cpp @@ -200,7 +200,6 @@ void doCutscene(int scene) graphics.clearScreen(graphics.black); graphics.updateScreen(); graphics.clearScreen(graphics.black); - SDL_Delay(1000); engine.keyState[SDLK_LCTRL] = engine.keyState[SDLK_RCTRL] = engine.keyState[SDLK_SPACE] = 0; diff --git a/code/title.cpp b/code/title.cpp index 99df9d9..14a00ca 100644 --- a/code/title.cpp +++ b/code/title.cpp @@ -161,7 +161,6 @@ int doTitle() graphics.clearScreen(graphics.black); graphics.updateScreen(); graphics.clearScreen(graphics.black); - SDL_Delay(1000); signed char continueSaveSlot = initSaveSlots(); @@ -640,7 +639,6 @@ void doCredits() graphics.clearScreen(graphics.black); graphics.updateScreen(); graphics.clearScreen(graphics.black); - SDL_Delay(1000); graphics.drawBackGround();