Remove debug mission randomisation

General cleanup
This commit is contained in:
rftrdev
2022-10-22 22:14:22 -07:00
parent 5000f965e1
commit 89285b4961
2 changed files with 1 additions and 16 deletions
-14
View File
@@ -1161,16 +1161,6 @@ void UpdateAdminActionChangeList(INT16 regionId)
BOOLEAN EnterWebsite()
{
// debugging. todo: randomise missions in DailyUpdate and save them in rebelcommandsaveinfo
for (int i = 0; i < NUM_ARC_AGENT_SLOTS; ++i)
{
//missionIndex[i] = Random(RCAM_NUM_MISSIONS-1) + 1;
rebelCommandSaveInfo.availableMissions[i] = Random(RCAM_NUM_MISSIONS);
agentIndex[i] = -1;
}
//missionIndex[0] = RCAM_TRAIN_MILITIA_ANYWHERE;
//missionIndex[1] = RCAM_IMPROVE_LOCAL_SHOPS;
UpdateAdminActionChangeList(iCurrentRegionId);
// make sure we have a valid directive
@@ -3608,10 +3598,6 @@ void DailyUpdate()
iIncomingSuppliesPerDay = CalcIncomingSuppliesPerDay(static_cast<RebelCommandDirectives>(directive));
rebelCommandSaveInfo.iSupplies += iIncomingSuppliesPerDay;
// rftr todo: check bitmask
//if (purchasing supplies through agent mission)
// what gets subtracted? current balance? daily income? how do we pick?
// get regional bonuses
INT16 intelGain = 0;
INT16 supplyGain = 0;
+1 -2
View File
@@ -100,8 +100,7 @@ enum RebelCommandAgentMissions
RCAM_NUM_MISSIONS,
// ideas/unimplemented - rename some?
// need to have permanent and temporary boons
// ideas/unimplemented
RCAM_SEND_SUPPLIES_TO_TOWN,
RCAM_BOOST_TOWN_ADMIN_ACTIONS,
RCAM_PROCURE_ITEMS,