summaryrefslogtreecommitdiffhomepage
path: root/Stars45/CampaignPlan.h
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/CampaignPlan.h')
-rw-r--r--Stars45/CampaignPlan.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/Stars45/CampaignPlan.h b/Stars45/CampaignPlan.h
index f823a7f..24c1a88 100644
--- a/Stars45/CampaignPlan.h
+++ b/Stars45/CampaignPlan.h
@@ -1,21 +1,21 @@
/* Project Starshatter 4.5
- Destroyer Studios LLC
- Copyright © 1997-2004. All Rights Reserved.
-
- SUBSYSTEM: Stars.exe
- FILE: CampaignPlan.h
- AUTHOR: John DiCamillo
-
-
- OVERVIEW
- ========
- CampaignPlan defines the interface for all campaign
- planning algorithms. Known subclasses:
- CampaignPlanStrategic - strategic planning
- CampaignPlanAssignment - logistics planning
- CampaignPlanMission - mission planning
- CampaignPlanMovement - starship movement
- CampaignPlanEvent - scripted events
+ Destroyer Studios LLC
+ Copyright © 1997-2004. All Rights Reserved.
+
+ SUBSYSTEM: Stars.exe
+ FILE: CampaignPlan.h
+ AUTHOR: John DiCamillo
+
+
+ OVERVIEW
+ ========
+ CampaignPlan defines the interface for all campaign
+ planning algorithms. Known subclasses:
+ CampaignPlanStrategic - strategic planning
+ CampaignPlanAssignment - logistics planning
+ CampaignPlanMission - mission planning
+ CampaignPlanMovement - starship movement
+ CampaignPlanEvent - scripted events
*/
#ifndef CampaignPlan_h
@@ -38,20 +38,20 @@ class CombatUnit;
class CampaignPlan
{
public:
- static const char* TYPENAME() { return "CampaignPlan"; }
+ static const char* TYPENAME() { return "CampaignPlan"; }
- CampaignPlan(Campaign* c) : campaign(c), exec_time(-1e6) { }
- virtual ~CampaignPlan() { }
-
- int operator == (const CampaignPlan& p) const { return this == &p; }
-
- // operations:
- virtual void ExecFrame() { }
- virtual void SetLockout(int seconds) { }
+ CampaignPlan(Campaign* c) : campaign(c), exec_time(-1e6) { }
+ virtual ~CampaignPlan() { }
+
+ int operator == (const CampaignPlan& p) const { return this == &p; }
+
+ // operations:
+ virtual void ExecFrame() { }
+ virtual void SetLockout(int seconds) { }
protected:
- Campaign* campaign;
- double exec_time;
+ Campaign* campaign;
+ double exec_time;
};
#endif CampaignPlan_h