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
9 #include "shipeditordlg.h"
11 // ShipFlagsDlg.h : header file
14 /////////////////////////////////////////////////////////////////////////////
15 // ship_flags_dlg dialog
17 class ship_flags_dlg : public CDialog
21 ship_flags_dlg(CWnd* pParent = NULL); // standard constructor
23 void update_ship(int ship);
25 int tristate_set(int val, int cur_state);
29 //{{AFX_DATA(ship_flags_dlg)
30 enum { IDD = IDD_SHIP_FLAGS };
31 CButton m_red_alert_carry;
33 CButton m_reinforcement;
34 CButton m_protect_ship;
35 CButton m_beam_protect_ship;
37 CButton m_no_arrival_music;
39 CButton m_invulnerable;
40 CButton m_ignore_count;
44 CButton m_cargo_known;
45 CButton m_special_warp;
46 CSpinButtonCtrl m_destroy_spin;
47 numeric_edit_control m_kdamage;
48 numeric_edit_control m_destroy_value;
49 numeric_edit_control m_escort_value;
50 numeric_edit_control m_respawn_priority;
54 // ClassWizard generated virtual function overrides
55 //{{AFX_VIRTUAL(ship_flags_dlg)
57 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
62 int p_enable; // used to enable(1)/disable(0) controls based on if a player ship
64 // Generated message map functions
65 //{{AFX_MSG(ship_flags_dlg)
66 virtual BOOL OnInitDialog();
67 afx_msg void OnCargoKnown();
68 afx_msg void OnDestroyCheck();
69 afx_msg void OnEscort();
70 afx_msg void OnHiddenFromSensors();
71 afx_msg void OnIgnoreCount();
72 afx_msg void OnInvulnerable();
73 afx_msg void OnKamikaze();
74 afx_msg void OnNoArrivalMusic();
75 afx_msg void OnNoDynamic();
76 afx_msg void OnProtectShip();
77 afx_msg void OnBeamProtectShip();
78 afx_msg void OnReinforcement();
79 afx_msg void OnScannable();
80 afx_msg void OnRedalertcarry();