FS2_Open
Open source remastering of the Freespace 2 engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
restrictpaths.h
Go to the documentation of this file.
1
/*
2
* Created by Ian "Goober5000" Warfield for the FreeSpace2 Source Code Project.
3
* You may not sell or otherwise commercially exploit the source or things you
4
* create based on the source.
5
*/
6
7
8
9
#include "
model/model.h
"
10
#include "
parse/parselo.h
"
11
13
// restrict_paths dialog
14
15
class
restrict_paths
:
public
CDialog
16
{
17
// Construction
18
public
:
19
restrict_paths
(CWnd* pParent = NULL);
// standard constructor
20
21
// parameters for the dialog
22
bool
m_arrival
;
23
int
m_ship_class
;
24
int
*
m_path_mask
;
25
26
27
// Dialog Data
28
//{{AFX_DATA(restrict_paths)
29
enum
{
IDD
=
IDD_RESTRICT_PATHS
};
30
CCheckListBox
m_path_list
;
31
//}}AFX_DATA
32
33
34
// Overrides
35
// ClassWizard generated virtual function overrides
36
//{{AFX_VIRTUAL(restrict_paths)
37
protected
:
38
virtual
void
DoDataExchange
(CDataExchange* pDX);
// DDX/DDV support
39
//}}AFX_VIRTUAL
40
41
// Implementation
42
protected
:
43
44
// Generated message map functions
45
//{{AFX_MSG(restrict_paths)
46
virtual
BOOL
OnInitDialog
();
47
void
OnCancel
();
48
void
OnOK
();
49
//}}AFX_MSG
50
DECLARE_MESSAGE_MAP()
51
52
private:
53
// model info
54
polymodel
*m_model;
55
int
m_num_paths;
56
57
// regenerate all controls
58
void
reset_controls();
59
};
restrict_paths::IDD
Definition:
restrictpaths.h:29
restrict_paths::m_path_list
CCheckListBox m_path_list
Definition:
restrictpaths.h:30
restrict_paths::OnCancel
void OnCancel()
Definition:
restrictpaths.cpp:99
restrict_paths::m_arrival
bool m_arrival
Definition:
restrictpaths.h:22
restrict_paths::DoDataExchange
virtual void DoDataExchange(CDataExchange *pDX)
Definition:
restrictpaths.cpp:29
model.h
IDD_RESTRICT_PATHS
#define IDD_RESTRICT_PATHS
Definition:
resource.h:102
restrict_paths::OnOK
void OnOK()
Definition:
restrictpaths.cpp:106
restrict_paths::m_ship_class
int m_ship_class
Definition:
restrictpaths.h:23
restrict_paths::m_path_mask
int * m_path_mask
Definition:
restrictpaths.h:24
restrict_paths::restrict_paths
restrict_paths(CWnd *pParent=NULL)
Definition:
restrictpaths.cpp:23
restrict_paths::OnInitDialog
virtual BOOL OnInitDialog()
Definition:
restrictpaths.cpp:45
BOOL
int BOOL
Definition:
config.h:80
restrict_paths
Definition:
restrictpaths.h:15
parselo.h
polymodel
Definition:
model.h:698
code
fred2
restrictpaths.h
Generated on Sun May 1 2016 16:22:21 for FS2_Open by
1.8.10