Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
MsnElemDlg.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: MsnElemDlg.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Mission Editor Element Dialog Active Window class
13
*/
14
15
#ifndef MsnElemDlg_h
16
#define MsnElemDlg_h
17
18
#include "
Types.h
"
19
#include "
FormWindow.h
"
20
#include "
Bitmap.h
"
21
#include "
Button.h
"
22
#include "
ComboBox.h
"
23
#include "
ListBox.h
"
24
#include "
Font.h
"
25
#include "
Text.h
"
26
27
// +--------------------------------------------------------------------+
28
29
class
MenuScreen
;
30
class
MsnEditDlg
;
31
class
Mission
;
32
class
MissionElement
;
33
34
// +--------------------------------------------------------------------+
35
36
class
MsnElemDlg
:
public
FormWindow
37
{
38
public
:
39
MsnElemDlg
(
Screen
* s,
FormDef
& def,
MenuScreen
* mgr);
40
virtual
~MsnElemDlg
();
41
42
virtual
void
RegisterControls
();
43
virtual
void
Show
();
44
virtual
void
ExecFrame
();
45
46
// Operations:
47
virtual
void
SetMission
(
Mission
*
elem
);
48
virtual
void
SetMissionElement
(
MissionElement
* elem);
49
virtual
void
OnAccept
(
AWEvent
*
event
);
50
virtual
void
OnCancel
(
AWEvent
* event);
51
virtual
void
OnClassSelect
(
AWEvent
* event);
52
virtual
void
OnDesignSelect
(
AWEvent
* event);
53
virtual
void
OnObjectiveSelect
(
AWEvent
* event);
54
virtual
void
OnIFFChange
(
AWEvent
* event);
55
56
virtual
void
UpdateTeamInfo
();
57
virtual
bool
CanCommand
(
const
MissionElement
* commander,
58
const
MissionElement
* subordinate)
const
;
59
60
protected
:
61
MenuScreen
*
manager
;
62
63
EditBox
*
edt_name
;
64
ComboBox
*
cmb_class
;
65
ComboBox
*
cmb_design
;
66
ComboBox
*
cmb_skin
;
67
EditBox
*
edt_size
;
68
EditBox
*
edt_iff
;
69
ComboBox
*
cmb_role
;
70
ComboBox
*
cmb_region
;
71
EditBox
*
edt_loc_x
;
72
EditBox
*
edt_loc_y
;
73
EditBox
*
edt_loc_z
;
74
ComboBox
*
cmb_heading
;
75
EditBox
*
edt_hold_time
;
76
77
Button
*
btn_player
;
78
Button
*
btn_playable
;
79
Button
*
btn_alert
;
80
Button
*
btn_command_ai
;
81
EditBox
*
edt_respawns
;
82
ComboBox
*
cmb_carrier
;
83
ComboBox
*
cmb_squadron
;
84
ComboBox
*
cmb_commander
;
85
ComboBox
*
cmb_intel
;
86
ComboBox
*
cmb_loadout
;
87
ComboBox
*
cmb_objective
;
88
ComboBox
*
cmb_target
;
89
90
Button
*
btn_accept
;
91
Button
*
btn_cancel
;
92
93
Mission
*
mission
;
94
MissionElement
*
elem
;
95
bool
exit_latch
;
96
};
97
98
#endif MsnElemDlg_h
99
Stars45
MsnElemDlg.h
Generated on Tue Jun 5 2012 20:46:59 for Starshatter_Open by
1.8.1