Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
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
:
56
GameScreen
*
manager
;
57
58
ComboBox
*
filter_list
;
59
ListBox
*
hangar_list
;
60
61
Button
*
package_btn
;
62
Button
*
alert_btn
;
63
Button
*
launch_btn
;
64
Button
*
stand_btn
;
65
Button
*
recall_btn
;
66
Button
*
close_btn
;
67
68
int
mission_type
;
69
Button
*
mission_btn
[6];
70
71
ListBox
*
objective_list
;
72
ListBox
*
loadout_list
;
73
74
Ship
*
ship
;
75
FlightPlanner
*
flight_planner
;
76
77
int
patrol_pattern
;
78
};
79
80
#endif FltDlg_h
81
Stars45
FltDlg.h
Generated on Thu May 31 2012 16:31:06 for Starshatter_Open by
1.8.1