]> icculus.org git repositories - taylor/freespace2.git/blob - include/shieldsysdlg.h
Initial revision
[taylor/freespace2.git] / include / shieldsysdlg.h
1 /*
2  * $Logfile: /Freespace2/code/FRED2/ShieldSysDlg.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Shield generator system editor.  This dialog allows one to indicate whether all ships
8  * (on a certain team or of a certain type) have a shield system or not.
9  *
10  * $Log$
11  * Revision 1.1  2002/05/03 03:28:12  root
12  * Initial revision
13  *
14  * 
15  * 2     10/07/98 6:28p Dave
16  * Initial checkin. Renamed all relevant stuff to be Fred2 instead of
17  * Fred. Globalized mission and campaign file extensions. Removed Silent
18  * Threat specific code.
19  * 
20  * 1     10/07/98 3:01p Dave
21  * 
22  * 1     10/07/98 3:00p Dave
23  * 
24  * 2     8/18/97 9:31p Hoffoss
25  * Added grid adjustment dialog and shield system editor dialog.
26  *
27  * $NoKeywords: $
28  */
29
30 extern int Shield_sys_teams[MAX_TEAM_NAMES];
31 extern int Shield_sys_types[MAX_SHIP_TYPES];
32
33 /////////////////////////////////////////////////////////////////////////////
34 // shield_sys_dlg dialog
35
36 class shield_sys_dlg : public CDialog
37 {
38 // Construction
39 public:
40         void set_team();
41         void set_type();
42         shield_sys_dlg(CWnd* pParent = NULL);   // standard constructor
43
44 // Dialog Data
45         //{{AFX_DATA(shield_sys_dlg)
46         enum { IDD = IDD_SHIELD_SYS };
47         int             m_team;
48         int             m_type;
49         //}}AFX_DATA
50
51 // Overrides
52         // ClassWizard generated virtual function overrides
53         //{{AFX_VIRTUAL(shield_sys_dlg)
54         protected:
55         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
56         //}}AFX_VIRTUAL
57
58 // Implementation
59 protected:
60
61         // Generated message map functions
62         //{{AFX_MSG(shield_sys_dlg)
63         virtual void OnOK();
64         virtual BOOL OnInitDialog();
65         afx_msg void OnSelchangeTeam();
66         afx_msg void OnSelchangeType();
67         //}}AFX_MSG
68         DECLARE_MESSAGE_MAP()
69 };
70