1 #include "shipeditordlg.h"
3 // ShipFlagsDlg.h : header file
6 /////////////////////////////////////////////////////////////////////////////
7 // ship_flags_dlg dialog
9 class ship_flags_dlg : public CDialog
13 ship_flags_dlg(CWnd* pParent = NULL); // standard constructor
15 void update_ship(int ship);
17 int tristate_set(int val, int cur_state);
21 //{{AFX_DATA(ship_flags_dlg)
22 enum { IDD = IDD_SHIP_FLAGS };
23 CButton m_red_alert_carry;
25 CButton m_reinforcement;
26 CButton m_protect_ship;
27 CButton m_beam_protect_ship;
29 CButton m_no_arrival_music;
31 CButton m_invulnerable;
32 CButton m_ignore_count;
36 CButton m_cargo_known;
37 CButton m_special_warp;
38 CSpinButtonCtrl m_destroy_spin;
39 numeric_edit_control m_kdamage;
40 numeric_edit_control m_destroy_value;
41 numeric_edit_control m_escort_value;
42 numeric_edit_control m_respawn_priority;
46 // ClassWizard generated virtual function overrides
47 //{{AFX_VIRTUAL(ship_flags_dlg)
49 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
54 int p_enable; // used to enable(1)/disable(0) controls based on if a player ship
56 // Generated message map functions
57 //{{AFX_MSG(ship_flags_dlg)
58 virtual BOOL OnInitDialog();
59 afx_msg void OnCargoKnown();
60 afx_msg void OnDestroyCheck();
61 afx_msg void OnEscort();
62 afx_msg void OnHiddenFromSensors();
63 afx_msg void OnIgnoreCount();
64 afx_msg void OnInvulnerable();
65 afx_msg void OnKamikaze();
66 afx_msg void OnNoArrivalMusic();
67 afx_msg void OnNoDynamic();
68 afx_msg void OnProtectShip();
69 afx_msg void OnBeamProtectShip();
70 afx_msg void OnReinforcement();
71 afx_msg void OnScannable();
72 afx_msg void OnRedalertcarry();