FS2_Open
Open source remastering of the Freespace 2 engine
ShipGoalsDlg Class Reference

#include <shipgoalsdlg.h>

Inheritance diagram for ShipGoalsDlg:

Public Types

enum  { IDD = IDD_SHIP_GOALS_EDITOR }
 

Public Member Functions

int verify_orders (int ship=-1)
 
void initialize_multi ()
 
void OnOK ()
 
void update ()
 
void initialize (ai_goal *goals, int ship=cur_ship)
 
 ShipGoalsDlg (CWnd *pParent=NULL)
 
virtual BOOL Create (LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID, CCreateContext *pContext=NULL)
 

Public Attributes

int self_ship
 
int self_wing
 
int m_behavior [ED_MAX_GOALS]
 
int m_object [ED_MAX_GOALS]
 
int m_priority [ED_MAX_GOALS]
 
int m_subsys [ED_MAX_GOALS]
 
int m_dock2 [ED_MAX_GOALS]
 
int m_data [ED_MAX_GOALS]
 
CComboBox * m_behavior_box [ED_MAX_GOALS]
 
CComboBox * m_object_box [ED_MAX_GOALS]
 
CComboBox * m_subsys_box [ED_MAX_GOALS]
 
CComboBox * m_dock2_box [ED_MAX_GOALS]
 
CComboBox * m_priority_box [ED_MAX_GOALS]
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 
virtual BOOL OnInitDialog ()
 
afx_msg void OnSelchangeBehavior1 ()
 
afx_msg void OnSelchangeBehavior2 ()
 
afx_msg void OnSelchangeBehavior3 ()
 
afx_msg void OnSelchangeBehavior4 ()
 
afx_msg void OnSelchangeBehavior5 ()
 
afx_msg void OnSelchangeBehavior6 ()
 
afx_msg void OnSelchangeBehavior7 ()
 
afx_msg void OnSelchangeBehavior8 ()
 
afx_msg void OnSelchangeBehavior9 ()
 
afx_msg void OnSelchangeBehavior10 ()
 
afx_msg void OnSelchangeObject1 ()
 
afx_msg void OnSelchangeObject2 ()
 
afx_msg void OnSelchangeObject3 ()
 
afx_msg void OnSelchangeObject4 ()
 
afx_msg void OnSelchangeObject5 ()
 
afx_msg void OnSelchangeObject6 ()
 
afx_msg void OnSelchangeObject7 ()
 
afx_msg void OnSelchangeObject8 ()
 
afx_msg void OnSelchangeObject9 ()
 
afx_msg void OnSelchangeObject10 ()
 

Detailed Description

Definition at line 23 of file shipgoalsdlg.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 50 of file shipgoalsdlg.h.

Constructor & Destructor Documentation

ShipGoalsDlg::ShipGoalsDlg ( CWnd *  pParent = NULL)

Definition at line 38 of file shipgoalsdlg.cpp.

Member Function Documentation

BOOL ShipGoalsDlg::Create ( LPCTSTR  lpszClassName,
LPCTSTR  lpszWindowName,
DWORD  dwStyle,
const RECT &  rect,
CWnd *  pParentWnd,
UINT  nID,
CCreateContext *  pContext = NULL 
)
virtual

Definition at line 158 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 58 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::initialize ( ai_goal goals,
int  ship = cur_ship 
)

Definition at line 402 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::initialize_multi ( )

Definition at line 338 of file shipgoalsdlg.cpp.

BOOL ShipGoalsDlg::OnInitDialog ( )
protectedvirtual

Definition at line 163 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnOK ( )

Definition at line 1053 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeBehavior1 ( )
protected

Definition at line 723 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeBehavior10 ( )
protected

Definition at line 804 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeBehavior2 ( )
protected

Definition at line 732 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeBehavior3 ( )
protected

Definition at line 741 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeBehavior4 ( )
protected

Definition at line 750 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeBehavior5 ( )
protected

Definition at line 759 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeBehavior6 ( )
protected

Definition at line 768 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeBehavior7 ( )
protected

Definition at line 777 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeBehavior8 ( )
protected

Definition at line 786 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeBehavior9 ( )
protected

Definition at line 795 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeObject1 ( )
protected

Definition at line 1073 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeObject10 ( )
protected

Definition at line 1145 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeObject2 ( )
protected

Definition at line 1081 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeObject3 ( )
protected

Definition at line 1089 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeObject4 ( )
protected

Definition at line 1097 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeObject5 ( )
protected

Definition at line 1105 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeObject6 ( )
protected

Definition at line 1113 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeObject7 ( )
protected

Definition at line 1121 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeObject8 ( )
protected

Definition at line 1129 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::OnSelchangeObject9 ( )
protected

Definition at line 1137 of file shipgoalsdlg.cpp.

void ShipGoalsDlg::update ( )

Definition at line 813 of file shipgoalsdlg.cpp.

int ShipGoalsDlg::verify_orders ( int  ship = -1)

Definition at line 850 of file shipgoalsdlg.cpp.

Member Data Documentation

int ShipGoalsDlg::m_behavior[ED_MAX_GOALS]

Definition at line 35 of file shipgoalsdlg.h.

CComboBox* ShipGoalsDlg::m_behavior_box[ED_MAX_GOALS]

Definition at line 42 of file shipgoalsdlg.h.

int ShipGoalsDlg::m_data[ED_MAX_GOALS]

Definition at line 40 of file shipgoalsdlg.h.

int ShipGoalsDlg::m_dock2[ED_MAX_GOALS]

Definition at line 39 of file shipgoalsdlg.h.

CComboBox* ShipGoalsDlg::m_dock2_box[ED_MAX_GOALS]

Definition at line 45 of file shipgoalsdlg.h.

int ShipGoalsDlg::m_object[ED_MAX_GOALS]

Definition at line 36 of file shipgoalsdlg.h.

CComboBox* ShipGoalsDlg::m_object_box[ED_MAX_GOALS]

Definition at line 43 of file shipgoalsdlg.h.

int ShipGoalsDlg::m_priority[ED_MAX_GOALS]

Definition at line 37 of file shipgoalsdlg.h.

CComboBox* ShipGoalsDlg::m_priority_box[ED_MAX_GOALS]

Definition at line 46 of file shipgoalsdlg.h.

int ShipGoalsDlg::m_subsys[ED_MAX_GOALS]

Definition at line 38 of file shipgoalsdlg.h.

CComboBox* ShipGoalsDlg::m_subsys_box[ED_MAX_GOALS]

Definition at line 44 of file shipgoalsdlg.h.

int ShipGoalsDlg::self_ship

Definition at line 34 of file shipgoalsdlg.h.

int ShipGoalsDlg::self_wing

Definition at line 34 of file shipgoalsdlg.h.


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