File: campaigntreewnd.h

package info (click to toggle)
freespace2 3.7.4%2Brepack-1
  • links: PTS, VCS
  • area: non-free
  • in suites: buster
  • size: 22,236 kB
  • sloc: cpp: 393,535; ansic: 4,106; makefile: 1,091; xml: 181; sh: 137
file content (71 lines) | stat: -rw-r--r-- 1,701 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
 * Copyright (C) Volition, Inc. 1999.  All rights reserved.
 *
 * All source code herein is the property of Volition, Inc. You may not sell 
 * or otherwise commercially exploit the source or things you created based on the 
 * source.
 *
*/



/////////////////////////////////////////////////////////////////////////////
// campaign_tree_wnd window

class campaign_tree_wnd : public CFrameWnd
{
	DECLARE_DYNCREATE(campaign_tree_wnd)

// Construction
public:
	campaign_tree_wnd();

// Attributes
public:

// Operations
public:
	int error_checker();
	int fred_check_sexp(int sexp, int type, char *msg, ...);
	int error(const char *msg, ...);
	int internal_error(const char *msg, ...);
	int save_modified();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(campaign_tree_wnd)
	//}}AFX_VIRTUAL

private:
	int g_err;

// Implementation
public:
	virtual ~campaign_tree_wnd();
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);

	// Generated message map functions
	CSplitterWnd m_splitter;

	//{{AFX_MSG(campaign_tree_wnd)
	afx_msg void OnUpdateCpgnFileOpen(CCmdUI* pCmdUI);
	afx_msg void OnCpgnFileOpen();
	afx_msg void OnDestroy();
	afx_msg void OnCpgnFileSave();
	afx_msg void OnCpgnFileSaveAs();
	afx_msg void OnCpgnFileNew();
	afx_msg void OnClose2();
	afx_msg void OnErrorChecker();
	afx_msg void OnClose();
	afx_msg void OnInitialShips();
	afx_msg void OnInitialWeapons();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

extern int Mission_filename_cb_format;
extern int Campaign_modified;
extern int Bypass_clear_mission;
extern campaign_tree_wnd *Campaign_wnd;