Remove code that was commented out.
This commit is contained in:
parent
93e6c1064c
commit
1f7db8a9d8
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue