2 * $Logfile: /Freespace2/code/Fred2/MissionNotesDlg.h $
7 * Mission notes editor dialog box handling code
10 * Revision 1.1 2002/05/03 03:28:12 root
14 * 5 8/23/99 6:21p Jefff
15 * added "no traitor" option to missions (and fred)
17 * 4 8/23/99 5:04p Jefff
18 * Added new mission flag to disable built-in messages from playing.
19 * Added fred support as well.
21 * 3 3/24/99 4:05p Dave
22 * Put in support for assigning the player to a specific squadron with a
23 * specific logo. Preliminary work for doing pos/orient checksumming in
24 * multiplayer to reduce bandwidth.
26 * 2 10/07/98 6:28p Dave
27 * Initial checkin. Renamed all relevant stuff to be Fred2 instead of
28 * Fred. Globalized mission and campaign file extensions. Removed Silent
29 * Threat specific code.
31 * 1 10/07/98 3:01p Dave
33 * 1 10/07/98 3:00p Dave
35 * 16 6/17/98 2:47p Hoffoss
36 * Changed so missions are single, multi or training. Not supporting
37 * combos of the above anymore (in Fred).
39 * 15 5/05/98 11:05p Allender
40 * ability to flag mission as "no promotion" where promotions and badges
41 * are *not* granted even if they should be. Slight fix to multiplayer
42 * problem where locking_subsys is wrong for players current target
44 * 14 4/03/98 12:17a Allender
45 * new sexpression to detect departed or destroyed. optionally disallow
46 * support ships. Allow docking with escape pods
48 * 13 3/26/98 5:24p Allender
49 * put in respawn edit box into mission notes dialog. Made loading of
50 * missions/campaign happen when first entering the game setup screen.
52 * 12 3/16/98 8:27p Allender
53 * Fred support for two new AI flags -- kamikaze and no dynamic goals.
55 * 11 3/09/98 4:30p Allender
56 * multiplayer secondary weapon changes. red-alert and cargo-known-delay
57 * sexpressions. Add time cargo revealed to ship structure
59 * 10 2/04/98 4:32p Allender
60 * support for multiple briefings and debriefings. Changes to mission
61 * type (now a bitfield). Bitfield defs for multiplayer modes
63 * 9 1/02/98 4:55p Hoffoss
64 * Added support for Mission_all_attack flag to Fred and loading/saving
67 * 8 9/30/97 5:56p Hoffoss
68 * Added music selection combo boxes to Fred.
70 * 7 8/11/97 3:19p Hoffoss
71 * Implemented mission description.
73 * 6 6/11/97 2:14p Hoffoss
74 * Added game type (mission type) selection to Fred.
76 * 5 5/20/97 2:28p Hoffoss
77 * Added message box queries for close window operation on all modal
80 * 4 4/17/97 2:01p Hoffoss
81 * All dialog box window states are saved between sessions now.
83 * 3 2/17/97 5:28p Hoffoss
84 * Checked RCS headers, added them were missing, changing description to
85 * something better, etc where needed.
90 /////////////////////////////////////////////////////////////////////////////
91 // CMissionNotesDlg dialog
93 class CMissionNotesDlg : public CDialog
101 int initialize_data();
102 CMissionNotesDlg(CWnd* pParent = NULL); // standard constructor
105 //{{AFX_DATA(CMissionNotesDlg)
106 enum { IDD = IDD_MISSION_NOTES };
107 CSpinButtonCtrl m_respawn_spin;
110 CString m_mission_notes;
111 CString m_designer_name;
112 CString m_mission_title;
113 CString m_mission_desc;
114 CString m_squad_filename;
115 CString m_squad_name;
121 BOOL m_disallow_support;
123 BOOL m_no_builtin_msgs;
127 CString m_mission_notes_orig;
128 CString m_designer_name_orig;
129 CString m_mission_title_orig;
130 CString m_mission_desc_orig;
133 // ClassWizard generated virtual function overrides
134 //{{AFX_VIRTUAL(CMissionNotesDlg)
136 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
144 // Generated message map functions
145 //{{AFX_MSG(CMissionNotesDlg)
146 virtual BOOL OnInitDialog();
147 afx_msg void OnClose();
148 afx_msg void OnTraining();
149 afx_msg void OnMulti();
150 afx_msg void OnSingle();
151 afx_msg void OnSquadLogo();
153 DECLARE_MESSAGE_MAP()