1 // AsteroidEditorDlg.h : header file
8 /////////////////////////////////////////////////////////////////////////////
9 // asteroid_editor dialog
11 class asteroid_editor : public CDialog
22 asteroid_editor(CWnd* pParent = NULL); // standard constructor
25 //{{AFX_DATA(asteroid_editor)
26 enum { IDD = IDD_ASTEROID_EDITOR };
27 CSpinButtonCtrl m_density_spin;
30 BOOL m_enable_asteroids;
37 BOOL m_enable_inner_bounds;
38 field_type m_field_type; // active or passive
39 debris_genre m_debris_genre; // ship or asteroid
40 int m_field_debris_type[3]; // species and size of ship debris
49 int cur_field, last_field;
50 asteroid_field a_field[1 /*MAX_ASTEROID_FIELDS*/];
53 // ClassWizard generated virtual function overrides
54 //{{AFX_VIRTUAL(asteroid_editor)
56 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
57 virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
63 // Generated message map functions
64 //{{AFX_MSG(asteroid_editor)
65 virtual BOOL OnInitDialog();
66 afx_msg void OnInitMenu(CMenu* pMenu);
67 afx_msg void OnEnableAsteroids();
68 afx_msg void OnClose();
69 afx_msg void OnEnableInnerBox();
70 afx_msg void OnPassiveField();
71 afx_msg void OnFieldShip();
72 afx_msg void OnActiveField();
73 afx_msg void OnFieldAsteroid();