Open source remastering of the Freespace 2 engine
asteroid_editor Class Reference

#include <asteroideditordlg.h>

Inheritance diagram for asteroid_editor:

Public Types


Public Member Functions

void update_init ()
int query_modified ()
void OnCancel ()
void OnOK ()
void OnEnableField ()
int validate_data ()
 asteroid_editor (CWnd *pParent=NULL)

Public Attributes

CSpinButtonCtrl m_density_spin
int m_avg_speed
int m_density
BOOL m_enable_asteroids
CString m_max_x
CString m_max_y
CString m_max_z
CString m_min_x
CString m_min_y
CString m_min_z
BOOL m_enable_inner_bounds
field_type_t m_field_type
debris_genre_t m_debris_genre
int m_field_debris_type [3]
CString m_box_max_x
CString m_box_max_y
CString m_box_max_z
CString m_box_min_x
CString m_box_min_y
CString m_box_min_z
int cur_field
int last_field
asteroid_field a_field [1]

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnCommand (WPARAM wParam, LPARAM lParam)
virtual BOOL OnInitDialog ()
afx_msg void OnInitMenu (CMenu *pMenu)
afx_msg void OnEnableAsteroids ()
afx_msg void OnClose ()
afx_msg void OnEnableInnerBox ()
afx_msg void OnPassiveField ()
afx_msg void OnFieldShip ()
afx_msg void OnActiveField ()
afx_msg void OnFieldAsteroid ()

Detailed Description

Definition at line 20 of file asteroideditordlg.h.

Member Enumeration Documentation

anonymous enum

Definition at line 35 of file asteroideditordlg.h.

Constructor & Destructor Documentation

asteroid_editor::asteroid_editor ( CWnd *  pParent = NULL)

Definition at line 35 of file asteroideditordlg.cpp.

Member Function Documentation

void asteroid_editor::DoDataExchange ( CDataExchange *  pDX)

Definition at line 66 of file asteroideditordlg.cpp.

void asteroid_editor::OnActiveField ( )

Definition at line 585 of file asteroideditordlg.cpp.

void asteroid_editor::OnCancel ( )

Definition at line 527 of file asteroideditordlg.cpp.

void asteroid_editor::OnClose ( )

Definition at line 533 of file asteroideditordlg.cpp.

BOOL asteroid_editor::OnCommand ( WPARAM  wParam,
LPARAM  lParam 

Definition at line 126 of file asteroideditordlg.cpp.

void asteroid_editor::OnEnableAsteroids ( )

Definition at line 497 of file asteroideditordlg.cpp.

void asteroid_editor::OnEnableField ( )

Definition at line 567 of file asteroideditordlg.cpp.

void asteroid_editor::OnEnableInnerBox ( )

Definition at line 554 of file asteroideditordlg.cpp.

void asteroid_editor::OnFieldAsteroid ( )

Definition at line 662 of file asteroideditordlg.cpp.

void asteroid_editor::OnFieldShip ( )

Definition at line 643 of file asteroideditordlg.cpp.

BOOL asteroid_editor::OnInitDialog ( )

Definition at line 310 of file asteroideditordlg.cpp.

void asteroid_editor::OnInitMenu ( CMenu *  pMenu)

Definition at line 106 of file asteroideditordlg.cpp.

void asteroid_editor::OnOK ( )

Definition at line 294 of file asteroideditordlg.cpp.

void asteroid_editor::OnPassiveField ( )

Definition at line 612 of file asteroideditordlg.cpp.

int asteroid_editor::query_modified ( )

Definition at line 139 of file asteroideditordlg.cpp.

void asteroid_editor::update_init ( )

Definition at line 323 of file asteroideditordlg.cpp.

int asteroid_editor::validate_data ( )

Definition at line 194 of file asteroideditordlg.cpp.

Member Data Documentation

asteroid_field asteroid_editor::a_field[1]

Definition at line 59 of file asteroideditordlg.h.

int asteroid_editor::cur_field

Definition at line 58 of file asteroideditordlg.h.

int asteroid_editor::last_field

Definition at line 58 of file asteroideditordlg.h.

int asteroid_editor::m_avg_speed

Definition at line 37 of file asteroideditordlg.h.

CString asteroid_editor::m_box_max_x

Definition at line 50 of file asteroideditordlg.h.

CString asteroid_editor::m_box_max_y

Definition at line 51 of file asteroideditordlg.h.

CString asteroid_editor::m_box_max_z

Definition at line 52 of file asteroideditordlg.h.

CString asteroid_editor::m_box_min_x

Definition at line 53 of file asteroideditordlg.h.

CString asteroid_editor::m_box_min_y

Definition at line 54 of file asteroideditordlg.h.

CString asteroid_editor::m_box_min_z

Definition at line 55 of file asteroideditordlg.h.

debris_genre_t asteroid_editor::m_debris_genre

Definition at line 48 of file asteroideditordlg.h.

int asteroid_editor::m_density

Definition at line 38 of file asteroideditordlg.h.

CSpinButtonCtrl asteroid_editor::m_density_spin

Definition at line 36 of file asteroideditordlg.h.

BOOL asteroid_editor::m_enable_asteroids

Definition at line 39 of file asteroideditordlg.h.

BOOL asteroid_editor::m_enable_inner_bounds

Definition at line 46 of file asteroideditordlg.h.

int asteroid_editor::m_field_debris_type[3]

Definition at line 49 of file asteroideditordlg.h.

field_type_t asteroid_editor::m_field_type

Definition at line 47 of file asteroideditordlg.h.

CString asteroid_editor::m_max_x

Definition at line 40 of file asteroideditordlg.h.

CString asteroid_editor::m_max_y

Definition at line 41 of file asteroideditordlg.h.

CString asteroid_editor::m_max_z

Definition at line 42 of file asteroideditordlg.h.

CString asteroid_editor::m_min_x

Definition at line 43 of file asteroideditordlg.h.

CString asteroid_editor::m_min_y

Definition at line 44 of file asteroideditordlg.h.

CString asteroid_editor::m_min_z

Definition at line 45 of file asteroideditordlg.h.

The documentation for this class was generated from the following files: