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

#include <DialogParticleEditor.h>

Inheritance diagram for CDialogParticleEditor:

Public Types

enum  {
  TESTMODEL, IMPACT, MUZZLE, FLIGHT,
  SELECTED
}
 

Public Member Functions

 CDialogParticleEditor (CWnd *pParent=NULL)
 
virtual ~CDialogParticleEditor ()
 
void SelectParticle (const char *name)
 
void SetParticleVisualization (int i)
 
void SetVectorControlUpdate (idQuat rotation)
 
virtual void DoDataExchange (CDataExchange *pDX)
 
virtual BOOL OnInitDialog ()
 

Protected Member Functions

afx_msg void OnCbnSelchangeComboParticles ()
 
afx_msg void OnCbnSelchangeComboPath ()
 
afx_msg void OnLbnSelchangeListStages ()
 
afx_msg void OnBnClickedButtonAddstage ()
 
afx_msg void OnBnClickedButtonRemovestage ()
 
afx_msg void OnBnClickedButtonBrowsematerial ()
 
afx_msg void OnBnClickedButtonBrowsecolor ()
 
afx_msg void OnBnClickedButtonBrowsefadecolor ()
 
afx_msg void OnBnClickedButtonBrowseEntitycolor ()
 
afx_msg void OnBnClickedRadioRect ()
 
afx_msg void OnBnClickedRadioSphere ()
 
afx_msg void OnBnClickedRadioCylinder ()
 
afx_msg void OnBnClickedRadioCone ()
 
afx_msg void OnBnClickedRadioOutward ()
 
afx_msg void OnBnClickedRadioView ()
 
afx_msg void OnBnClickedRadioAimed ()
 
afx_msg void OnBnClickedRadioX ()
 
afx_msg void OnBnClickedRadioY ()
 
afx_msg void OnBnClickedRadioZ ()
 
afx_msg void OnBnClickedButtonHidestage ()
 
afx_msg void OnBnClickedButtonShowstage ()
 
afx_msg void OnBnClickedCheckOneshot ()
 
afx_msg void OnBnClickedButtonNew ()
 
afx_msg void OnBnClickedButtonSave ()
 
afx_msg void OnBnClickedButtonSaveAs ()
 
afx_msg void OnBnClickedButtonSaveParticles ()
 
afx_msg void OnBnClickedWorldGravity ()
 
afx_msg void OnBnClickedEntityColor ()
 
afx_msg void OnBnClickedTestModel ()
 
afx_msg void OnBnClickedImpact ()
 
afx_msg void OnBnClickedMuzzle ()
 
afx_msg void OnBnClickedFlight ()
 
afx_msg void OnBnClickedSelected ()
 
afx_msg void OnBnClickedDoom ()
 
afx_msg void OnBnClickedButtonUpdate ()
 
afx_msg void OnBnClickedParticleMode ()
 
afx_msg void OnBtnYup ()
 
afx_msg void OnBtnYdn ()
 
afx_msg void OnBtnXdn ()
 
afx_msg void OnBtnXup ()
 
afx_msg void OnBtnZup ()
 
afx_msg void OnBtnZdn ()
 
afx_msg void OnBtnDrop ()
 
afx_msg void OnDestroy ()
 
afx_msg void OnHScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)
 
virtual void OnOK ()
 

Private Types

enum  { IDD = IDD_DIALOG_PARTICLE_EDITOR }
 

Private Member Functions

void EnumParticles ()
 
void AddStage ()
 
void RemoveStage ()
 
void ShowStage ()
 
void HideStage ()
 
idDeclParticleGetCurParticle ()
 
idParticleStageGetCurStage ()
 
void ClearDlgVars ()
 
void CurStageToDlgVars ()
 
void DlgVarsToCurStage ()
 
void ShowCurrentStage ()
 
void UpdateControlInfo ()
 
void SetParticleView ()
 
void UpdateParticleData ()
 
BOOL PreTranslateMessage (MSG *pMsg)
 
void SetSelectedModel (const char *val)
 
void EnableStageControls ()
 
void EnableEditControls ()
 
void UpdateSelectedOrigin (float x, float y, float z)
 

Private Attributes

CComboBox comboParticle
 
CListBox listStages
 
CRangeSlider sliderBunching
 
CRangeSlider sliderFadeIn
 
CRangeSlider sliderFadeOut
 
CRangeSlider sliderFadeFraction
 
CRangeSlider sliderCount
 
CRangeSlider sliderTime
 
CRangeSlider sliderGravity
 
CRangeSlider sliderSpeedFrom
 
CRangeSlider sliderSpeedTo
 
CRangeSlider sliderRotationFrom
 
CRangeSlider sliderRotationTo
 
CRangeSlider sliderSizeFrom
 
CRangeSlider sliderSizeTo
 
CRangeSlider sliderAspectFrom
 
CRangeSlider sliderAspectTo
 
CVectorCtl vectorControl
 
CString depthHack
 
CString matName
 
CString animFrames
 
CString animRate
 
CString color
 
CString fadeColor
 
CString fadeIn
 
CString fadeOut
 
CString fadeFraction
 
CString count
 
CString time
 
CString timeOffset
 
CString deadTime
 
CString gravity
 
CString bunching
 
CString offset
 
CString xSize
 
CString ySize
 
CString zSize
 
CString ringOffset
 
CStatic staticDirectionParm
 
CString directionParm
 
int direction
 
int orientation
 
int distribution
 
CString viewOrigin
 
CString speedFrom
 
CString speedTo
 
CString rotationFrom
 
CString rotationTo
 
CString sizeFrom
 
CString sizeTo
 
CString aspectFrom
 
CString aspectTo
 
CString customPath
 
CString customParms
 
CString trails
 
CString trailTime
 
CString cycles
 
CEdit editRingOffset
 
BOOL worldGravity
 
BOOL entityColor
 
BOOL randomDistribution
 
CString initialAngle
 
CString boundsExpansion
 
CString customDesc
 
BOOL particleMode
 
int visualization
 
CToolTipCtrl toolTipCtrl
 
bool mapModified
 

Detailed Description

Definition at line 54 of file DialogParticleEditor.h.

Member Enumeration Documentation

anonymous enum
Enumerator
TESTMODEL 
IMPACT 
MUZZLE 
FLIGHT 
SELECTED 

Definition at line 66 of file DialogParticleEditor.h.

anonymous enum
private
Enumerator
IDD 

Definition at line 126 of file DialogParticleEditor.h.

Constructor & Destructor Documentation

CDialogParticleEditor::CDialogParticleEditor ( CWnd *  pParent = NULL)

Definition at line 212 of file DialogParticleEditor.cpp.

CDialogParticleEditor::~CDialogParticleEditor ( )
virtual

Definition at line 262 of file DialogParticleEditor.cpp.

Member Function Documentation

void CDialogParticleEditor::AddStage ( )
private

Definition at line 824 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::ClearDlgVars ( )
private

Definition at line 920 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::CurStageToDlgVars ( )
private

Definition at line 964 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::DlgVarsToCurStage ( )
private

Definition at line 1028 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::DoDataExchange ( CDataExchange *  pDX)
virtual

Definition at line 265 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::EnableEditControls ( )
private

Definition at line 1363 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::EnableStageControls ( )
private

Definition at line 1352 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::EnumParticles ( )
private

Definition at line 1155 of file DialogParticleEditor.cpp.

idDeclParticle * CDialogParticleEditor::GetCurParticle ( )
private

Definition at line 546 of file DialogParticleEditor.cpp.

idParticleStage * CDialogParticleEditor::GetCurStage ( )
private

Definition at line 910 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::HideStage ( )
private

Definition at line 895 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedButtonAddstage ( )
protected

Definition at line 435 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedButtonBrowsecolor ( )
protected

Definition at line 454 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedButtonBrowseEntitycolor ( )
protected

Definition at line 472 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedButtonBrowsefadecolor ( )
protected

Definition at line 514 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedButtonBrowsematerial ( )
protected

Definition at line 443 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedButtonHidestage ( )
protected

Definition at line 802 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedButtonNew ( )
protected

Definition at line 1106 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedButtonRemovestage ( )
protected

Definition at line 439 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedButtonSave ( )
protected

Definition at line 1134 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedButtonSaveAs ( )
protected

Definition at line 389 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedButtonSaveParticles ( )
protected

Definition at line 427 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedButtonShowstage ( )
protected

Definition at line 806 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedButtonUpdate ( )
protected

Definition at line 532 of file DialogParticleEditor.cpp.

afx_msg void CDialogParticleEditor::OnBnClickedCheckOneshot ( )
protected
void CDialogParticleEditor::OnBnClickedDoom ( )
protected

Definition at line 698 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedEntityColor ( )
protected

Definition at line 817 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedFlight ( )
protected

Definition at line 718 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedImpact ( )
protected

Definition at line 708 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedMuzzle ( )
protected

Definition at line 713 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedParticleMode ( )
protected

Definition at line 382 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedRadioAimed ( )
protected

Definition at line 670 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedRadioCone ( )
protected

Definition at line 649 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedRadioCylinder ( )
protected

Definition at line 642 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedRadioOutward ( )
protected

Definition at line 656 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedRadioRect ( )
protected

Definition at line 628 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedRadioSphere ( )
protected

Definition at line 635 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedRadioView ( )
protected

Definition at line 663 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedRadioX ( )
protected

Definition at line 677 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedRadioY ( )
protected

Definition at line 684 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedRadioZ ( )
protected

Definition at line 691 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedSelected ( )
protected

Definition at line 723 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedTestModel ( )
protected

Definition at line 703 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBnClickedWorldGravity ( )
protected

Definition at line 811 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBtnDrop ( )
protected

Definition at line 1429 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBtnXdn ( )
protected

Definition at line 1409 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBtnXup ( )
protected

Definition at line 1414 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBtnYdn ( )
protected

Definition at line 1404 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBtnYup ( )
protected

Definition at line 1399 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBtnZdn ( )
protected

Definition at line 1424 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnBtnZup ( )
protected

Definition at line 1419 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnCbnSelchangeComboParticles ( )
protected

Definition at line 578 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnCbnSelchangeComboPath ( )
protected

Definition at line 583 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnDestroy ( )
protected

Definition at line 1169 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnHScroll ( UINT  nSBCode,
UINT  nPos,
CScrollBar *  pScrollBar 
)
protected

Definition at line 1274 of file DialogParticleEditor.cpp.

BOOL CDialogParticleEditor::OnInitDialog ( )
virtual

Definition at line 1207 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnLbnSelchangeListStages ( )
protected

Definition at line 1101 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::OnOK ( )
protectedvirtual

Definition at line 1490 of file DialogParticleEditor.cpp.

BOOL CDialogParticleEditor::PreTranslateMessage ( MSG *  pMsg)
private

Definition at line 1345 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::RemoveStage ( )
private

Definition at line 851 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::SelectParticle ( const char *  name)

Definition at line 538 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::SetParticleView ( )
private

Definition at line 733 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::SetParticleVisualization ( int  i)

Definition at line 728 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::SetSelectedModel ( const char *  val)
private

Definition at line 773 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::SetVectorControlUpdate ( idQuat  rotation)

Definition at line 1180 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::ShowCurrentStage ( )
private

Definition at line 1091 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::ShowStage ( )
private

Definition at line 880 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::UpdateControlInfo ( )
private

Definition at line 589 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::UpdateParticleData ( )
private

Definition at line 555 of file DialogParticleEditor.cpp.

void CDialogParticleEditor::UpdateSelectedOrigin ( float  x,
float  y,
float  z 
)
private

Definition at line 1372 of file DialogParticleEditor.cpp.

Member Data Documentation

CString CDialogParticleEditor::animFrames
private

Definition at line 147 of file DialogParticleEditor.h.

CString CDialogParticleEditor::animRate
private

Definition at line 148 of file DialogParticleEditor.h.

CString CDialogParticleEditor::aspectFrom
private

Definition at line 177 of file DialogParticleEditor.h.

CString CDialogParticleEditor::aspectTo
private

Definition at line 178 of file DialogParticleEditor.h.

CString CDialogParticleEditor::boundsExpansion
private

Definition at line 189 of file DialogParticleEditor.h.

CString CDialogParticleEditor::bunching
private

Definition at line 159 of file DialogParticleEditor.h.

CString CDialogParticleEditor::color
private

Definition at line 149 of file DialogParticleEditor.h.

CComboBox CDialogParticleEditor::comboParticle
private

Definition at line 127 of file DialogParticleEditor.h.

CString CDialogParticleEditor::count
private

Definition at line 154 of file DialogParticleEditor.h.

CString CDialogParticleEditor::customDesc
private

Definition at line 190 of file DialogParticleEditor.h.

CString CDialogParticleEditor::customParms
private

Definition at line 180 of file DialogParticleEditor.h.

CString CDialogParticleEditor::customPath
private

Definition at line 179 of file DialogParticleEditor.h.

CString CDialogParticleEditor::cycles
private

Definition at line 183 of file DialogParticleEditor.h.

CString CDialogParticleEditor::deadTime
private

Definition at line 157 of file DialogParticleEditor.h.

CString CDialogParticleEditor::depthHack
private

Definition at line 145 of file DialogParticleEditor.h.

int CDialogParticleEditor::direction
private

Definition at line 167 of file DialogParticleEditor.h.

CString CDialogParticleEditor::directionParm
private

Definition at line 166 of file DialogParticleEditor.h.

int CDialogParticleEditor::distribution
private

Definition at line 169 of file DialogParticleEditor.h.

CEdit CDialogParticleEditor::editRingOffset
private

Definition at line 184 of file DialogParticleEditor.h.

BOOL CDialogParticleEditor::entityColor
private

Definition at line 186 of file DialogParticleEditor.h.

CString CDialogParticleEditor::fadeColor
private

Definition at line 150 of file DialogParticleEditor.h.

CString CDialogParticleEditor::fadeFraction
private

Definition at line 153 of file DialogParticleEditor.h.

CString CDialogParticleEditor::fadeIn
private

Definition at line 151 of file DialogParticleEditor.h.

CString CDialogParticleEditor::fadeOut
private

Definition at line 152 of file DialogParticleEditor.h.

CString CDialogParticleEditor::gravity
private

Definition at line 158 of file DialogParticleEditor.h.

CString CDialogParticleEditor::initialAngle
private

Definition at line 188 of file DialogParticleEditor.h.

CListBox CDialogParticleEditor::listStages
private

Definition at line 128 of file DialogParticleEditor.h.

bool CDialogParticleEditor::mapModified
private

Definition at line 218 of file DialogParticleEditor.h.

CString CDialogParticleEditor::matName
private

Definition at line 146 of file DialogParticleEditor.h.

CString CDialogParticleEditor::offset
private

Definition at line 160 of file DialogParticleEditor.h.

int CDialogParticleEditor::orientation
private

Definition at line 168 of file DialogParticleEditor.h.

BOOL CDialogParticleEditor::particleMode
private

Definition at line 192 of file DialogParticleEditor.h.

BOOL CDialogParticleEditor::randomDistribution
private

Definition at line 187 of file DialogParticleEditor.h.

CString CDialogParticleEditor::ringOffset
private

Definition at line 164 of file DialogParticleEditor.h.

CString CDialogParticleEditor::rotationFrom
private

Definition at line 173 of file DialogParticleEditor.h.

CString CDialogParticleEditor::rotationTo
private

Definition at line 174 of file DialogParticleEditor.h.

CString CDialogParticleEditor::sizeFrom
private

Definition at line 175 of file DialogParticleEditor.h.

CString CDialogParticleEditor::sizeTo
private

Definition at line 176 of file DialogParticleEditor.h.

CRangeSlider CDialogParticleEditor::sliderAspectFrom
private

Definition at line 142 of file DialogParticleEditor.h.

CRangeSlider CDialogParticleEditor::sliderAspectTo
private

Definition at line 143 of file DialogParticleEditor.h.

CRangeSlider CDialogParticleEditor::sliderBunching
private

Definition at line 129 of file DialogParticleEditor.h.

CRangeSlider CDialogParticleEditor::sliderCount
private

Definition at line 133 of file DialogParticleEditor.h.

CRangeSlider CDialogParticleEditor::sliderFadeFraction
private

Definition at line 132 of file DialogParticleEditor.h.

CRangeSlider CDialogParticleEditor::sliderFadeIn
private

Definition at line 130 of file DialogParticleEditor.h.

CRangeSlider CDialogParticleEditor::sliderFadeOut
private

Definition at line 131 of file DialogParticleEditor.h.

CRangeSlider CDialogParticleEditor::sliderGravity
private

Definition at line 135 of file DialogParticleEditor.h.

CRangeSlider CDialogParticleEditor::sliderRotationFrom
private

Definition at line 138 of file DialogParticleEditor.h.

CRangeSlider CDialogParticleEditor::sliderRotationTo
private

Definition at line 139 of file DialogParticleEditor.h.

CRangeSlider CDialogParticleEditor::sliderSizeFrom
private

Definition at line 140 of file DialogParticleEditor.h.

CRangeSlider CDialogParticleEditor::sliderSizeTo
private

Definition at line 141 of file DialogParticleEditor.h.

CRangeSlider CDialogParticleEditor::sliderSpeedFrom
private

Definition at line 136 of file DialogParticleEditor.h.

CRangeSlider CDialogParticleEditor::sliderSpeedTo
private

Definition at line 137 of file DialogParticleEditor.h.

CRangeSlider CDialogParticleEditor::sliderTime
private

Definition at line 134 of file DialogParticleEditor.h.

CString CDialogParticleEditor::speedFrom
private

Definition at line 171 of file DialogParticleEditor.h.

CString CDialogParticleEditor::speedTo
private

Definition at line 172 of file DialogParticleEditor.h.

CStatic CDialogParticleEditor::staticDirectionParm
private

Definition at line 165 of file DialogParticleEditor.h.

CString CDialogParticleEditor::time
private

Definition at line 155 of file DialogParticleEditor.h.

CString CDialogParticleEditor::timeOffset
private

Definition at line 156 of file DialogParticleEditor.h.

CToolTipCtrl CDialogParticleEditor::toolTipCtrl
private

Definition at line 212 of file DialogParticleEditor.h.

CString CDialogParticleEditor::trails
private

Definition at line 181 of file DialogParticleEditor.h.

CString CDialogParticleEditor::trailTime
private

Definition at line 182 of file DialogParticleEditor.h.

CVectorCtl CDialogParticleEditor::vectorControl
private

Definition at line 144 of file DialogParticleEditor.h.

CString CDialogParticleEditor::viewOrigin
private

Definition at line 170 of file DialogParticleEditor.h.

int CDialogParticleEditor::visualization
private

Definition at line 195 of file DialogParticleEditor.h.

BOOL CDialogParticleEditor::worldGravity
private

Definition at line 185 of file DialogParticleEditor.h.

CString CDialogParticleEditor::xSize
private

Definition at line 161 of file DialogParticleEditor.h.

CString CDialogParticleEditor::ySize
private

Definition at line 162 of file DialogParticleEditor.h.

CString CDialogParticleEditor::zSize
private

Definition at line 163 of file DialogParticleEditor.h.


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