Remove code that was commented out.

This commit is contained in:
Guus Sliepen 2011-08-24 22:26:33 +02:00
parent 93e6c1064c
commit 1f7db8a9d8
3 changed files with 0 additions and 37 deletions

View File

@ -97,28 +97,6 @@ int main(int argc, char *argv[])
newGame(); 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) while (true)
{ {
switch(section) switch(section)
@ -138,11 +116,5 @@ int main(int argc, char *argv[])
} }
} }
//doTitle();
//galaxyMap();
//mainGameLoop();
//doCutscene(2);
//doCredits();
return(0); return(0);
} }

View File

@ -76,7 +76,6 @@ void createMissionDetailSurface(SDL_Surface *comms, int missionSlot)
{ {
if ((systemPlanet[i].messageSlot == missionSlot) && (systemPlanet[i].missionCompleted == 0)) 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; mission = systemPlanet[i].messageMission;
} }
} }

View File

@ -96,8 +96,6 @@ void unpack(const char *file, signed char fileType)
if ((fileType != PAK_MOD) && (fileType != PAK_S3M)) if ((fileType != PAK_MOD) && (fileType != PAK_S3M))
engine.sdlrw = SDL_RWFromMem(packBuffer, packFSize); engine.sdlrw = SDL_RWFromMem(packBuffer, packFSize);
//printf("Extracted: %s\n", file);
fclose(pak); fclose(pak);
} }
@ -107,8 +105,6 @@ When it is found, return the location.
*/ */
int locateDataInPak(const char *file, signed char required) int locateDataInPak(const char *file, signed char required)
{ {
//printf("Looking for %s...", file);
char packFilename[60]; char packFilename[60];
int packFSize; int packFSize;
int location = 0; int location = 0;
@ -145,8 +141,6 @@ int locateDataInPak(const char *file, signed char required)
location = ftell(pak); location = ftell(pak);
fclose(pak); fclose(pak);
//printf("found it!\n");
return location; return location;
} }
else 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 return -1; // we only get this if it isn't required
} }