Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
MsnEventDlg.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: MsnEventDlg.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Mission Editor Element Dialog Active Window class
13
*/
14
15
#ifndef MsnEventDlg_h
16
#define MsnEventDlg_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
class
MissionEvent
;
34
35
// +--------------------------------------------------------------------+
36
37
class
MsnEventDlg
:
public
FormWindow
38
{
39
public
:
40
MsnEventDlg
(
Screen
* s,
FormDef
& def,
MenuScreen
* mgr);
41
virtual
~MsnEventDlg
();
42
43
virtual
void
RegisterControls
();
44
virtual
void
Show
();
45
virtual
void
ExecFrame
();
46
47
// Operations:
48
virtual
void
SetMission
(
Mission
* msn);
49
virtual
void
SetMissionEvent
(
MissionEvent
*
event
);
50
virtual
void
OnEventSelect
(
AWEvent
* e);
51
virtual
void
OnAccept
(
AWEvent
* e);
52
virtual
void
OnCancel
(
AWEvent
* e);
53
54
protected
:
55
virtual
void
FillShipList
(
ComboBox
* cmb,
const
char
* seln);
56
virtual
void
FillRgnList
(
ComboBox
* cmb,
const
char
* seln);
57
58
MenuScreen
*
manager
;
59
60
ActiveWindow
*
lbl_id
;
61
EditBox
*
edt_time
;
62
EditBox
*
edt_delay
;
63
64
ComboBox
*
cmb_event
;
65
ComboBox
*
cmb_event_ship
;
66
ComboBox
*
cmb_event_source
;
67
ComboBox
*
cmb_event_target
;
68
EditBox
*
edt_event_param
;
69
EditBox
*
edt_event_chance
;
70
EditBox
*
edt_event_sound
;
71
EditBox
*
edt_event_message
;
72
73
ComboBox
*
cmb_trigger
;
74
ComboBox
*
cmb_trigger_ship
;
75
ComboBox
*
cmb_trigger_target
;
76
EditBox
*
edt_trigger_param
;
77
78
Button
*
btn_accept
;
79
Button
*
btn_cancel
;
80
81
Mission
*
mission
;
82
MissionEvent
*
event
;
83
};
84
85
#endif MsnEventDlg_h
86
Stars45
MsnEventDlg.h
Generated on Thu May 31 2012 16:31:11 for Starshatter_Open by
1.8.1