2 * $Logfile: /Freespace2/code/FRED2/IgnoreOrdersDlg.h $
7 * header for dialog to set which orders from the player that a particular ship should ignore
13 // we won't have more than 9 checkboxes per dialog
14 #define MAX_CHECKBOXES 10
16 /////////////////////////////////////////////////////////////////////////////
17 // ignore_orders_dlg dialog
19 typedef struct check_box_info {
24 class ignore_orders_dlg : public CDialog
29 ignore_orders_dlg(CWnd* pParent = NULL); // standard constructor
32 check_box_info check_boxes[MAX_CHECKBOXES];
33 int m_num_checks_active;
36 //{{AFX_DATA(ignore_orders_dlg)
37 enum { IDD = IDD_IGNORE_ORDERS };
38 // NOTE: the ClassWizard will add data members here
43 // ClassWizard generated virtual function overrides
44 //{{AFX_VIRTUAL(ignore_orders_dlg)
46 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
52 // Generated message map functions
53 //{{AFX_MSG(ignore_orders_dlg)
54 virtual BOOL OnInitDialog();
56 afx_msg void OnCheck1();
57 afx_msg void OnCheck2();
58 afx_msg void OnCheck3();
59 afx_msg void OnCheck4();
60 afx_msg void OnCheck5();
61 afx_msg void OnCheck6();
62 afx_msg void OnCheck7();
63 afx_msg void OnCheck8();
64 afx_msg void OnCheck9();
65 afx_msg void OnCheck10();
70 typedef struct fred_comm_order {
75 fred_comm_order Fred_comm_orders[];
77 extern int Fred_comm_orders_max;