Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
perim committed Jul 28, 2012
1 parent ee95d78 commit 9d82dea
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
17 changes: 0 additions & 17 deletions src/mission.cpp
Expand Up @@ -1204,15 +1204,9 @@ bool startMissionOffClear(char *pGame)
return false;
}

//call after everything has been loaded up - done on stageThreeInit
//gridReset();

offWorldKeepLists = false;
intResetPreviousObj();

//this gets set when the timer is added in scriptFuncs
//mission.startTime = gameTime;

// The message should have been played at the between stage
missionCountDown &= ~NOT_PLAYED_ACTIVATED;

Expand All @@ -1231,15 +1225,9 @@ bool startMissionOffKeep(char *pGame)
return false;
}

//call after everything has been loaded up - done on stageThreeInit
//gridReset();

offWorldKeepLists = true;
intResetPreviousObj();

//this gets set when the timer is added in scriptFuncs
//mission.startTime = gameTime;

// The message should have been played at the between stage
missionCountDown &= ~NOT_PLAYED_ACTIVATED;

Expand Down Expand Up @@ -1300,9 +1288,6 @@ bool startMissionCampaignExpand(char *pGame)
return false;
}

//call after everything has been loaded up - done on stageThreeInit
//gridReset();

offWorldKeepLists = false;
return true;
}
Expand Down Expand Up @@ -1917,8 +1902,6 @@ void missionMoveTransporterOffWorld( DROID *psTransporter )
eventFireCallbackTrigger((TRIGGER_TYPE)CALL_TRANSPORTER_OFFMAP);
transporterSetScriptCurrent( NULL );

//gridRemoveObject( (BASE_OBJECT *) psTransporter ); - these happen in droidRemove()
//clustRemoveObject( (BASE_OBJECT *) psTransporter );
if (droidRemove(psTransporter, apsDroidLists))
{
addDroid(psTransporter, mission.apsDroidLists);
Expand Down
3 changes: 0 additions & 3 deletions src/missiondef.h
Expand Up @@ -67,7 +67,6 @@ struct MISSION
FEATURE *apsFeatureLists[MAX_PLAYERS];
BASE_OBJECT *apsSensorList[1];
FEATURE *apsOilList[1];
//struct _proximity_display *apsProxDisp[MAX_PLAYERS];
FLAG_POSITION *apsFlagPosLists[MAX_PLAYERS];
int32_t asCurrentPower[MAX_PLAYERS];

Expand All @@ -78,7 +77,6 @@ struct MISSION
// < 0 = none allowed
UDWORD cheatTime; //time the cheating started (mission time-wise!)

//LANDING_ZONE homeLZ;
UWORD homeLZ_X; //selectedPlayer's LZ x and y
UWORD homeLZ_Y;
SDWORD playerX; //original view position
Expand All @@ -89,7 +87,6 @@ struct MISSION
UWORD iTranspEntryTileY[MAX_PLAYERS];
UWORD iTranspExitTileX[MAX_PLAYERS];
UWORD iTranspExitTileY[MAX_PLAYERS];

};

#endif // __INCLUDED_MISSIONDEF_H__

0 comments on commit 9d82dea

Please sign in to comment.