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 
12 /////////////////////////////////////////////////////////////////////////////
13 // CMissionNotesDlg dialog
14 #pragma once
15 class CMissionNotesDlg : public CDialog
16 {
17 // Construction
18 public:
19 	int query_modified();
20 	void OnCancel();
21 	void OnOK();
22 	int update_data();
23 	int initialize_data();
24 	CMissionNotesDlg(CWnd* pParent = NULL);   // standard constructor
25 
26 // Dialog Data
27 	//{{AFX_DATA(CMissionNotesDlg)
28 	enum { IDD = IDD_MISSION_NOTES };
29 	CSpinButtonCtrl	m_respawn_spin;
30 	CSpinButtonCtrl	m_max_respawn_delay_spin;
31 	CString	m_created;
32 	CString	m_modified;
33 	CString	m_mission_notes;
34 	CString	m_designer_name;
35 	CString	m_mission_title;
36 	CString	m_mission_desc;
37 	CString	m_squad_filename;
38 	CString	m_squad_name;
39 	CString m_loading_640;
40 	CString m_loading_1024;
41 	int		m_ai_profile;
42 	int		m_event_music;
43 	CString	m_substitute_event_music;
44 	int		m_command_persona;
45 	CString	m_command_sender;
46 	BOOL		m_full_war;
47 	BOOL		m_red_alert;
48 	BOOL		m_scramble;
49 	BOOL		m_daisy_chained_docking;
50 	UINT		m_num_respawns;
51 	int			m_max_respawn_delay;
52 	int			m_disallow_support;
53 	BOOL		m_no_promotion;
54 	BOOL		m_no_builtin_msgs;
55 	BOOL		m_no_builtin_command_msgs;
56 	BOOL		m_no_traitor;
57 	BOOL		m_toggle_trails;
58 	BOOL		m_support_repairs_hull;
59 	BOOL		m_beam_free_all_by_default;
60 	BOOL		m_player_start_using_ai;
61 	BOOL		m_no_briefing;
62 	BOOL		m_no_debriefing;
63 	BOOL		m_autpilot_cinematics;
64 	BOOL		m_no_autpilot;
65 	BOOL		m_2d_mission;
66 	BOOL		m_always_show_goals;
67 	float		m_max_hull_repair_val;
68 	float		m_max_subsys_repair_val;
69 	BOOL		m_contrail_threshold_flag;
70 	int			m_contrail_threshold;
71 	//}}AFX_DATA
72 
73 	CString	m_mission_notes_orig;
74 	CString	m_designer_name_orig;
75 	CString	m_mission_title_orig;
76 	CString	m_mission_desc_orig;
77 
78 // Overrides
79 	// ClassWizard generated virtual function overrides
80 	//{{AFX_VIRTUAL(CMissionNotesDlg)
81 	protected:
82 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
83 	//}}AFX_VIRTUAL
84 
85 // Implementation
86 protected:
87 	int m_type;
88 	void set_types();
89 
90 	// Generated message map functions
91 	//{{AFX_MSG(CMissionNotesDlg)
92 	virtual BOOL OnInitDialog();
93 	afx_msg void OnClose();
94 	afx_msg void OnTraining();
95 	afx_msg void OnMulti();
96 	afx_msg void OnSingle();
97 	afx_msg void OnSquadLogo();
98 	afx_msg void OnLoad640();
99 	afx_msg void OnLoad1024();
100 	afx_msg void OnToggleContrailThreshold();
101 	afx_msg void OnCustomWingNames();
102 	afx_msg void OnSoundEnvironment();
103 	//}}AFX_MSG
104 	DECLARE_MESSAGE_MAP()
105 public:
106 	afx_msg void OnEnChangeLoadingScreen641();
107 };
108