FS2_Open
Open source remastering of the Freespace 2 engine
cmdbrief.h
Go to the documentation of this file.
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 the
6  * source.
7  *
8 */
9 
10 
11 
13 
15 // cmd_brief_dlg dialog
16 
17 class cmd_brief_dlg : public CDialog
18 {
19 // Construction
20 public:
21  cmd_brief_dlg(CWnd* pParent = NULL); // standard constructor
22  void update_data(int update = 1);
23  void OnOK();
24 
25 // Dialog Data
26  //{{AFX_DATA(cmd_brief_dlg)
27  enum { IDD = IDD_CMD_BRIEF };
28  CString m_ani_filename;
29  CString m_text;
30  CString m_stage_title;
31  CString m_wave_filename;
32  //}}AFX_DATA
33 
34  CBitmap m_play_bm;
35 
36 // Overrides
37  // ClassWizard generated virtual function overrides
38  //{{AFX_VIRTUAL(cmd_brief_dlg)
39  public:
40  virtual BOOL DestroyWindow();
41  protected:
42  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
43  //}}AFX_VIRTUAL
44 
45 // Implementation
46 protected:
49  int m_wave_id;
51 
52  void copy_stage(int from, int to);
53 
54  // Generated message map functions
55  //{{AFX_MSG(cmd_brief_dlg)
56  virtual BOOL OnInitDialog();
57  afx_msg void OnNext();
58  afx_msg void OnPrev();
59  afx_msg void OnAddStage();
60  afx_msg void OnInsertStage();
61  afx_msg void OnDeleteStage();
62  afx_msg void OnBrowseAni();
63  afx_msg void OnBrowseWave();
64  afx_msg void OnPlay();
65  //}}AFX_MSG
66  DECLARE_MESSAGE_MAP()
67 };
void update_data(int update=1)
Definition: cmdbrief.cpp:84
int m_cur_stage
Definition: cmdbrief.h:47
int m_wave_id
Definition: cmdbrief.h:49
int m_last_stage
Definition: cmdbrief.h:48
#define IDD_CMD_BRIEF
Definition: resource.h:85
afx_msg void OnPrev()
Definition: cmdbrief.cpp:176
afx_msg void OnPlay()
Definition: cmdbrief.cpp:320
cmd_brief * last_cmd_brief
Definition: cmdbrief.h:50
afx_msg void OnDeleteStage()
Definition: cmdbrief.cpp:228
void copy_stage(int from, int to)
Definition: cmdbrief.cpp:257
afx_msg void OnAddStage()
Definition: cmdbrief.cpp:185
CString m_ani_filename
Definition: cmdbrief.h:28
CString m_wave_filename
Definition: cmdbrief.h:31
virtual BOOL DestroyWindow()
Definition: cmdbrief.cpp:311
int BOOL
Definition: config.h:80
cmd_brief_dlg(CWnd *pParent=NULL)
Definition: cmdbrief.cpp:27
afx_msg void OnBrowseWave()
Definition: cmdbrief.cpp:289
CString m_stage_title
Definition: cmdbrief.h:30
virtual BOOL OnInitDialog()
Definition: cmdbrief.cpp:70
afx_msg void OnInsertStage()
Definition: cmdbrief.cpp:200
virtual void DoDataExchange(CDataExchange *pDX)
Definition: cmdbrief.cpp:40
CString m_text
Definition: cmdbrief.h:29
CBitmap m_play_bm
Definition: cmdbrief.h:34
afx_msg void OnBrowseAni()
Definition: cmdbrief.cpp:270
afx_msg void OnNext()
Definition: cmdbrief.cpp:167