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/CmdBrief.h $
15 * Command Briefing Editor
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:11 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 * 4 4/20/98 4:40p Hoffoss
35 * Added a button to 4 editors to play the chosen wave file.
37 * 3 3/19/98 4:24p Hoffoss
38 * Added remaining support for command brief screen (ANI and WAVE file
41 * 2 3/05/98 3:59p Hoffoss
42 * Added a bunch of new command brief stuff, and asteroid initialization
48 #include "missioncmdbrief.h"
50 /////////////////////////////////////////////////////////////////////////////
51 // cmd_brief_dlg dialog
53 class cmd_brief_dlg : public CDialog
57 cmd_brief_dlg(CWnd* pParent = NULL); // standard constructor
58 void update_data(int update = 1);
62 //{{AFX_DATA(cmd_brief_dlg)
63 enum { IDD = IDD_CMD_BRIEF };
64 CString m_ani_filename;
66 CString m_stage_title;
67 CString m_wave_filename;
73 // ClassWizard generated virtual function overrides
74 //{{AFX_VIRTUAL(cmd_brief_dlg)
76 virtual BOOL DestroyWindow();
78 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
85 cmd_brief *last_cmd_brief;
87 void copy_stage(int from, int to);
89 // Generated message map functions
90 //{{AFX_MSG(cmd_brief_dlg)
91 virtual BOOL OnInitDialog();
92 afx_msg void OnNext();
93 afx_msg void OnPrev();
94 afx_msg void OnAddStage();
95 afx_msg void OnInsertStage();
96 afx_msg void OnDeleteStage();
97 afx_msg void OnBrowseAni();
98 afx_msg void OnBrowseWave();
99 afx_msg void OnPlay();
101 DECLARE_MESSAGE_MAP()