]> icculus.org git repositories - taylor/freespace2.git/blob - include/waypointpathdlg.h
Initial revision
[taylor/freespace2.git] / include / waypointpathdlg.h
1 /*
2  * $Logfile: /Freespace2/code/FRED2/WaypointPathDlg.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Waypoint editor
8  *
9  * $Log$
10  * Revision 1.1  2002/05/03 03:28:12  root
11  * Initial revision
12  *
13  * 
14  * 2     10/07/98 6:28p Dave
15  * Initial checkin. Renamed all relevant stuff to be Fred2 instead of
16  * Fred. Globalized mission and campaign file extensions. Removed Silent
17  * Threat specific code.
18  * 
19  * 1     10/07/98 3:02p Dave
20  * 
21  * 1     10/07/98 3:00p Dave
22  * 
23  * 4     5/23/97 1:53p Hoffoss
24  * Fixed problems with modeless dialog updating.  It won't get caught in
25  * an infinate loop anymore, but still gives an error warning 3 times when
26  * using cancel and trying to switch window focus to main window.  Don't
27  * know if I can fix that, but it's not too critical right now.
28  * 
29  * 3     3/13/97 12:09p Hoffoss
30  * Waypoint path editor finished (apparently I didn't get around to
31  * completing it before).
32  * 
33  * 2     2/12/97 12:26p Hoffoss
34  * Expanded on global error checker, added initial orders conflict
35  * checking and warning, added waypoint editor dialog and code.
36  *
37  * $NoKeywords: $
38  */
39
40 #ifndef _WAYPOINTPATHDLG_H
41 #define _WAYPOINTPATHDLG_H
42
43 /////////////////////////////////////////////////////////////////////////////
44 // waypoint_path_dlg dialog
45
46 class waypoint_path_dlg : public CDialog
47 {
48 // Construction
49 public:
50         int bypass_errors;
51         int update_data(int redraw = 1);
52         void initialize_data(int full_update);
53         void OnOK();
54         BOOL Create();
55         waypoint_path_dlg(CWnd* pParent = NULL);   // standard constructor
56
57 // Dialog Data
58         //{{AFX_DATA(waypoint_path_dlg)
59         enum { IDD = IDD_WAYPOINT_PATH_EDITOR };
60         CString m_name;
61         //}}AFX_DATA
62
63 // Overrides
64         // ClassWizard generated virtual function overrides
65         //{{AFX_VIRTUAL(waypoint_path_dlg)
66         protected:
67         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
68         virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
69         //}}AFX_VIRTUAL
70
71 // Implementation
72 protected:
73
74         // Generated message map functions
75         //{{AFX_MSG(waypoint_path_dlg)
76         afx_msg void OnInitMenu(CMenu* pMenu);
77         afx_msg void OnClose();
78         //}}AFX_MSG
79         DECLARE_MESSAGE_MAP()
80 };
81
82 #endif
83