From e33e19d0587146859d48a134ec9fd94e7b7ba5cd Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 8 Dec 2011 14:53:40 +0000 Subject: Initial upload --- Stars45/CampaignPlanMission.h | 58 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 Stars45/CampaignPlanMission.h (limited to 'Stars45/CampaignPlanMission.h') diff --git a/Stars45/CampaignPlanMission.h b/Stars45/CampaignPlanMission.h new file mode 100644 index 0000000..4496ce6 --- /dev/null +++ b/Stars45/CampaignPlanMission.h @@ -0,0 +1,58 @@ +/* Project Starshatter 4.5 + Destroyer Studios LLC + Copyright © 1997-2004. All Rights Reserved. + + SUBSYSTEM: Stars.exe + FILE: CampaignPlanMission.h + AUTHOR: John DiCamillo + + + OVERVIEW + ======== + CampaignPlanMission generates missions and mission + info for the player's combat group as part of a + dynamic campaign. +*/ + +#ifndef CampaignPlanMission_h +#define CampaignPlanMission_h + +#include "Types.h" +#include "CampaignPlan.h" + +// +--------------------------------------------------------------------+ + +class CampaignMissionRequest; +class CombatGroup; +class CombatUnit; +class CombatZone; + +// +--------------------------------------------------------------------+ + +class CampaignPlanMission : public CampaignPlan +{ +public: + static const char* TYPENAME() { return "CampaignPlanMission"; } + + CampaignPlanMission(Campaign* c) : CampaignPlan(c), start(0), slot(0) { } + virtual ~CampaignPlanMission() { } + + // operations: + virtual void ExecFrame(); + +protected: + virtual void SelectStartTime(); + virtual CampaignMissionRequest* PlanCampaignMission(); + virtual CampaignMissionRequest* PlanStrategicMission(); + virtual CampaignMissionRequest* PlanRandomStarshipMission(); + virtual CampaignMissionRequest* PlanRandomFighterMission(); + virtual CampaignMissionRequest* PlanStarshipMission(); + virtual CampaignMissionRequest* PlanFighterMission(); + + CombatGroup* player_group; + int start; + int slot; +}; + +#endif CampaignPlanMission_h + -- cgit v1.1