From 89285b49619d78f7a641c85da5cfb6f94a58beff Mon Sep 17 00:00:00 2001 From: rftrdev <102184004+rftrdev@users.noreply.github.com> Date: Sat, 22 Oct 2022 21:54:14 -0700 Subject: [PATCH] Remove debug mission randomisation General cleanup --- Strategic/Rebel Command.cpp | 14 -------------- Strategic/Rebel Command.h | 3 +-- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/Strategic/Rebel Command.cpp b/Strategic/Rebel Command.cpp index cbcf5359..4fe88e81 100644 --- a/Strategic/Rebel Command.cpp +++ b/Strategic/Rebel Command.cpp @@ -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(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; diff --git a/Strategic/Rebel Command.h b/Strategic/Rebel Command.h index 073349e1..fbd4109d 100644 --- a/Strategic/Rebel Command.h +++ b/Strategic/Rebel Command.h @@ -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,