2 * $Logfile: /Freespace2/code/FRED2/WeaponEditorDlg.h $
7 * Weapon editor dialog box handling code
10 * Revision 1.1 2002/05/03 03:28:12 root
14 * 2 10/07/98 6:28p Dave
15 * Initial checkin. Renamed all relevant stuff to be Fred2 instead of
16 * Fred. Globalized mission and campaign file extensions. Removed Silent
17 * Threat specific code.
19 * 1 10/07/98 3:02p Dave
21 * 1 10/07/98 3:00p Dave
23 * 8 2/22/98 1:32a Hoffoss
24 * Changed editor to use raw ammo counts isntead of percentages, and make
25 * it select first item in list by default.
27 * 7 5/30/97 4:50p Hoffoss
28 * Added code to allow marked ship editing of data in child dialogs of
31 * 6 4/21/97 5:02p Hoffoss
32 * Player/player status editing supported, and both saved and loaded from
35 * 5 4/16/97 1:59p Hoffoss
36 * Weapon editor now fully functional.
38 * 4 4/09/97 11:48a Hoffoss
39 * Initial work to weapon editor.
41 * 3 3/31/97 6:07p Hoffoss
42 * Fixed several errors, including BG editor not graying fields, BG editor
43 * not updating image when changed, Removed obsolete data from Weapon
44 * editor, priority not being saved when missions saved, priority not
45 * editable in initial orders editor.
47 * 2 2/17/97 5:28p Hoffoss
48 * Checked RCS headers, added them were missing, changing description to
49 * something better, etc where needed.
56 /////////////////////////////////////////////////////////////////////////////
57 // WeaponEditorDlg dialog
59 class WeaponEditorDlg : public CDialog
65 void change_selection();
67 WeaponEditorDlg(CWnd* pParent = NULL); // standard constructor
77 ship_weapon pilot, *cur_weapon;
80 //{{AFX_DATA(WeaponEditorDlg)
81 enum { IDD = IDD_WEAPON_EDITOR };
82 CSpinButtonCtrl m_spin4;
83 CSpinButtonCtrl m_spin3;
84 CSpinButtonCtrl m_spin2;
85 CSpinButtonCtrl m_spin1;
103 // ClassWizard generated virtual function overrides
104 //{{AFX_VIRTUAL(WeaponEditorDlg)
106 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
112 // Generated message map functions
113 //{{AFX_MSG(WeaponEditorDlg)
114 virtual BOOL OnInitDialog();
115 afx_msg void OnSelchangeList();
116 afx_msg void OnClose();
117 afx_msg void OnSelchangeMissile1();
118 afx_msg void OnSelchangeMissile2();
119 afx_msg void OnSelchangeMissile3();
120 afx_msg void OnSelchangeMissile4();
122 DECLARE_MESSAGE_MAP()