From 3c487c5cd69c53d6fea948643c0a76df03516605 Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 1 Apr 2022 21:23:39 +0200 Subject: Moved Stars45 to StarsEx --- Stars45/CampaignPlanEvent.h | 71 --------------------------------------------- 1 file changed, 71 deletions(-) delete mode 100644 Stars45/CampaignPlanEvent.h (limited to 'Stars45/CampaignPlanEvent.h') diff --git a/Stars45/CampaignPlanEvent.h b/Stars45/CampaignPlanEvent.h deleted file mode 100644 index 77fbae2..0000000 --- a/Stars45/CampaignPlanEvent.h +++ /dev/null @@ -1,71 +0,0 @@ -/* Starshatter: The Open Source Project - Copyright (c) 2021-2022, Starshatter: The Open Source Project Contributors - Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors - Copyright (c) 1997-2006, Destroyer Studios LLC. - - AUTHOR: John DiCamillo - - - OVERVIEW - ======== - CampaignPlanEvent generates simulated combat - events based on a statistical analysis of the - combatants within the context of a dynamic - campaign. -*/ - -#ifndef CampaignPlanEvent_h -#define CampaignPlanEvent_h - -#include "Types.h" -#include "CampaignPlan.h" - -// +--------------------------------------------------------------------+ - -class CombatAction; -class CombatAssignment; -class CombatEvent; -class CombatGroup; -class CombatUnit; -class CombatZone; - -// +--------------------------------------------------------------------+ - -class CampaignPlanEvent : public CampaignPlan -{ -public: - static const char* TYPENAME() { return "CampaignPlanEvent"; } - - CampaignPlanEvent(Campaign* c); - virtual ~CampaignPlanEvent(); - - // operations: - virtual void ExecFrame(); - virtual void SetLockout(int seconds); - - virtual bool ExecScriptedEvents(); - virtual bool ExecStatisticalEvents(); - -protected: - virtual void ProsecuteKills(CombatAction* action); - - virtual CombatAssignment* - ChooseAssignment(CombatGroup* c); - virtual bool CreateEvent(CombatAssignment* a); - - virtual CombatEvent* CreateEventDefend(CombatAssignment* a); - virtual CombatEvent* CreateEventFighterAssault(CombatAssignment* a); - virtual CombatEvent* CreateEventFighterStrike(CombatAssignment* a); - virtual CombatEvent* CreateEventFighterSweep(CombatAssignment* a); - virtual CombatEvent* CreateEventStarship(CombatAssignment* a); - - virtual bool IsFriendlyAssignment(CombatAssignment* a); - virtual bool Success(CombatAssignment* a); - virtual Text GetTeamName(CombatGroup* g); - - // attributes: - int event_time; -}; - -#endif // CampaignPlanEvent_h - -- cgit v1.1