FS2_Open
Open source remastering of the Freespace 2 engine
campaigntreewnd.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 // campaign_tree_wnd window
14 
15 class campaign_tree_wnd : public CFrameWnd
16 {
17  DECLARE_DYNCREATE(campaign_tree_wnd)
18 
19 // Construction
20 public:
22 
23 // Attributes
24 public:
25 
26 // Operations
27 public:
28  int error_checker();
29  int fred_check_sexp(int sexp, int type, char *msg, ...);
30  int error(const char *msg, ...);
31  int internal_error(const char *msg, ...);
32  int save_modified();
33 
34 // Overrides
35  // ClassWizard generated virtual function overrides
36  //{{AFX_VIRTUAL(campaign_tree_wnd)
37  //}}AFX_VIRTUAL
38 
39 private:
40  int g_err;
41 
42 // Implementation
43 public:
44  virtual ~campaign_tree_wnd();
45  virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
46 
47  // Generated message map functions
48  CSplitterWnd m_splitter;
49 
50  //{{AFX_MSG(campaign_tree_wnd)
51  afx_msg void OnUpdateCpgnFileOpen(CCmdUI* pCmdUI);
52  afx_msg void OnCpgnFileOpen();
53  afx_msg void OnDestroy();
54  afx_msg void OnCpgnFileSave();
55  afx_msg void OnCpgnFileSaveAs();
56  afx_msg void OnCpgnFileNew();
57  afx_msg void OnClose2();
58  afx_msg void OnErrorChecker();
59  afx_msg void OnClose();
60  afx_msg void OnInitialShips();
61  afx_msg void OnInitialWeapons();
62  //}}AFX_MSG
63  DECLARE_MESSAGE_MAP()
64 };
65 
67 
69 extern int Campaign_modified;
70 extern int Bypass_clear_mission;
SCP_string sexp
Definition: sexp.cpp:25556
int Bypass_clear_mission
int error(const char *msg,...)
afx_msg void OnCpgnFileSaveAs()
afx_msg void OnUpdateCpgnFileOpen(CCmdUI *pCmdUI)
afx_msg void OnInitialWeapons()
int fred_check_sexp(int sexp, int type, char *msg,...)
int Mission_filename_cb_format
GLenum type
Definition: Gl.h:1492
int Campaign_modified
CSplitterWnd m_splitter
afx_msg void OnInitialShips()
int internal_error(const char *msg,...)
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext *pContext)
campaign_tree_wnd * Campaign_wnd
int BOOL
Definition: config.h:80
afx_msg void OnClose2()
afx_msg void OnCpgnFileOpen()
afx_msg void OnErrorChecker()
virtual ~campaign_tree_wnd()
afx_msg void OnClose()
afx_msg void OnDestroy()
afx_msg void OnCpgnFileNew()
afx_msg void OnCpgnFileSave()