2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
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
10 * $Logfile: /Freespace2/code/Fred2/MissionNotesDlg.h $
15 * Mission notes editor dialog box handling code
18 * Revision 1.2 2002/06/09 04:41:13 relnev
19 * added copyright header
21 * Revision 1.1.1.1 2002/05/03 03:28:12 root
25 * 5 8/23/99 6:21p Jefff
26 * added "no traitor" option to missions (and fred)
28 * 4 8/23/99 5:04p Jefff
29 * Added new mission flag to disable built-in messages from playing.
30 * Added fred support as well.
32 * 3 3/24/99 4:05p Dave
33 * Put in support for assigning the player to a specific squadron with a
34 * specific logo. Preliminary work for doing pos/orient checksumming in
35 * multiplayer to reduce bandwidth.
37 * 2 10/07/98 6:28p Dave
38 * Initial checkin. Renamed all relevant stuff to be Fred2 instead of
39 * Fred. Globalized mission and campaign file extensions. Removed Silent
40 * Threat specific code.
42 * 1 10/07/98 3:01p Dave
44 * 1 10/07/98 3:00p Dave
46 * 16 6/17/98 2:47p Hoffoss
47 * Changed so missions are single, multi or training. Not supporting
48 * combos of the above anymore (in Fred).
50 * 15 5/05/98 11:05p Allender
51 * ability to flag mission as "no promotion" where promotions and badges
52 * are *not* granted even if they should be. Slight fix to multiplayer
53 * problem where locking_subsys is wrong for players current target
55 * 14 4/03/98 12:17a Allender
56 * new sexpression to detect departed or destroyed. optionally disallow
57 * support ships. Allow docking with escape pods
59 * 13 3/26/98 5:24p Allender
60 * put in respawn edit box into mission notes dialog. Made loading of
61 * missions/campaign happen when first entering the game setup screen.
63 * 12 3/16/98 8:27p Allender
64 * Fred support for two new AI flags -- kamikaze and no dynamic goals.
66 * 11 3/09/98 4:30p Allender
67 * multiplayer secondary weapon changes. red-alert and cargo-known-delay
68 * sexpressions. Add time cargo revealed to ship structure
70 * 10 2/04/98 4:32p Allender
71 * support for multiple briefings and debriefings. Changes to mission
72 * type (now a bitfield). Bitfield defs for multiplayer modes
74 * 9 1/02/98 4:55p Hoffoss
75 * Added support for Mission_all_attack flag to Fred and loading/saving
78 * 8 9/30/97 5:56p Hoffoss
79 * Added music selection combo boxes to Fred.
81 * 7 8/11/97 3:19p Hoffoss
82 * Implemented mission description.
84 * 6 6/11/97 2:14p Hoffoss
85 * Added game type (mission type) selection to Fred.
87 * 5 5/20/97 2:28p Hoffoss
88 * Added message box queries for close window operation on all modal
91 * 4 4/17/97 2:01p Hoffoss
92 * All dialog box window states are saved between sessions now.
94 * 3 2/17/97 5:28p Hoffoss
95 * Checked RCS headers, added them were missing, changing description to
96 * something better, etc where needed.
101 /////////////////////////////////////////////////////////////////////////////
102 // CMissionNotesDlg dialog
104 class CMissionNotesDlg : public CDialog
108 int query_modified();
112 int initialize_data();
113 CMissionNotesDlg(CWnd* pParent = NULL); // standard constructor
116 //{{AFX_DATA(CMissionNotesDlg)
117 enum { IDD = IDD_MISSION_NOTES };
118 CSpinButtonCtrl m_respawn_spin;
121 CString m_mission_notes;
122 CString m_designer_name;
123 CString m_mission_title;
124 CString m_mission_desc;
125 CString m_squad_filename;
126 CString m_squad_name;
132 BOOL m_disallow_support;
134 BOOL m_no_builtin_msgs;
138 CString m_mission_notes_orig;
139 CString m_designer_name_orig;
140 CString m_mission_title_orig;
141 CString m_mission_desc_orig;
144 // ClassWizard generated virtual function overrides
145 //{{AFX_VIRTUAL(CMissionNotesDlg)
147 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
155 // Generated message map functions
156 //{{AFX_MSG(CMissionNotesDlg)
157 virtual BOOL OnInitDialog();
158 afx_msg void OnClose();
159 afx_msg void OnTraining();
160 afx_msg void OnMulti();
161 afx_msg void OnSingle();
162 afx_msg void OnSquadLogo();
164 DECLARE_MESSAGE_MAP()