Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
FlightPlanner.h
Go to the documentation of this file.
1 /* Project Starshatter 4.5
2  Destroyer Studios LLC
3  Copyright © 1997-2004. All Rights Reserved.
4 
5  SUBSYSTEM: Stars.exe
6  FILE: FlightPlanner.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  Flight Planning class for creating navpoint routes for fighter elements.
13  Used both by the CarrierAI class and the Flight Dialog.
14 */
15 
16 #ifndef FlightPlanner_h
17 #define FlightPlanner_h
18 
19 #include "Types.h"
20 #include "Director.h"
21 
22 // +--------------------------------------------------------------------+
23 
24 class Sim;
25 class Ship;
26 class ShipAI;
27 class Instruction;
28 class Hangar;
29 class Element;
30 
31 // +--------------------------------------------------------------------+
32 
34 {
35 public:
36  FlightPlanner(Ship* s);
37  virtual ~FlightPlanner();
38 
39  virtual void CreatePatrolRoute(Element* elem, int index);
40  virtual void CreateStrikeRoute(Element* strike, Element* target);
41  virtual void CreateEscortRoute(Element* escort, Element* ward);
42 
43  Sim* sim;
45  float patrol_range;
46 };
47 
48 // +--------------------------------------------------------------------+
49 
50 #endif FlightPlanner_h
51