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/IgnoreOrdersDlg.h $
15 * header for dialog to set which orders from the player that a particular ship should ignore
21 // we won't have more than 9 checkboxes per dialog
22 #define MAX_CHECKBOXES 10
24 /////////////////////////////////////////////////////////////////////////////
25 // ignore_orders_dlg dialog
27 typedef struct check_box_info {
32 class ignore_orders_dlg : public CDialog
37 ignore_orders_dlg(CWnd* pParent = NULL); // standard constructor
40 check_box_info check_boxes[MAX_CHECKBOXES];
41 int m_num_checks_active;
44 //{{AFX_DATA(ignore_orders_dlg)
45 enum { IDD = IDD_IGNORE_ORDERS };
46 // NOTE: the ClassWizard will add data members here
51 // ClassWizard generated virtual function overrides
52 //{{AFX_VIRTUAL(ignore_orders_dlg)
54 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
60 // Generated message map functions
61 //{{AFX_MSG(ignore_orders_dlg)
62 virtual BOOL OnInitDialog();
64 afx_msg void OnCheck1();
65 afx_msg void OnCheck2();
66 afx_msg void OnCheck3();
67 afx_msg void OnCheck4();
68 afx_msg void OnCheck5();
69 afx_msg void OnCheck6();
70 afx_msg void OnCheck7();
71 afx_msg void OnCheck8();
72 afx_msg void OnCheck9();
73 afx_msg void OnCheck10();
78 typedef struct fred_comm_order {
83 fred_comm_order Fred_comm_orders[];
85 extern int Fred_comm_orders_max;