Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
MsnWepDlg.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: MsnWepDlg.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Mission Briefing Dialog Active Window class
13
*/
14
15
#ifndef MsnWepDlg_h
16
#define MsnWepDlg_h
17
18
#include "
Types.h
"
19
#include "
FormWindow.h
"
20
#include "
MsnDlg.h
"
21
#include "
Bitmap.h
"
22
#include "
Button.h
"
23
#include "
ImageBox.h
"
24
#include "
ListBox.h
"
25
#include "
Font.h
"
26
#include "
Text.h
"
27
28
// +--------------------------------------------------------------------+
29
30
class
PlanScreen
;
31
class
Campaign
;
32
class
Mission
;
33
class
MissionElement
;
34
class
HardPoint
;
35
class
WeaponDesign
;
36
37
// +--------------------------------------------------------------------+
38
39
class
MsnWepDlg
:
public
FormWindow
,
40
public
MsnDlg
41
{
42
public
:
43
MsnWepDlg
(
Screen
* s,
FormDef
& def,
PlanScreen
* mgr);
44
virtual
~MsnWepDlg
();
45
46
virtual
void
RegisterControls
();
47
virtual
void
ExecFrame
();
48
virtual
void
Show
();
49
50
// Operations:
51
virtual
void
OnCommit
(
AWEvent
*
event
);
52
virtual
void
OnCancel
(
AWEvent
* event);
53
virtual
void
OnTabButton
(
AWEvent
* event);
54
virtual
void
OnMount
(
AWEvent
* event);
55
virtual
void
OnLoadout
(
AWEvent
* event);
56
57
protected
:
58
virtual
void
SetupControls
();
59
virtual
void
BuildLists
();
60
virtual
int
LoadToPointIndex
(
int
n);
61
virtual
int
PointIndexToLoad
(
int
n,
int
index);
62
63
ActiveWindow
*
lbl_element
;
64
ActiveWindow
*
lbl_type
;
65
ActiveWindow
*
lbl_weight
;
66
ActiveWindow
*
player_desc
;
67
ImageBox
*
beauty
;
68
69
ActiveWindow
*
lbl_station
[8];
70
ActiveWindow
*
lbl_desc
[8];
71
Button
*
btn_load
[8][8];
72
73
ListBox
*
loadout_list
;
74
75
MissionElement
*
elem
;
76
WeaponDesign
*
designs
[8];
77
bool
mounts
[8][8];
78
int
loads
[8];
79
int
first_station
;
80
81
Bitmap
led_off
;
82
Bitmap
led_on
;
83
};
84
85
#endif MsnWepDlg_h
86
Stars45
MsnWepDlg.h
Generated on Thu May 31 2012 16:31:12 for Starshatter_Open by
1.8.1