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

#include <DialogAFProperties.h>

Inheritance diagram for DialogAFProperties:

Public Types

enum  { IDD = IDD_DIALOG_AF_PROPERTIES }
 

Public Member Functions

 DialogAFProperties (CWnd *pParent=NULL)
 
virtual ~DialogAFProperties ()
 
void LoadFile (idDeclAF *af)
 
void SaveFile (void)
 

Public Attributes

DialogAFBodybodyDlg
 
DialogAFConstraintconstraintDlg
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 
virtual int OnToolHitTest (CPoint point, TOOLINFO *pTI) const
 
afx_msg BOOL OnToolTipNotify (UINT id, NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditModel ()
 
afx_msg void OnEnChangeEditSkin ()
 
afx_msg void OnBnClickedButtonBrowseModel ()
 
afx_msg void OnBnClickedButtonBrowseSkin ()
 
afx_msg void OnBnClickedCheckSelfcollision ()
 
afx_msg void OnEnChangeEditContents ()
 
afx_msg void OnEnChangeEditClipmask ()
 
afx_msg void OnEnChangeEditLinearfriction ()
 
afx_msg void OnDeltaposSpinLinearfriction (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditAngularfriction ()
 
afx_msg void OnDeltaposSpinAngularfriction (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditContactfriction ()
 
afx_msg void OnDeltaposSpinContactfriction (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditConstraintfriction ()
 
afx_msg void OnDeltaposSpinConstraintfriction (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditTotalmass ()
 
afx_msg void OnDeltaposSpinTotalmass (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditLinearvelocity ()
 
afx_msg void OnEnChangeEditAngularvelocity ()
 
afx_msg void OnEnChangeEditLinearacceleration ()
 
afx_msg void OnEnChangeEditAngularacceleration ()
 
afx_msg void OnEnChangeEditNomovetime ()
 
afx_msg void OnEnChangeEditMinimummovetime ()
 
afx_msg void OnEnChangeEditMaximummovetime ()
 
afx_msg void OnEnChangeEditLineartolerance ()
 
afx_msg void OnEnChangeEditAngulartolerance ()
 

Private Member Functions

void UpdateFile (void)
 
void ClearFile (void)
 

Private Attributes

idDeclAFfile
 
CEdit m_editModel
 
CEdit m_editSkin
 
BOOL m_selfCollision
 
CEdit m_editContents
 
CEdit m_editClipMask
 
float m_linearFriction
 
float m_angularFriction
 
float m_contactFriction
 
float m_constraintFriction
 
float m_totalMass
 
float m_suspendLinearVelocity
 
float m_suspendAngularVelocity
 
float m_suspendLinearAcceleration
 
float m_suspendAngularAcceleration
 
float m_noMoveTime
 
float m_minMoveTime
 
float m_maxMoveTime
 
float m_linearTolerance
 
float m_angularTolerance
 

Static Private Attributes

static toolTip_t toolTips []
 

Detailed Description

Definition at line 32 of file DialogAFProperties.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 45 of file DialogAFProperties.h.

Constructor & Destructor Documentation

DialogAFProperties::DialogAFProperties ( CWnd *  pParent = NULL)

Definition at line 73 of file DialogAFProperties.cpp.

DialogAFProperties::~DialogAFProperties ( )
virtual

Definition at line 101 of file DialogAFProperties.cpp.

Member Function Documentation

void DialogAFProperties::ClearFile ( void  )
private

Definition at line 228 of file DialogAFProperties.cpp.

void DialogAFProperties::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 109 of file DialogAFProperties.cpp.

void DialogAFProperties::LoadFile ( idDeclAF af)

Definition at line 139 of file DialogAFProperties.cpp.

void DialogAFProperties::OnBnClickedButtonBrowseModel ( )
protected

Definition at line 502 of file DialogAFProperties.cpp.

void DialogAFProperties::OnBnClickedButtonBrowseSkin ( )
protected

Definition at line 507 of file DialogAFProperties.cpp.

void DialogAFProperties::OnBnClickedCheckSelfcollision ( )
protected

Definition at line 313 of file DialogAFProperties.cpp.

void DialogAFProperties::OnDeltaposSpinAngularfriction ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 384 of file DialogAFProperties.cpp.

void DialogAFProperties::OnDeltaposSpinConstraintfriction ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 428 of file DialogAFProperties.cpp.

void DialogAFProperties::OnDeltaposSpinContactfriction ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 406 of file DialogAFProperties.cpp.

void DialogAFProperties::OnDeltaposSpinLinearfriction ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 362 of file DialogAFProperties.cpp.

void DialogAFProperties::OnDeltaposSpinTotalmass ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 441 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditAngularacceleration ( )
protected

Definition at line 466 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditAngularfriction ( )
protected

Definition at line 369 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditAngulartolerance ( )
protected

Definition at line 496 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditAngularvelocity ( )
protected

Definition at line 454 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditClipmask ( )
protected

Definition at line 335 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditConstraintfriction ( )
protected

Definition at line 413 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditContactfriction ( )
protected

Definition at line 391 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditContents ( )
protected

Definition at line 323 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditLinearacceleration ( )
protected

Definition at line 460 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditLinearfriction ( )
protected

Definition at line 347 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditLineartolerance ( )
protected

Definition at line 490 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditLinearvelocity ( )
protected

Definition at line 448 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditMaximummovetime ( )
protected

Definition at line 484 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditMinimummovetime ( )
protected

Definition at line 478 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditModel ( )
protected

Definition at line 299 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditNomovetime ( )
protected

Definition at line 472 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditSkin ( )
protected

Definition at line 305 of file DialogAFProperties.cpp.

void DialogAFProperties::OnEnChangeEditTotalmass ( )
protected

Definition at line 435 of file DialogAFProperties.cpp.

int DialogAFProperties::OnToolHitTest ( CPoint  point,
TOOLINFO *  pTI 
) const
protectedvirtual

Definition at line 256 of file DialogAFProperties.cpp.

BOOL DialogAFProperties::OnToolTipNotify ( UINT  id,
NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 295 of file DialogAFProperties.cpp.

void DialogAFProperties::SaveFile ( void  )

Definition at line 177 of file DialogAFProperties.cpp.

void DialogAFProperties::UpdateFile ( void  )
private

Definition at line 216 of file DialogAFProperties.cpp.

Member Data Documentation

DialogAFBody* DialogAFProperties::bodyDlg

Definition at line 42 of file DialogAFProperties.h.

DialogAFConstraint* DialogAFProperties::constraintDlg

Definition at line 43 of file DialogAFProperties.h.

idDeclAF* DialogAFProperties::file
private

Definition at line 81 of file DialogAFProperties.h.

float DialogAFProperties::m_angularFriction
private

Definition at line 90 of file DialogAFProperties.h.

float DialogAFProperties::m_angularTolerance
private

Definition at line 102 of file DialogAFProperties.h.

float DialogAFProperties::m_constraintFriction
private

Definition at line 92 of file DialogAFProperties.h.

float DialogAFProperties::m_contactFriction
private

Definition at line 91 of file DialogAFProperties.h.

CEdit DialogAFProperties::m_editClipMask
private

Definition at line 88 of file DialogAFProperties.h.

CEdit DialogAFProperties::m_editContents
private

Definition at line 87 of file DialogAFProperties.h.

CEdit DialogAFProperties::m_editModel
private

Definition at line 84 of file DialogAFProperties.h.

CEdit DialogAFProperties::m_editSkin
private

Definition at line 85 of file DialogAFProperties.h.

float DialogAFProperties::m_linearFriction
private

Definition at line 89 of file DialogAFProperties.h.

float DialogAFProperties::m_linearTolerance
private

Definition at line 101 of file DialogAFProperties.h.

float DialogAFProperties::m_maxMoveTime
private

Definition at line 100 of file DialogAFProperties.h.

float DialogAFProperties::m_minMoveTime
private

Definition at line 99 of file DialogAFProperties.h.

float DialogAFProperties::m_noMoveTime
private

Definition at line 98 of file DialogAFProperties.h.

BOOL DialogAFProperties::m_selfCollision
private

Definition at line 86 of file DialogAFProperties.h.

float DialogAFProperties::m_suspendAngularAcceleration
private

Definition at line 97 of file DialogAFProperties.h.

float DialogAFProperties::m_suspendAngularVelocity
private

Definition at line 95 of file DialogAFProperties.h.

float DialogAFProperties::m_suspendLinearAcceleration
private

Definition at line 96 of file DialogAFProperties.h.

float DialogAFProperties::m_suspendLinearVelocity
private

Definition at line 94 of file DialogAFProperties.h.

float DialogAFProperties::m_totalMass
private

Definition at line 93 of file DialogAFProperties.h.

toolTip_t DialogAFProperties::toolTips
staticprivate
Initial value:
= {
{ IDC_EDIT_MODEL, "model def" },
{ IDC_BUTTON_BROWSE_MODEL, "browse model def" },
{ IDC_EDIT_SKIN, "skin" },
{ IDC_BUTTON_BROWSE_SKIN, "browse skin" },
{ IDC_EDIT_LINEARFRICTION, "translational friction" },
{ IDC_EDIT_ANGULARFRICTION, "rotational friction" },
{ IDC_EDIT_CONTACTFRICTION, "friction with contact surfaces" },
{ IDC_EDIT_CONSTRAINTFRICTION, "constraint friction" },
{ IDC_CHECK_SELFCOLLISION, "allow bodies to collide with other bodies of this articulated figure" },
{ IDC_EDIT_CONTENTS, "content of bodies" },
{ IDC_EDIT_CLIPMASK, "collide with these content types" },
{ IDC_EDIT_TOTALMASS, "scale the mass of each body to get this total mass" },
{ IDC_EDIT_LINEARVELOCITY, "do not suspend simulation if the linear velocity is higher than this value" },
{ IDC_EDIT_ANGULARVELOCITY, "do not suspend simulation if the angular velocity is higher than this value" },
{ IDC_EDIT_LINEARACCELERATION, "do not suspend simulation if the linear acceleration is higher than this value" },
{ IDC_EDIT_ANGULARACCELERATION, "do not suspend simulation if the angular acceleration is higher than this value" },
{ IDC_EDIT_NO_MOVE_TIME, "suspend simulation if hardly any movement for this many seconds" },
{ IDC_EDIT_MAXIMUM_MOVE_TIME, "always suspend simulation after running for this many seconds" },
{ IDC_EDIT_LINEAR_TOLERANCE, "maximum translation considered no movement" },
{ IDC_EDIT_ANGULAR_TOLERANCE, "maximum rotation considered no movement" },
{ 0, NULL }
}

Definition at line 105 of file DialogAFProperties.h.


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