Open source remastering of the Freespace 2 engine
CShipEditorDlg Class Reference

#include <shipeditordlg.h>

Inheritance diagram for CShipEditorDlg:

Public Types


Public Member Functions

int tristate_set (int val, int cur_state)
void show_hide_sexp_help ()
void calc_cue_height ()
int verify ()
void OnInitMenu (CMenu *m)
void OnOK ()
int update_data (int redraw=1)
void initialize_data (int full)
 CShipEditorDlg (CWnd *pParent=NULL)
 CShipEditorDlg (CView *pView)
void ship_alt_name_init (int base_ship)
void ship_alt_name_close (int base_ship)
void ship_callsign_init (int base_ship)
void ship_callsign_close (int base_ship)
BOOL Create ()
virtual BOOL Create (LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID, CCreateContext *pContext=NULL)

Public Attributes

int player_ship
int single_ship
int editing
int modified
int select_sexp_node
int bypass_errors
int bypass_all
int enable
int p_enable
CButton m_no_departure_warp
CButton m_no_arrival_warp
CButton m_player_ship
CSpinButtonCtrl m_destroy_spin
CSpinButtonCtrl m_departure_delay_spin
CSpinButtonCtrl m_arrival_delay_spin
sexp_tree m_departure_tree
sexp_tree m_arrival_tree
CString m_ship_name
CString m_cargo1
int m_ship_class
int m_team
int m_arrival_location
int m_departure_location
int m_ai_class
numeric_edit_control m_arrival_delay
numeric_edit_control m_departure_delay
int m_hotkey
BOOL m_update_arrival
BOOL m_update_departure
numeric_edit_control m_destroy_value
numeric_edit_control m_score
numeric_edit_control m_assist_score
numeric_edit_control m_arrival_dist
numeric_edit_control m_kdamage
int m_arrival_target
int m_departure_target
int m_persona

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnCommand (WPARAM wParam, LPARAM lParam)
afx_msg void OnClose ()
afx_msg void OnRclickArrivalTree (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnRclickDepartureTree (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnBeginlabeleditArrivalTree (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnBeginlabeleditDepartureTree (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnEndlabeleditArrivalTree (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnEndlabeleditDepartureTree (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnGoals ()
afx_msg void OnSelchangeShipClass ()
afx_msg void OnInitialStatus ()
afx_msg void OnWeapons ()
afx_msg void OnShipReset ()
afx_msg void OnDeleteShip ()
afx_msg void OnShipTbl ()
afx_msg void OnNext ()
afx_msg void OnSelchangedArrivalTree (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnSelchangedDepartureTree (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnHideCues ()
afx_msg void OnPrev ()
afx_msg void OnSelchangeArrivalLocation ()
afx_msg void OnPlayerShip ()
afx_msg void OnNoArrivalWarp ()
afx_msg void OnNoDepartureWarp ()
afx_msg void OnSelchangeDepartureLocation ()
afx_msg void OnSelchangeHotkey ()
afx_msg void OnFlags ()
afx_msg void OnIgnoreOrders ()
afx_msg void OnSpecialExp ()
afx_msg void OnTextures ()
afx_msg void OnSpecialHitpoints ()
afx_msg void OnAltShipClass ()
afx_msg void OnSetAsPlayerShip ()
afx_msg void OnRestrictArrival ()
afx_msg void OnRestrictDeparture ()

Detailed Description

Definition at line 42 of file shipeditordlg.h.

Member Enumeration Documentation

anonymous enum

Definition at line 90 of file shipeditordlg.h.

Constructor & Destructor Documentation

CShipEditorDlg::CShipEditorDlg ( CWnd *  pParent = NULL)

Definition at line 111 of file shipeditordlg.cpp.

CShipEditorDlg::CShipEditorDlg ( CView *  pView)

Definition at line 137 of file shipeditordlg.cpp.

Member Function Documentation

void CShipEditorDlg::calc_cue_height ( )

Definition at line 1835 of file shipeditordlg.cpp.

BOOL CShipEditorDlg::Create ( )

Definition at line 244 of file shipeditordlg.cpp.

BOOL CShipEditorDlg::Create ( LPCTSTR  lpszClassName,
LPCTSTR  lpszWindowName,
DWORD  dwStyle,
const RECT &  rect,
CWnd *  pParentWnd,
CCreateContext *  pContext = NULL 

Definition at line 349 of file shipeditordlg.cpp.

void CShipEditorDlg::DoDataExchange ( CDataExchange *  pDX)

Definition at line 144 of file shipeditordlg.cpp.

void CShipEditorDlg::initialize_data ( int  full)

Definition at line 385 of file shipeditordlg.cpp.

void CShipEditorDlg::OnAltShipClass ( )

Definition at line 2264 of file shipeditordlg.cpp.

void CShipEditorDlg::OnBeginlabeleditArrivalTree ( NMHDR *  pNMHDR,
LRESULT pResult 

Definition at line 1478 of file shipeditordlg.cpp.

void CShipEditorDlg::OnBeginlabeleditDepartureTree ( NMHDR *  pNMHDR,
LRESULT pResult 

Definition at line 1490 of file shipeditordlg.cpp.

void CShipEditorDlg::OnClose ( )

Definition at line 331 of file shipeditordlg.cpp.

BOOL CShipEditorDlg::OnCommand ( WPARAM  wParam,
LPARAM  lParam 

Definition at line 1449 of file shipeditordlg.cpp.

void CShipEditorDlg::OnDeleteShip ( )

Definition at line 1709 of file shipeditordlg.cpp.

void CShipEditorDlg::OnEndlabeleditArrivalTree ( NMHDR *  pNMHDR,
LRESULT pResult 

Definition at line 1502 of file shipeditordlg.cpp.

void CShipEditorDlg::OnEndlabeleditDepartureTree ( NMHDR *  pNMHDR,
LRESULT pResult 

Definition at line 1510 of file shipeditordlg.cpp.

void CShipEditorDlg::OnFlags ( )

Definition at line 2011 of file shipeditordlg.cpp.

void CShipEditorDlg::OnGoals ( )

Definition at line 1530 of file shipeditordlg.cpp.

void CShipEditorDlg::OnHideCues ( )

Definition at line 1879 of file shipeditordlg.cpp.

void CShipEditorDlg::OnIgnoreOrders ( )

Definition at line 2019 of file shipeditordlg.cpp.

void CShipEditorDlg::OnInitialStatus ( )

Definition at line 1575 of file shipeditordlg.cpp.

void CShipEditorDlg::OnInitMenu ( CMenu *  m)

Definition at line 1436 of file shipeditordlg.cpp.

void CShipEditorDlg::OnNext ( )

Definition at line 1777 of file shipeditordlg.cpp.

void CShipEditorDlg::OnNoArrivalWarp ( )

Definition at line 1977 of file shipeditordlg.cpp.

void CShipEditorDlg::OnNoDepartureWarp ( )

Definition at line 1985 of file shipeditordlg.cpp.

void CShipEditorDlg::OnOK ( )

Definition at line 1423 of file shipeditordlg.cpp.

void CShipEditorDlg::OnPlayerShip ( )

Definition at line 1967 of file shipeditordlg.cpp.

void CShipEditorDlg::OnPrev ( )

Definition at line 1740 of file shipeditordlg.cpp.

void CShipEditorDlg::OnRclickArrivalTree ( NMHDR *  pNMHDR,
LRESULT pResult 

Definition at line 1466 of file shipeditordlg.cpp.

void CShipEditorDlg::OnRclickDepartureTree ( NMHDR *  pNMHDR,
LRESULT pResult 

Definition at line 1472 of file shipeditordlg.cpp.

void CShipEditorDlg::OnRestrictArrival ( )

Definition at line 2309 of file shipeditordlg.cpp.

void CShipEditorDlg::OnRestrictDeparture ( )

Definition at line 2353 of file shipeditordlg.cpp.

void CShipEditorDlg::OnSelchangeArrivalLocation ( )

Definition at line 1896 of file shipeditordlg.cpp.

void CShipEditorDlg::OnSelchangedArrivalTree ( NMHDR *  pNMHDR,
LRESULT pResult 

Definition at line 1809 of file shipeditordlg.cpp.

void CShipEditorDlg::OnSelchangedDepartureTree ( NMHDR *  pNMHDR,
LRESULT pResult 

Definition at line 1822 of file shipeditordlg.cpp.

void CShipEditorDlg::OnSelchangeDepartureLocation ( )

Definition at line 1931 of file shipeditordlg.cpp.

void CShipEditorDlg::OnSelchangeHotkey ( )

Definition at line 1996 of file shipeditordlg.cpp.

void CShipEditorDlg::OnSelchangeShipClass ( )

Definition at line 1555 of file shipeditordlg.cpp.

void CShipEditorDlg::OnSetAsPlayerShip ( )

Definition at line 2271 of file shipeditordlg.cpp.

void CShipEditorDlg::OnShipReset ( )

Definition at line 1625 of file shipeditordlg.cpp.

void CShipEditorDlg::OnShipTbl ( )

Definition at line 1715 of file shipeditordlg.cpp.

void CShipEditorDlg::OnSpecialExp ( )

Definition at line 2039 of file shipeditordlg.cpp.

void CShipEditorDlg::OnSpecialHitpoints ( )

Definition at line 2258 of file shipeditordlg.cpp.

void CShipEditorDlg::OnTextures ( )

Definition at line 2239 of file shipeditordlg.cpp.

void CShipEditorDlg::OnWeapons ( )

Definition at line 1583 of file shipeditordlg.cpp.

void CShipEditorDlg::ship_alt_name_close ( int  base_ship)

Definition at line 2079 of file shipeditordlg.cpp.

void CShipEditorDlg::ship_alt_name_init ( int  base_ship)

Definition at line 2047 of file shipeditordlg.cpp.

void CShipEditorDlg::ship_callsign_close ( int  base_ship)

Definition at line 2175 of file shipeditordlg.cpp.

void CShipEditorDlg::ship_callsign_init ( int  base_ship)

Definition at line 2143 of file shipeditordlg.cpp.

void CShipEditorDlg::show_hide_sexp_help ( )

Definition at line 1852 of file shipeditordlg.cpp.

int CShipEditorDlg::tristate_set ( int  val,
int  cur_state 

Definition at line 357 of file shipeditordlg.cpp.

int CShipEditorDlg::update_data ( int  redraw = 1)

Definition at line 1014 of file shipeditordlg.cpp.

int CShipEditorDlg::verify ( )

Definition at line 1518 of file shipeditordlg.cpp.

Member Data Documentation

int CShipEditorDlg::bypass_all

Definition at line 62 of file shipeditordlg.h.

int CShipEditorDlg::bypass_errors

Definition at line 61 of file shipeditordlg.h.

int CShipEditorDlg::editing

Definition at line 58 of file shipeditordlg.h.

int CShipEditorDlg::enable

Definition at line 64 of file shipeditordlg.h.

int CShipEditorDlg::m_ai_class

Definition at line 105 of file shipeditordlg.h.

numeric_edit_control CShipEditorDlg::m_arrival_delay

Definition at line 106 of file shipeditordlg.h.

CSpinButtonCtrl CShipEditorDlg::m_arrival_delay_spin

Definition at line 96 of file shipeditordlg.h.

numeric_edit_control CShipEditorDlg::m_arrival_dist

Definition at line 114 of file shipeditordlg.h.

int CShipEditorDlg::m_arrival_location

Definition at line 103 of file shipeditordlg.h.

int CShipEditorDlg::m_arrival_target

Definition at line 116 of file shipeditordlg.h.

sexp_tree CShipEditorDlg::m_arrival_tree

Definition at line 98 of file shipeditordlg.h.

numeric_edit_control CShipEditorDlg::m_assist_score

Definition at line 113 of file shipeditordlg.h.

CString CShipEditorDlg::m_cargo1

Definition at line 100 of file shipeditordlg.h.

numeric_edit_control CShipEditorDlg::m_departure_delay

Definition at line 107 of file shipeditordlg.h.

CSpinButtonCtrl CShipEditorDlg::m_departure_delay_spin

Definition at line 95 of file shipeditordlg.h.

int CShipEditorDlg::m_departure_location

Definition at line 104 of file shipeditordlg.h.

int CShipEditorDlg::m_departure_target

Definition at line 117 of file shipeditordlg.h.

sexp_tree CShipEditorDlg::m_departure_tree

Definition at line 97 of file shipeditordlg.h.

CSpinButtonCtrl CShipEditorDlg::m_destroy_spin

Definition at line 94 of file shipeditordlg.h.

numeric_edit_control CShipEditorDlg::m_destroy_value

Definition at line 111 of file shipeditordlg.h.

int CShipEditorDlg::m_hotkey

Definition at line 108 of file shipeditordlg.h.

numeric_edit_control CShipEditorDlg::m_kdamage

Definition at line 115 of file shipeditordlg.h.

CButton CShipEditorDlg::m_no_arrival_warp

Definition at line 92 of file shipeditordlg.h.

CButton CShipEditorDlg::m_no_departure_warp

Definition at line 91 of file shipeditordlg.h.

int CShipEditorDlg::m_persona

Definition at line 118 of file shipeditordlg.h.

CButton CShipEditorDlg::m_player_ship

Definition at line 93 of file shipeditordlg.h.

numeric_edit_control CShipEditorDlg::m_score

Definition at line 112 of file shipeditordlg.h.

int CShipEditorDlg::m_ship_class

Definition at line 101 of file shipeditordlg.h.

CString CShipEditorDlg::m_ship_name

Definition at line 99 of file shipeditordlg.h.

int CShipEditorDlg::m_team

Definition at line 102 of file shipeditordlg.h.

BOOL CShipEditorDlg::m_update_arrival

Definition at line 109 of file shipeditordlg.h.

BOOL CShipEditorDlg::m_update_departure

Definition at line 110 of file shipeditordlg.h.

int CShipEditorDlg::modified

Definition at line 59 of file shipeditordlg.h.

int CShipEditorDlg::p_enable

Definition at line 65 of file shipeditordlg.h.

int CShipEditorDlg::player_ship

Definition at line 57 of file shipeditordlg.h.

int CShipEditorDlg::select_sexp_node

Definition at line 60 of file shipeditordlg.h.

int CShipEditorDlg::single_ship

Definition at line 57 of file shipeditordlg.h.

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