FS2_Open
Open source remastering of the Freespace 2 engine
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;
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 };
CCheckListBox m_path_list
Definition: restrictpaths.h:30
virtual void DoDataExchange(CDataExchange *pDX)
#define IDD_RESTRICT_PATHS
Definition: resource.h:102
restrict_paths(CWnd *pParent=NULL)
virtual BOOL OnInitDialog()
int BOOL
Definition: config.h:80