doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
CEntityDlg Class Reference

#include <EntityDlg.h>

Inheritance diagram for CEntityDlg:

Public Types

enum  { IDD = IDD_DIALOG_ENTITY }
 

Public Member Functions

 CEntityDlg (CWnd *pParent=NULL)
 
virtual ~CEntityDlg ()
 
void SetDict (idDict *_dict)
 
void SetEditEntity (entity_t *ent)
 
void CreateEntity ()
 
void AssignModel ()
 
void SetKeyVal (const char *key, const char *val)
 
void EditCurvePoints ()
 
void AddCurvePoints ()
 
void InsertCurvePoint ()
 
void DeleteCurvePoint ()
 
virtual BOOL OnInitDialog ()
 
virtual int OnToolHitTest (CPoint point, TOOLINFO *pTI) const
 
void AddClassNames ()
 
void UpdateEntitySel (eclass_t *ent)
 
void SetKeyValPairs (bool updateAnims=true)
 
void AddProp ()
 
void DelProp ()
 
void UpdateFromListBox ()
 
void UpdateKeyVal (const char *key, const char *val)
 
void SelectCurvePointByRay (const idVec3 &org, const idVec3 &dir, int buttons)
 
void UpdateEntityCurve ()
 
void UpdateFromAnimationFrame (bool updateKeyValueDisplay=true)
 
afx_msg void OnSize (UINT nType, int cx, int cy)
 
afx_msg void OnCbnSelchangeComboClass ()
 
afx_msg void OnLbnSelchangeListkeyval ()
 
virtual BOOL PreTranslateMessage (MSG *pMsg)
 
afx_msg void OnBnClickedE135 ()
 
afx_msg void OnBnClickedE90 ()
 
afx_msg void OnBnClickedE45 ()
 
afx_msg void OnBnClickedE180 ()
 
afx_msg void OnBnClickedE0 ()
 
afx_msg void OnBnClickedE225 ()
 
afx_msg void OnBnClickedE270 ()
 
afx_msg void OnBnClickedE315 ()
 
afx_msg void OnBnClickedEUp ()
 
afx_msg void OnBnClickedEDown ()
 
afx_msg void OnBnClickedButtonModel ()
 
afx_msg void OnBnClickedButtonSound ()
 
afx_msg void OnBnClickedButtonGui ()
 
afx_msg void OnBnClickedButtonBrowse ()
 
afx_msg void OnCbnDblclkComboClass ()
 
afx_msg void OnBnClickedButtonCreate ()
 
afx_msg void OnBnClickedStartAnimation ()
 
afx_msg void OnBnClickedStopAnimation ()
 
afx_msg void OnLbnDblclkListkeyval ()
 
afx_msg void OnLbnSelchangeListVars ()
 
afx_msg void OnLbnDblclkListVars ()
 
void OnNMReleasedcaptureSlider1 (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnCbnAnimationChange ()
 
void OnTimer (UINT nIDEvent)
 
afx_msg void OnBnClickedButtonParticle ()
 
afx_msg void OnBnClickedButtonSkin ()
 
afx_msg void OnBnClickedButtonCurve ()
 

Static Public Member Functions

static CPreviewDlgShowModelChooser ()
 
static CPreviewDlgShowGuiChooser ()
 
static CPreviewDlgShowSoundChooser ()
 
static CPreviewDlgShowMaterialChooser ()
 
static CPreviewDlgShowParticleChooser ()
 
static CPreviewDlgShowSkinChooser (entity_t *ent)
 
static const char * TranslateString (const char *p)
 

Public Attributes

CEdit editKey
 
CEdit editVal
 
CStatic staticTitle
 
CStatic staticKey
 
CStatic staticVal
 
CStatic staticFrame
 
CButton btnPlayAnim
 
CButton btnStopAnim
 
CButton btnBrowse
 
CButton btn135
 
CButton btn90
 
CButton btn45
 
CButton btn180
 
CButton btn360
 
CButton btn225
 
CButton btn270
 
CButton btn315
 
CButton btnUp
 
CButton btnDown
 
CButton btnModel
 
CButton btnSound
 
CButton btnGui
 
CButton btnParticle
 
CButton btnSkin
 
CButton btnCurve
 
CComboBox cbAnimations
 
CSliderCtrl slFrameSlider
 
CButton btnCreate
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 

Private Member Functions

const char * AngleKey ()
 

Private Attributes

entity_teditEntity
 
bool multipleEntities
 
CPropertyList listKeyVal
 
CPropertyList listVars
 
CComboBox comboClass
 
idDictdict
 
const idMD5AnimcurrentAnimation
 
int currentAnimationFrame
 
idPointListInterface curvePoints
 

Detailed Description

Definition at line 38 of file EntityDlg.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 70 of file EntityDlg.h.

Constructor & Destructor Documentation

CEntityDlg::CEntityDlg ( CWnd *  pParent = NULL)

Definition at line 47 of file EntityDlg.cpp.

CEntityDlg::~CEntityDlg ( )
virtual

Definition at line 55 of file EntityDlg.cpp.

Member Function Documentation

void CEntityDlg::AddClassNames ( )

Definition at line 117 of file EntityDlg.cpp.

void CEntityDlg::AddCurvePoints ( )

Definition at line 1168 of file EntityDlg.cpp.

void CEntityDlg::AddProp ( )

Definition at line 596 of file EntityDlg.cpp.

const char * CEntityDlg::AngleKey ( )
private

Definition at line 658 of file EntityDlg.cpp.

void CEntityDlg::AssignModel ( )

Definition at line 855 of file EntityDlg.cpp.

void CEntityDlg::CreateEntity ( )

Definition at line 942 of file EntityDlg.cpp.

void CEntityDlg::DeleteCurvePoint ( )

Definition at line 1292 of file EntityDlg.cpp.

void CEntityDlg::DelProp ( )

Definition at line 465 of file EntityDlg.cpp.

void CEntityDlg::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 59 of file EntityDlg.cpp.

void CEntityDlg::EditCurvePoints ( )

Definition at line 1202 of file EntityDlg.cpp.

void CEntityDlg::InsertCurvePoint ( )

Definition at line 1227 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedButtonBrowse ( )

Definition at line 928 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedButtonCreate ( )

Definition at line 1023 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedButtonCurve ( )

Definition at line 905 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedButtonGui ( )

Definition at line 877 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedButtonModel ( )

Definition at line 859 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedButtonParticle ( )

Definition at line 886 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedButtonSkin ( )

Definition at line 895 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedButtonSound ( )

Definition at line 868 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedE0 ( )

Definition at line 711 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedE135 ( )

Definition at line 671 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedE180 ( )

Definition at line 701 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedE225 ( )

Definition at line 721 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedE270 ( )

Definition at line 731 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedE315 ( )

Definition at line 741 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedE45 ( )

Definition at line 691 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedE90 ( )

Definition at line 681 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedEDown ( )

Definition at line 761 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedEUp ( )

Definition at line 751 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedStartAnimation ( )

Definition at line 1138 of file EntityDlg.cpp.

void CEntityDlg::OnBnClickedStopAnimation ( )

Definition at line 1146 of file EntityDlg.cpp.

void CEntityDlg::OnCbnAnimationChange ( )

Definition at line 1102 of file EntityDlg.cpp.

void CEntityDlg::OnCbnDblclkComboClass ( )

Definition at line 932 of file EntityDlg.cpp.

void CEntityDlg::OnCbnSelchangeComboClass ( )

Definition at line 249 of file EntityDlg.cpp.

BOOL CEntityDlg::OnInitDialog ( )
virtual

Definition at line 97 of file EntityDlg.cpp.

void CEntityDlg::OnLbnDblclkListkeyval ( )

Definition at line 1028 of file EntityDlg.cpp.

void CEntityDlg::OnLbnDblclkListVars ( )

Definition at line 1050 of file EntityDlg.cpp.

void CEntityDlg::OnLbnSelchangeListkeyval ( )

Definition at line 417 of file EntityDlg.cpp.

void CEntityDlg::OnLbnSelchangeListVars ( )

Definition at line 1046 of file EntityDlg.cpp.

void CEntityDlg::OnNMReleasedcaptureSlider1 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)

Definition at line 1076 of file EntityDlg.cpp.

void CEntityDlg::OnSize ( UINT  nType,
int  cx,
int  cy 
)

Definition at line 159 of file EntityDlg.cpp.

void CEntityDlg::OnTimer ( UINT  nIDEvent)

Definition at line 1151 of file EntityDlg.cpp.

int CEntityDlg::OnToolHitTest ( CPoint  point,
TOOLINFO *  pTI 
) const
virtual

Definition at line 109 of file EntityDlg.cpp.

BOOL CEntityDlg::PreTranslateMessage ( MSG *  pMsg)
virtual

Definition at line 489 of file EntityDlg.cpp.

void CEntityDlg::SelectCurvePointByRay ( const idVec3 org,
const idVec3 dir,
int  buttons 
)

Definition at line 1343 of file EntityDlg.cpp.

void CEntityDlg::SetDict ( idDict _dict)
inline

Definition at line 44 of file EntityDlg.h.

void CEntityDlg::SetEditEntity ( entity_t ent)
inline

Definition at line 47 of file EntityDlg.h.

void CEntityDlg::SetKeyVal ( const char *  key,
const char *  val 
)
inline

Definition at line 59 of file EntityDlg.h.

void CEntityDlg::SetKeyValPairs ( bool  updateAnims = true)

Definition at line 322 of file EntityDlg.cpp.

CPreviewDlg * CEntityDlg::ShowGuiChooser ( )
static

Definition at line 814 of file EntityDlg.cpp.

CPreviewDlg * CEntityDlg::ShowMaterialChooser ( )
static

Definition at line 841 of file EntityDlg.cpp.

CPreviewDlg * CEntityDlg::ShowModelChooser ( )
static

Definition at line 771 of file EntityDlg.cpp.

CPreviewDlg * CEntityDlg::ShowParticleChooser ( )
static

Definition at line 785 of file EntityDlg.cpp.

CPreviewDlg * CEntityDlg::ShowSkinChooser ( entity_t ent)
static

Definition at line 799 of file EntityDlg.cpp.

CPreviewDlg * CEntityDlg::ShowSoundChooser ( )
static

Definition at line 828 of file EntityDlg.cpp.

const char * CEntityDlg::TranslateString ( const char *  p)
static

Definition at line 285 of file EntityDlg.cpp.

void CEntityDlg::UpdateEntityCurve ( )

Definition at line 1321 of file EntityDlg.cpp.

void CEntityDlg::UpdateEntitySel ( eclass_t *  ent)

Definition at line 407 of file EntityDlg.cpp.

void CEntityDlg::UpdateFromAnimationFrame ( bool  updateKeyValueDisplay = true)

Definition at line 1088 of file EntityDlg.cpp.

void CEntityDlg::UpdateFromListBox ( )

Definition at line 308 of file EntityDlg.cpp.

void CEntityDlg::UpdateKeyVal ( const char *  key,
const char *  val 
)

Definition at line 1066 of file EntityDlg.cpp.

Member Data Documentation

CButton CEntityDlg::btn135

Definition at line 118 of file EntityDlg.h.

CButton CEntityDlg::btn180

Definition at line 121 of file EntityDlg.h.

CButton CEntityDlg::btn225

Definition at line 123 of file EntityDlg.h.

CButton CEntityDlg::btn270

Definition at line 124 of file EntityDlg.h.

CButton CEntityDlg::btn315

Definition at line 125 of file EntityDlg.h.

CButton CEntityDlg::btn360

Definition at line 122 of file EntityDlg.h.

CButton CEntityDlg::btn45

Definition at line 120 of file EntityDlg.h.

CButton CEntityDlg::btn90

Definition at line 119 of file EntityDlg.h.

CButton CEntityDlg::btnBrowse

Definition at line 117 of file EntityDlg.h.

CButton CEntityDlg::btnCreate

Definition at line 157 of file EntityDlg.h.

CButton CEntityDlg::btnCurve

Definition at line 133 of file EntityDlg.h.

CButton CEntityDlg::btnDown

Definition at line 127 of file EntityDlg.h.

CButton CEntityDlg::btnGui

Definition at line 130 of file EntityDlg.h.

CButton CEntityDlg::btnModel

Definition at line 128 of file EntityDlg.h.

CButton CEntityDlg::btnParticle

Definition at line 131 of file EntityDlg.h.

CButton CEntityDlg::btnPlayAnim

Definition at line 115 of file EntityDlg.h.

CButton CEntityDlg::btnSkin

Definition at line 132 of file EntityDlg.h.

CButton CEntityDlg::btnSound

Definition at line 129 of file EntityDlg.h.

CButton CEntityDlg::btnStopAnim

Definition at line 116 of file EntityDlg.h.

CButton CEntityDlg::btnUp

Definition at line 126 of file EntityDlg.h.

CComboBox CEntityDlg::cbAnimations

Definition at line 134 of file EntityDlg.h.

CComboBox CEntityDlg::comboClass
private

Definition at line 99 of file EntityDlg.h.

const idMD5Anim* CEntityDlg::currentAnimation
private

Definition at line 101 of file EntityDlg.h.

int CEntityDlg::currentAnimationFrame
private

Definition at line 102 of file EntityDlg.h.

idPointListInterface CEntityDlg::curvePoints
private

Definition at line 106 of file EntityDlg.h.

idDict* CEntityDlg::dict
private

Definition at line 100 of file EntityDlg.h.

entity_t* CEntityDlg::editEntity
private

Definition at line 95 of file EntityDlg.h.

CEdit CEntityDlg::editKey

Definition at line 87 of file EntityDlg.h.

CEdit CEntityDlg::editVal

Definition at line 88 of file EntityDlg.h.

CPropertyList CEntityDlg::listKeyVal
private

Definition at line 97 of file EntityDlg.h.

CPropertyList CEntityDlg::listVars
private

Definition at line 98 of file EntityDlg.h.

bool CEntityDlg::multipleEntities
private

Definition at line 96 of file EntityDlg.h.

CSliderCtrl CEntityDlg::slFrameSlider

Definition at line 135 of file EntityDlg.h.

CStatic CEntityDlg::staticFrame

Definition at line 114 of file EntityDlg.h.

CStatic CEntityDlg::staticKey

Definition at line 112 of file EntityDlg.h.

CStatic CEntityDlg::staticTitle

Definition at line 111 of file EntityDlg.h.

CStatic CEntityDlg::staticVal

Definition at line 113 of file EntityDlg.h.


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