diff --git a/code/Starfighter.cpp b/code/Starfighter.cpp index dd2d480..18696a7 100644 --- a/code/Starfighter.cpp +++ b/code/Starfighter.cpp @@ -97,28 +97,6 @@ int main(int argc, char *argv[]) newGame(); - /* - currentGame.system = 3; - currentGame.area = 24; - currentGame.shieldUnits = 4; - currentGame.hasWingMate1 = 1; - currentGame.hasWingMate2 = 1; - - player.shield = (currentGame.shieldUnits * 25); - - player.weaponType[1] = W_LASER; - - player.ammo[0] = 1; - weapon[1].ammo[0] = 3; - weapon[1].damage = 5; - weapon[1].reload[0] = 7; - - engine.cheatAmmo = 1; - engine.cheatShield = 1; - engine.cheatCash = 1; - updateSystemStatus(); - */ - while (true) { switch(section) @@ -138,11 +116,5 @@ int main(int argc, char *argv[]) } } - //doTitle(); - //galaxyMap(); - //mainGameLoop(); - //doCutscene(2); - //doCredits(); - return(0); } diff --git a/code/comms.cpp b/code/comms.cpp index d4432c1..cddc862 100644 --- a/code/comms.cpp +++ b/code/comms.cpp @@ -76,7 +76,6 @@ void createMissionDetailSurface(SDL_Surface *comms, int missionSlot) { if ((systemPlanet[i].messageSlot == missionSlot) && (systemPlanet[i].missionCompleted == 0)) { - //printf("Slot %d - Mission %d - Completed %d\n", missionSlot, systemPlanet[i].messageMission, systemPlanet[i].missionCompleted); mission = systemPlanet[i].messageMission; } } diff --git a/code/unpack.cpp b/code/unpack.cpp index 775f3f2..8802b4f 100644 --- a/code/unpack.cpp +++ b/code/unpack.cpp @@ -96,8 +96,6 @@ void unpack(const char *file, signed char fileType) if ((fileType != PAK_MOD) && (fileType != PAK_S3M)) engine.sdlrw = SDL_RWFromMem(packBuffer, packFSize); - //printf("Extracted: %s\n", file); - fclose(pak); } @@ -107,8 +105,6 @@ When it is found, return the location. */ int locateDataInPak(const char *file, signed char required) { - //printf("Looking for %s...", file); - char packFilename[60]; int packFSize; int location = 0; @@ -145,8 +141,6 @@ int locateDataInPak(const char *file, signed char required) location = ftell(pak); fclose(pak); - //printf("found it!\n"); - return location; } else @@ -155,7 +149,5 @@ int locateDataInPak(const char *file, signed char required) } } - //printf("not found (skipping)\n"); - return -1; // we only get this if it isn't required }