2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
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
10 * $Logfile: /Freespace2/code/FRED2/DebriefingEditorDlg.h $
15 * Debriefing editor dialog. Used to edit mission debriefings of course.
18 * Revision 1.2 2002/06/09 04:41:12 relnev
19 * added copyright header
21 * Revision 1.1.1.1 2002/05/03 03:28:12 root
25 * 2 10/07/98 6:28p Dave
26 * Initial checkin. Renamed all relevant stuff to be Fred2 instead of
27 * Fred. Globalized mission and campaign file extensions. Removed Silent
28 * Threat specific code.
30 * 1 10/07/98 3:01p Dave
32 * 1 10/07/98 3:00p Dave
34 * 9 7/07/98 2:11p Hoffoss
36 * 8 4/20/98 4:40p Hoffoss
37 * Added a button to 4 editors to play the chosen wave file.
39 * 7 3/17/98 2:06p Hoffoss
40 * Made enter key not close the dialog box (default windows behavior, even
41 * when no ok button. Talk about stupid. :)
43 * 6 2/09/98 9:25p Allender
44 * team v team support. multiple pools and breifings
46 * 5 2/04/98 4:32p Allender
47 * support for multiple briefings and debriefings. Changes to mission
48 * type (now a bitfield). Bitfield defs for multiplayer modes
50 * 4 11/10/97 11:58a Johnson
51 * Added support to debriefing editor for "press cancel to go to reference
54 * 3 10/14/97 12:06p Hoffoss
55 * Recoded debriefing editor to utilize new format.
57 * 2 7/08/97 2:03p Hoffoss
58 * Debriefing editor coded and implemented.
63 /////////////////////////////////////////////////////////////////////////////
64 // debriefing_editor_dlg dialog
66 class debriefing_editor_dlg : public CDialog
71 void update_data(int update = 1);
72 debriefing_editor_dlg(CWnd* pParent = NULL); // standard constructor
76 //{{AFX_DATA(debriefing_editor_dlg)
77 enum { IDD = IDD_DEBRIEFING_EDITOR };
81 CString m_stage_title;
83 int m_current_debriefing;
89 // ClassWizard generated virtual function overrides
90 //{{AFX_VIRTUAL(debriefing_editor_dlg)
92 virtual BOOL DestroyWindow();
94 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
95 virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
104 void copy_stage(int from, int to, int clear_formula = 0);
106 // Generated message map functions
107 //{{AFX_MSG(debriefing_editor_dlg)
108 afx_msg void OnNext();
109 afx_msg void OnPrev();
110 afx_msg void OnBrowse();
111 afx_msg void OnAddStage();
112 afx_msg void OnDeleteStage();
113 afx_msg void OnInsertStage();
114 virtual BOOL OnInitDialog();
115 afx_msg void OnRclickTree(NMHDR* pNMHDR, LRESULT* pResult);
116 afx_msg void OnBeginlabeleditTree(NMHDR* pNMHDR, LRESULT* pResult);
117 afx_msg void OnEndlabeleditTree(NMHDR* pNMHDR, LRESULT* pResult);
118 afx_msg void OnClose();
119 afx_msg void OnInitMenu(CMenu* pMenu);
120 afx_msg void OnPlay();
122 DECLARE_MESSAGE_MAP()