Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
FltDlg.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: FltDlg.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  Flight Operations Active Window class
13 */
14 
15 #ifndef FltDlg_h
16 #define FltDlg_h
17 
18 #include "Types.h"
19 #include "FormWindow.h"
20 
21 // +--------------------------------------------------------------------+
22 
23 class FlightPlanner;
24 class GameScreen;
25 class Ship;
26 
27 // +--------------------------------------------------------------------+
28 
29 class FltDlg : public FormWindow
30 {
31 public:
32  FltDlg(Screen* s, FormDef& def, GameScreen* mgr);
33  virtual ~FltDlg();
34 
35  virtual void RegisterControls();
36 
37  // Operations:
38  virtual void Show();
39  virtual void Hide();
40 
41  virtual void OnFilter(AWEvent* event);
42  virtual void OnPackage(AWEvent* event);
43  virtual void OnAlert(AWEvent* event);
44  virtual void OnLaunch(AWEvent* event);
45  virtual void OnStandDown(AWEvent* event);
46  virtual void OnRecall(AWEvent* event);
47  virtual void OnClose(AWEvent* event);
48  virtual void OnMissionType(AWEvent* event);
49 
50  virtual void ExecFrame();
51  void SetShip(Ship* s);
52  void UpdateSelection();
53  void UpdateObjective();
54 
55 protected:
57 
60 
67 
70 
73 
76 
78 };
79 
80 #endif FltDlg_h
81