blob: 13deb42f2d30141d933ba40e8a2a4ba065af9d44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
/* Project Starshatter 4.5
Destroyer Studios LLC
Copyright © 1997-2004. All Rights Reserved.
SUBSYSTEM: Stars.exe
FILE: FltDlg.h
AUTHOR: John DiCamillo
OVERVIEW
========
Flight Operations Active Window class
*/
#ifndef FltDlg_h
#define FltDlg_h
#include "Types.h"
#include "FormWindow.h"
// +--------------------------------------------------------------------+
class FlightPlanner;
class GameScreen;
class Ship;
// +--------------------------------------------------------------------+
class FltDlg : public FormWindow
{
public:
FltDlg(Screen* s, FormDef& def, GameScreen* mgr);
virtual ~FltDlg();
virtual void RegisterControls();
// Operations:
virtual void Show();
virtual void Hide();
virtual void OnFilter(AWEvent* event);
virtual void OnPackage(AWEvent* event);
virtual void OnAlert(AWEvent* event);
virtual void OnLaunch(AWEvent* event);
virtual void OnStandDown(AWEvent* event);
virtual void OnRecall(AWEvent* event);
virtual void OnClose(AWEvent* event);
virtual void OnMissionType(AWEvent* event);
virtual void ExecFrame();
void SetShip(Ship* s);
void UpdateSelection();
void UpdateObjective();
protected:
GameScreen* manager;
ComboBox* filter_list;
ListBox* hangar_list;
Button* package_btn;
Button* alert_btn;
Button* launch_btn;
Button* stand_btn;
Button* recall_btn;
Button* close_btn;
int mission_type;
Button* mission_btn[6];
ListBox* objective_list;
ListBox* loadout_list;
Ship* ship;
FlightPlanner* flight_planner;
int patrol_pattern;
};
#endif FltDlg_h
|