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

#include <weaponeditordlg.h>

Inheritance diagram for WeaponEditorDlg:

Public Types

enum  { IDD = IDD_WEAPON_EDITOR }
 

Public Member Functions

void update_pilot ()
 
void OnCancel ()
 
void change_selection ()
 
void OnOK ()
 
 WeaponEditorDlg (CWnd *pParent=NULL)
 

Public Attributes

int m_ammo_max1
 
int m_ammo_max2
 
int m_ammo_max3
 
int m_ammo_max4
 
int m_last_item
 
int m_ship
 
int m_ship_class
 
int m_multi_edit
 
ship_weapon pilot
 
ship_weaponcur_weapon
 
CSpinButtonCtrl m_spin4
 
CSpinButtonCtrl m_spin3
 
CSpinButtonCtrl m_spin2
 
CSpinButtonCtrl m_spin1
 
int m_ai_class
 
int m_ammo1
 
int m_ammo2
 
int m_ammo3
 
int m_ammo4
 
int m_gun1
 
int m_gun2
 
int m_gun3
 
int m_missile1
 
int m_missile2
 
int m_missile3
 
int m_missile4
 
int m_cur_item
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 
virtual BOOL OnInitDialog ()
 
afx_msg void OnSelchangeList ()
 
afx_msg void OnClose ()
 
afx_msg void OnSelchangeMissile1 ()
 
afx_msg void OnSelchangeMissile2 ()
 
afx_msg void OnSelchangeMissile3 ()
 
afx_msg void OnSelchangeMissile4 ()
 

Detailed Description

Definition at line 17 of file weaponeditordlg.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 39 of file weaponeditordlg.h.

Constructor & Destructor Documentation

WeaponEditorDlg::WeaponEditorDlg ( CWnd *  pParent = NULL)

Definition at line 30 of file weaponeditordlg.cpp.

Member Function Documentation

void WeaponEditorDlg::change_selection ( )

Definition at line 326 of file weaponeditordlg.cpp.

void WeaponEditorDlg::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 66 of file weaponeditordlg.cpp.

void WeaponEditorDlg::OnCancel ( )

Definition at line 534 of file weaponeditordlg.cpp.

void WeaponEditorDlg::OnClose ( )
protected

Definition at line 543 of file weaponeditordlg.cpp.

BOOL WeaponEditorDlg::OnInitDialog ( )
protectedvirtual

Definition at line 182 of file weaponeditordlg.cpp.

void WeaponEditorDlg::OnOK ( )

Definition at line 525 of file weaponeditordlg.cpp.

void WeaponEditorDlg::OnSelchangeList ( )
protected

Definition at line 319 of file weaponeditordlg.cpp.

void WeaponEditorDlg::OnSelchangeMissile1 ( )
protected

Definition at line 584 of file weaponeditordlg.cpp.

void WeaponEditorDlg::OnSelchangeMissile2 ( )
protected

Definition at line 597 of file weaponeditordlg.cpp.

void WeaponEditorDlg::OnSelchangeMissile3 ( )
protected

Definition at line 610 of file weaponeditordlg.cpp.

void WeaponEditorDlg::OnSelchangeMissile4 ( )
protected

Definition at line 623 of file weaponeditordlg.cpp.

void WeaponEditorDlg::update_pilot ( )

Definition at line 552 of file weaponeditordlg.cpp.

Member Data Documentation

ship_weapon * WeaponEditorDlg::cur_weapon

Definition at line 35 of file weaponeditordlg.h.

int WeaponEditorDlg::m_ai_class

Definition at line 44 of file weaponeditordlg.h.

int WeaponEditorDlg::m_ammo1

Definition at line 45 of file weaponeditordlg.h.

int WeaponEditorDlg::m_ammo2

Definition at line 46 of file weaponeditordlg.h.

int WeaponEditorDlg::m_ammo3

Definition at line 47 of file weaponeditordlg.h.

int WeaponEditorDlg::m_ammo4

Definition at line 48 of file weaponeditordlg.h.

int WeaponEditorDlg::m_ammo_max1

Definition at line 27 of file weaponeditordlg.h.

int WeaponEditorDlg::m_ammo_max2

Definition at line 28 of file weaponeditordlg.h.

int WeaponEditorDlg::m_ammo_max3

Definition at line 29 of file weaponeditordlg.h.

int WeaponEditorDlg::m_ammo_max4

Definition at line 30 of file weaponeditordlg.h.

int WeaponEditorDlg::m_cur_item

Definition at line 56 of file weaponeditordlg.h.

int WeaponEditorDlg::m_gun1

Definition at line 49 of file weaponeditordlg.h.

int WeaponEditorDlg::m_gun2

Definition at line 50 of file weaponeditordlg.h.

int WeaponEditorDlg::m_gun3

Definition at line 51 of file weaponeditordlg.h.

int WeaponEditorDlg::m_last_item

Definition at line 31 of file weaponeditordlg.h.

int WeaponEditorDlg::m_missile1

Definition at line 52 of file weaponeditordlg.h.

int WeaponEditorDlg::m_missile2

Definition at line 53 of file weaponeditordlg.h.

int WeaponEditorDlg::m_missile3

Definition at line 54 of file weaponeditordlg.h.

int WeaponEditorDlg::m_missile4

Definition at line 55 of file weaponeditordlg.h.

int WeaponEditorDlg::m_multi_edit

Definition at line 34 of file weaponeditordlg.h.

int WeaponEditorDlg::m_ship

Definition at line 32 of file weaponeditordlg.h.

int WeaponEditorDlg::m_ship_class

Definition at line 33 of file weaponeditordlg.h.

CSpinButtonCtrl WeaponEditorDlg::m_spin1

Definition at line 43 of file weaponeditordlg.h.

CSpinButtonCtrl WeaponEditorDlg::m_spin2

Definition at line 42 of file weaponeditordlg.h.

CSpinButtonCtrl WeaponEditorDlg::m_spin3

Definition at line 41 of file weaponeditordlg.h.

CSpinButtonCtrl WeaponEditorDlg::m_spin4

Definition at line 40 of file weaponeditordlg.h.

ship_weapon WeaponEditorDlg::pilot

Definition at line 35 of file weaponeditordlg.h.


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