]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/game.cpp
Use DEBUG instead of USEPAK to enable debugging code.
[quix0rs-blobwars.git] / src / game.cpp
index 8257e20164fddcdab2ba29797573ab73a0b2c22d..5deea33b27500c6ee51aff725078bc56d15e884b 100644 (file)
@@ -571,7 +571,7 @@ int doGame()
 
        Uint32 then, frames, frameLimit, millis, frameCounter;
 
-       #if !USEPAK
+       #if DEBUG
        Uint32 now;
        char fps[10];
        strncpy(fps, "fps", sizeof fps);
@@ -587,12 +587,10 @@ int doGame()
        {
                player.health = -99;
 
-               //#if USEPAK
                if ((!map.isBossMission) && (replayData.replayMode == REPLAY_MODE::NONE))
                {
                        showMissionInformation();
                }
-               //#endif
 
                game.levelsStarted++;
        }
@@ -814,7 +812,7 @@ int doGame()
                        engine.setInfoMessage("Skipping Mission...", 2, INFO_OBJECTIVE);
                }
                
-               #if !USEPAK
+               #if DEBUG
                if (engine.keyState[SDLK_F1])
                {
                        autoCompleteAllObjectives(false);
@@ -841,7 +839,7 @@ int doGame()
                if (game.missionOverReason == MIS_GAMECOMPLETE)
                        frameLimit = SDL_GetTicks() + 64;
 
-               #if !USEPAK
+               #if DEBUG
                graphics.drawString(fps, 600, 30, true, graphics.screen);
 
                if (SDL_GetTicks() > frameCounter + 500)