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 // AsteroidEditorDlg.h : header file
12 #include "starfield.h"
16 /////////////////////////////////////////////////////////////////////////////
17 // asteroid_editor dialog
19 class asteroid_editor : public CDialog
30 asteroid_editor(CWnd* pParent = NULL); // standard constructor
33 //{{AFX_DATA(asteroid_editor)
34 enum { IDD = IDD_ASTEROID_EDITOR };
35 CSpinButtonCtrl m_density_spin;
38 BOOL m_enable_asteroids;
45 BOOL m_enable_inner_bounds;
46 field_type m_field_type; // active or passive
47 debris_genre m_debris_genre; // ship or asteroid
48 int m_field_debris_type[3]; // species and size of ship debris
57 int cur_field, last_field;
58 asteroid_field a_field[1 /*MAX_ASTEROID_FIELDS*/];
61 // ClassWizard generated virtual function overrides
62 //{{AFX_VIRTUAL(asteroid_editor)
64 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
65 virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
71 // Generated message map functions
72 //{{AFX_MSG(asteroid_editor)
73 virtual BOOL OnInitDialog();
74 afx_msg void OnInitMenu(CMenu* pMenu);
75 afx_msg void OnEnableAsteroids();
76 afx_msg void OnClose();
77 afx_msg void OnEnableInnerBox();
78 afx_msg void OnPassiveField();
79 afx_msg void OnFieldShip();
80 afx_msg void OnActiveField();
81 afx_msg void OnFieldAsteroid();