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