]> icculus.org git repositories - taylor/freespace2.git/blob - include/cmdbrief.h
rendering functions mostly done; more complete shader setup
[taylor/freespace2.git] / include / cmdbrief.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/CmdBrief.h $
11  * $Revision$
12  * $Date$
13  * $Author$
14  *
15  * Command Briefing Editor
16  *
17  * $Log$
18  * Revision 1.2  2002/06/09 04:41:12  relnev
19  * added copyright header
20  *
21  * Revision 1.1.1.1  2002/05/03 03:28:11  root
22  * Initial import.
23  *
24  * 
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.
29  * 
30  * 1     10/07/98 3:01p Dave
31  * 
32  * 1     10/07/98 3:00p Dave
33  * 
34  * 4     4/20/98 4:40p Hoffoss
35  * Added a button to 4 editors to play the chosen wave file.
36  * 
37  * 3     3/19/98 4:24p Hoffoss
38  * Added remaining support for command brief screen (ANI and WAVE file
39  * playing).
40  * 
41  * 2     3/05/98 3:59p Hoffoss
42  * Added a bunch of new command brief stuff, and asteroid initialization
43  * to Fred.
44  *
45  * $NoKeywords: $
46  */
47
48 #include "missioncmdbrief.h"
49
50 /////////////////////////////////////////////////////////////////////////////
51 // cmd_brief_dlg dialog
52
53 class cmd_brief_dlg : public CDialog
54 {
55 // Construction
56 public:
57         cmd_brief_dlg(CWnd* pParent = NULL);   // standard constructor
58         void update_data(int update = 1);
59         void OnOK();
60
61 // Dialog Data
62         //{{AFX_DATA(cmd_brief_dlg)
63         enum { IDD = IDD_CMD_BRIEF };
64         CString m_ani_filename;
65         CString m_text;
66         CString m_stage_title;
67         CString m_wave_filename;
68         //}}AFX_DATA
69
70         CBitmap m_play_bm;
71
72 // Overrides
73         // ClassWizard generated virtual function overrides
74         //{{AFX_VIRTUAL(cmd_brief_dlg)
75         public:
76         virtual BOOL DestroyWindow();
77         protected:
78         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
79         //}}AFX_VIRTUAL
80
81 // Implementation
82 protected:
83         int m_cur_stage;
84         int m_last_stage;
85         cmd_brief *last_cmd_brief;
86
87         void copy_stage(int from, int to);
88
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();
100         //}}AFX_MSG
101         DECLARE_MESSAGE_MAP()
102 };
103