2 * $Logfile: /Freespace2/code/FRED2/DebriefingEditorDlg.h $
7 * Debriefing editor dialog. Used to edit mission debriefings of course.
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:01p Dave
21 * 1 10/07/98 3:00p Dave
23 * 9 7/07/98 2:11p Hoffoss
25 * 8 4/20/98 4:40p Hoffoss
26 * Added a button to 4 editors to play the chosen wave file.
28 * 7 3/17/98 2:06p Hoffoss
29 * Made enter key not close the dialog box (default windows behavior, even
30 * when no ok button. Talk about stupid. :)
32 * 6 2/09/98 9:25p Allender
33 * team v team support. multiple pools and breifings
35 * 5 2/04/98 4:32p Allender
36 * support for multiple briefings and debriefings. Changes to mission
37 * type (now a bitfield). Bitfield defs for multiplayer modes
39 * 4 11/10/97 11:58a Johnson
40 * Added support to debriefing editor for "press cancel to go to reference
43 * 3 10/14/97 12:06p Hoffoss
44 * Recoded debriefing editor to utilize new format.
46 * 2 7/08/97 2:03p Hoffoss
47 * Debriefing editor coded and implemented.
52 /////////////////////////////////////////////////////////////////////////////
53 // debriefing_editor_dlg dialog
55 class debriefing_editor_dlg : public CDialog
60 void update_data(int update = 1);
61 debriefing_editor_dlg(CWnd* pParent = NULL); // standard constructor
65 //{{AFX_DATA(debriefing_editor_dlg)
66 enum { IDD = IDD_DEBRIEFING_EDITOR };
70 CString m_stage_title;
72 int m_current_debriefing;
78 // ClassWizard generated virtual function overrides
79 //{{AFX_VIRTUAL(debriefing_editor_dlg)
81 virtual BOOL DestroyWindow();
83 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
84 virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
93 void copy_stage(int from, int to, int clear_formula = 0);
95 // Generated message map functions
96 //{{AFX_MSG(debriefing_editor_dlg)
97 afx_msg void OnNext();
98 afx_msg void OnPrev();
99 afx_msg void OnBrowse();
100 afx_msg void OnAddStage();
101 afx_msg void OnDeleteStage();
102 afx_msg void OnInsertStage();
103 virtual BOOL OnInitDialog();
104 afx_msg void OnRclickTree(NMHDR* pNMHDR, LRESULT* pResult);
105 afx_msg void OnBeginlabeleditTree(NMHDR* pNMHDR, LRESULT* pResult);
106 afx_msg void OnEndlabeleditTree(NMHDR* pNMHDR, LRESULT* pResult);
107 afx_msg void OnClose();
108 afx_msg void OnInitMenu(CMenu* pMenu);
109 afx_msg void OnPlay();
111 DECLARE_MESSAGE_MAP()