| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677 |
- /*
- ** Command & Conquer Generals Zero Hour(tm)
- ** Copyright 2025 Electronic Arts Inc.
- **
- ** This program is free software: you can redistribute it and/or modify
- ** it under the terms of the GNU General Public License as published by
- ** the Free Software Foundation, either version 3 of the License, or
- ** (at your option) any later version.
- **
- ** This program is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- **
- ** You should have received a copy of the GNU General Public License
- ** along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
- // FILE: MoreParmsDialog.cpp
- /*---------------------------------------------------------------------------*/
- /* EA Pacific */
- /* Confidential Information */
- /* Copyright (C) 2001 - All Rights Reserved */
- /* DO NOT DISTRIBUTE */
- /*---------------------------------------------------------------------------*/
- /* Project: RTS3 */
- /* File name: MoreParmsDialog.cpp */
- /* Created: John K. McDonald, Jr., 3/23/2002 */
- /* Desc: Additional particle system parameters */
- /* Revision History: */
- /* 3/23/2002 : Initial creation */
- /*---------------------------------------------------------------------------*/
- #include "StdAfx.h"
- #include "MoreParmsDialog.h"
- #include "ParticleEditorDialog.h"
- #define ARBITRARY_BUFF_SIZE 128
- MoreParmsDialog::MoreParmsDialog(UINT nIDTemplate, CWnd* pParentWnd) : CDialog(nIDTemplate, pParentWnd)
- {
- }
- MoreParmsDialog::~MoreParmsDialog()
- {
- }
- void MoreParmsDialog::InitPanel( void )
- {
- CComboBox* pCombo;
- pCombo = (CComboBox*) GetDlgItem(IDC_PSEd_WindMotion);
- if (pCombo) {
- for (int i = 1; WindMotionNames[i]; ++i) {
- pCombo->AddString(WindMotionNames[i]);
- }
- pCombo->SetCurSel(0);
- }
- }
- void MoreParmsDialog::performUpdate( IN Bool toUI )
- {
- static char buff[ARBITRARY_BUFF_SIZE];
- DebugWindowDialog *pParent = (DebugWindowDialog*) GetParent();
- if (!pParent) {
- return;
- }
- { // Update all fields on this panel.
- CWnd *pWnd;
- { // initial delay
- Real initialDelay;
- pWnd = GetDlgItem(IDC_PSEd_InitialDelayMin);
- if (pWnd) {
- if (toUI) {
- pParent->getInitialDelayFromSystem(0, initialDelay);
- sprintf(buff, FORMAT_STRING, initialDelay);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- initialDelay = atof(buff);
- pParent->updateInitialDelayToSystem(0, initialDelay);
- }
- }
- pWnd = GetDlgItem(IDC_PSEd_InitialDelayMax);
- if (pWnd) {
- if (toUI) {
- pParent->getInitialDelayFromSystem(1, initialDelay);
- sprintf(buff, FORMAT_STRING, initialDelay);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- initialDelay = atof(buff);
- pParent->updateInitialDelayToSystem(1, initialDelay);
- }
- }
- }
- { // burst delay
- Real burstDelay;
- pWnd = GetDlgItem(IDC_PSEd_BurstDelayMin);
- if (pWnd) {
- if (toUI) {
- pParent->getBurstDelayFromSystem(0, burstDelay);
- sprintf(buff, FORMAT_STRING, burstDelay);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- burstDelay = atof(buff);
- pParent->updateBurstDelayToSystem(0, burstDelay);
- }
- }
- pWnd = GetDlgItem(IDC_PSEd_BurstDelayMax);
- if (pWnd) {
- if (toUI) {
- pParent->getBurstDelayFromSystem(1, burstDelay);
- sprintf(buff, FORMAT_STRING, burstDelay);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- burstDelay = atof(buff);
- pParent->updateBurstDelayToSystem(1, burstDelay);
- }
- }
- }
- { // burst count
- Real burstCount;
- pWnd = GetDlgItem(IDC_PSEd_BurstCountMin);
- if (pWnd) {
- if (toUI) {
- pParent->getBurstCountFromSystem(0, burstCount);
- sprintf(buff, FORMAT_STRING, burstCount);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- burstCount = atof(buff);
- pParent->updateBurstCountToSystem(0, burstCount);
- }
- }
- pWnd = GetDlgItem(IDC_PSEd_BurstCountMax);
- if (pWnd) {
- if (toUI) {
- pParent->getBurstCountFromSystem(1, burstCount);
- sprintf(buff, FORMAT_STRING, burstCount);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- burstCount = atof(buff);
- pParent->updateBurstCountToSystem(1, burstCount);
- }
- }
- }
- { // color scale
- Real colorScale;
- pWnd = GetDlgItem(IDC_PSEd_ColorScaleMin);
- if (pWnd) {
- if (toUI) {
- pParent->getColorScaleFromSystem(0, colorScale);
- sprintf(buff, FORMAT_STRING, colorScale);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- colorScale = atof(buff);
- pParent->updateColorScaleToSystem(0, colorScale);
- }
- }
- pWnd = GetDlgItem(IDC_PSEd_ColorScaleMax);
- if (pWnd) {
- if (toUI) {
- pParent->getColorScaleFromSystem(1, colorScale);
- sprintf(buff, FORMAT_STRING, colorScale);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- colorScale = atof(buff);
- pParent->updateColorScaleToSystem(1, colorScale);
- }
- }
- }
- { // particle lifetime
- Real particleLifetime;
- pWnd = GetDlgItem(IDC_PSEd_ParticleLifetimeMin);
- if (pWnd) {
- if (toUI) {
- pParent->getParticleLifetimeFromSystem(0, particleLifetime);
- sprintf(buff, FORMAT_STRING, particleLifetime);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- particleLifetime = atof(buff);
- pParent->updateParticleLifetimeToSystem(0, particleLifetime);
- }
- }
- pWnd = GetDlgItem(IDC_PSEd_ParticleLifetimeMax);
- if (pWnd) {
- if (toUI) {
- pParent->getParticleLifetimeFromSystem(1, particleLifetime);
- sprintf(buff, FORMAT_STRING, particleLifetime);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- particleLifetime = atof(buff);
- pParent->updateParticleLifetimeToSystem(1, particleLifetime);
- }
- }
- }
- { // particle size
- Real particleSize;
- pWnd = GetDlgItem(IDC_PSEd_SizeMin);
- if (pWnd) {
- if (toUI) {
- pParent->getParticleSizeFromSystem(0, particleSize);
- sprintf(buff, FORMAT_STRING, particleSize);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- particleSize = atof(buff);
- pParent->updateParticleSizeToSystem(0, particleSize);
- }
- }
- pWnd = GetDlgItem(IDC_PSEd_SizeMax);
- if (pWnd) {
- if (toUI) {
- pParent->getParticleSizeFromSystem(1, particleSize);
- sprintf(buff, FORMAT_STRING, particleSize);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- particleSize = atof(buff);
- pParent->updateParticleSizeToSystem(1, particleSize);
- }
- }
- }
-
- { // start size rate
- Real startSizeRate;
- pWnd = GetDlgItem(IDC_PSEd_StartSizeRateMin);
- if (pWnd) {
- if (toUI) {
- pParent->getStartSizeRateFromSystem(0, startSizeRate);
- sprintf(buff, FORMAT_STRING, startSizeRate);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- startSizeRate = atof(buff);
- pParent->updateStartSizeRateToSystem(0, startSizeRate);
- }
- }
- pWnd = GetDlgItem(IDC_PSEd_StartSizeRateMax);
- if (pWnd) {
- if (toUI) {
- pParent->getStartSizeRateFromSystem(1, startSizeRate);
- sprintf(buff, FORMAT_STRING, startSizeRate);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- startSizeRate = atof(buff);
- pParent->updateStartSizeRateToSystem(1, startSizeRate);
- }
- }
- }
-
- { // size rate
- Real sizeRate;
- pWnd = GetDlgItem(IDC_PSEd_SizeRateMin);
- if (pWnd) {
- if (toUI) {
- pParent->getSizeRateFromSystem(0, sizeRate);
- sprintf(buff, FORMAT_STRING, sizeRate);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- sizeRate = atof(buff);
- pParent->updateSizeRateToSystem(0, sizeRate);
- }
- }
- pWnd = GetDlgItem(IDC_PSEd_SizeRateMax);
- if (pWnd) {
- if (toUI) {
- pParent->getSizeRateFromSystem(1, sizeRate);
- sprintf(buff, FORMAT_STRING, sizeRate);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- sizeRate = atof(buff);
- pParent->updateSizeRateToSystem(1, sizeRate);
- }
- }
- }
- { // size damping
- Real sizeDamping;
- pWnd = GetDlgItem(IDC_PSEd_SizeDampingMin);
- if (pWnd) {
- if (toUI) {
- pParent->getSizeDampingFromSystem(0, sizeDamping);
- sprintf(buff, FORMAT_STRING, sizeDamping);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- sizeDamping = atof(buff);
- pParent->updateSizeDampingToSystem(0, sizeDamping);
- }
- }
- pWnd = GetDlgItem(IDC_PSEd_SizeDampingMax);
- if (pWnd) {
- if (toUI) {
- pParent->getSizeDampingFromSystem(1, sizeDamping);
- sprintf(buff, FORMAT_STRING, sizeDamping);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- sizeDamping = atof(buff);
- pParent->updateSizeDampingToSystem(1, sizeDamping);
- }
- }
- }
- { // system lifetime
- Real systemLifetime;
- pWnd = GetDlgItem(IDC_PSEd_SystemLifetime);
- if (pWnd) {
- if (toUI) {
- pParent->getSystemLifetimeFromSystem(systemLifetime);
- sprintf(buff, FORMAT_STRING, systemLifetime);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- systemLifetime = atof(buff);
- pParent->updateSystemLifetimeToSystem(systemLifetime);
- }
- }
- }
- { // slave position offset
- Real slaveOffset;
- pWnd = GetDlgItem(IDC_PSEd_SlaveOffsetX);
- if (pWnd) {
- if (toUI) {
- pParent->getSlaveOffsetFromSystem(0, slaveOffset);
- sprintf(buff, FORMAT_STRING, slaveOffset);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- slaveOffset = atof(buff);
- pParent->updateSlaveOffsetToSystem(0, slaveOffset);
- }
- }
- pWnd = GetDlgItem(IDC_PSEd_SlaveOffsetY);
- if (pWnd) {
- if (toUI) {
- pParent->getSlaveOffsetFromSystem(1, slaveOffset);
- sprintf(buff, FORMAT_STRING, slaveOffset);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- slaveOffset = atof(buff);
- pParent->updateSlaveOffsetToSystem(1, slaveOffset);
- }
- }
- pWnd = GetDlgItem(IDC_PSEd_SlaveOffsetZ);
- if (pWnd) {
- if (toUI) {
- pParent->getSlaveOffsetFromSystem(2, slaveOffset);
- sprintf(buff, FORMAT_STRING, slaveOffset);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- slaveOffset = atof(buff);
- pParent->updateSlaveOffsetToSystem(2, slaveOffset);
- }
- }
- }
- { // drift velocity
- Real driftVelocity;
- pWnd = GetDlgItem(IDC_PSEd_DriftVelocityX);
- if (pWnd) {
- if (toUI) {
- pParent->getDriftVelocityFromSystem(0, driftVelocity);
- sprintf(buff, FORMAT_STRING, driftVelocity);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- driftVelocity = atof(buff);
- pParent->updateDriftVelocityToSystem(0, driftVelocity);
- }
- }
- pWnd = GetDlgItem(IDC_PSEd_DriftVelocityY);
- if (pWnd) {
- if (toUI) {
- pParent->getDriftVelocityFromSystem(1, driftVelocity);
- sprintf(buff, FORMAT_STRING, driftVelocity);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- driftVelocity = atof(buff);
- pParent->updateDriftVelocityToSystem(1, driftVelocity);
- }
- }
- pWnd = GetDlgItem(IDC_PSEd_DriftVelocityZ);
- if (pWnd) {
- if (toUI) {
- pParent->getDriftVelocityFromSystem(2, driftVelocity);
- sprintf(buff, FORMAT_STRING, driftVelocity);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- driftVelocity = atof(buff);
- pParent->updateDriftVelocityToSystem(2, driftVelocity);
- }
- }
- }
- { // slave system
- CComboBox *pCombo;
- pCombo = (CComboBox*) GetDlgItem(IDC_PSEd_SlaveSystem);
- if (pCombo->GetCount() == 0) {
- // This is done here because InitPanel is called before Particle Systems have been sent over.
- pCombo->AddString(NONE_STRING);
- std::list<std::string>::const_iterator cit;
- const std::list<std::string> &r = pParent->getAllParticleSystems();
- for (cit = r.begin(); cit != r.end(); ++cit) {
- pCombo->AddString(cit->begin());
- }
- }
- if (pCombo) {
- if (toUI) {
- pParent->getSlaveSystemFromSystem(buff, ARBITRARY_BUFF_SIZE - 1);
- if (buff[0] == 0) {
- pCombo->SelectString(-1, NONE_STRING);
- } else {
- pCombo->SelectString(-1, buff);
- }
- } else {
- int selndx = pCombo->GetCurSel();
- if (selndx >= 0) {
- pCombo->GetLBText(selndx, buff);
- if (strcmp(buff, NONE_STRING) == 0) {
- pParent->updateSlaveSystemToSystem("");
- } else {
- pParent->updateSlaveSystemToSystem(buff);
- }
- }
- }
- }
- }
- { // slave system
- CComboBox *pCombo;
- pCombo = (CComboBox*) GetDlgItem(IDC_PSEd_PerParticleSystem);
- if (pCombo->GetCount() == 0) {
- // This is done here because InitPanel is called before Particle Systems have been sent over.
- pCombo->AddString(NONE_STRING);
- std::list<std::string>::const_iterator cit;
- const std::list<std::string> &r = pParent->getAllParticleSystems();
- for (cit = r.begin(); cit != r.end(); ++cit) {
- pCombo->AddString(cit->begin());
- }
- }
- if (pCombo) {
- if (toUI) {
- pParent->getPerParticleSystemFromSystem(buff, ARBITRARY_BUFF_SIZE - 1);
- if (buff[0] == 0) {
- pCombo->SelectString(-1, NONE_STRING);
- } else {
- pCombo->SelectString(-1, buff);
- }
- } else {
- int selndx = pCombo->GetCurSel();
- if (selndx >= 0) {
- pCombo->GetLBText(selndx, buff);
- if (strcmp(buff, NONE_STRING) == 0) {
- pParent->updatePerParticleSystemToSystem("");
- } else {
- pParent->updatePerParticleSystemToSystem(buff);
- }
- }
- }
- }
- }
-
- { // ping pong wind start angle
- Real angle;
- pWnd = GetDlgItem(IDC_PSEd_WindPingPongStartAngleMin);
- if (pWnd) {
- if (toUI) {
- pParent->getPingPongStartAngleFromSystem(0, angle);
- sprintf(buff, FORMAT_STRING, angle);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- angle = atof(buff);
- pParent->updatePingPongStartAngleToSystem(0, angle);
- }
- }
- pWnd = GetDlgItem(IDC_PSEd_WindPingPongStartAngleMax);
- if (pWnd) {
- if (toUI) {
- pParent->getPingPongStartAngleFromSystem(1, angle);
- sprintf(buff, FORMAT_STRING, angle);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- angle = atof(buff);
- pParent->updatePingPongStartAngleToSystem(1, angle);
- }
- }
- }
- { // ping pong wind end angle
- Real angle;
- pWnd = GetDlgItem(IDC_PSEd_WindPingPongEndAngleMin);
- if (pWnd) {
- if (toUI) {
- pParent->getPingPongEndAngleFromSystem(0, angle);
- sprintf(buff, FORMAT_STRING, angle);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- angle = atof(buff);
- pParent->updatePingPongEndAngleToSystem(0, angle);
- }
- }
- pWnd = GetDlgItem(IDC_PSEd_WindPingPongEndAngleMax);
- if (pWnd) {
- if (toUI) {
- pParent->getPingPongEndAngleFromSystem(1, angle);
- sprintf(buff, FORMAT_STRING, angle);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- angle = atof(buff);
- pParent->updatePingPongEndAngleToSystem(1, angle);
- }
- }
- }
- { // wind angle change
- Real angle;
- pWnd = GetDlgItem(IDC_PSEd_WindAngleChangeMin);
- if (pWnd) {
- if (toUI) {
- pParent->getWindAngleChangeFromSystem(0, angle);
- sprintf(buff, FORMAT_STRING, angle);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- angle = atof(buff);
- pParent->updateWindAngleChangeToSystem(0, angle);
- }
- }
- pWnd = GetDlgItem(IDC_PSEd_WindAngleChangeMax);
- if (pWnd) {
- if (toUI) {
- pParent->getWindAngleChangeFromSystem(1, angle);
- sprintf(buff, FORMAT_STRING, angle);
- pWnd->SetWindowText(buff);
- } else {
- pWnd->GetWindowText(buff, ARBITRARY_BUFF_SIZE - 1);
- angle = atof(buff);
- pParent->updateWindAngleChangeToSystem(1, angle);
- }
- }
- }
- { // wind motion
- CComboBox *pCombo;
- pCombo = (CComboBox*) GetDlgItem(IDC_PSEd_WindMotion);
- if (pCombo) {
- int selndx;
- if (toUI) {
- ParticleSystemInfo::WindMotion windMotion;
- pParent->getWindMotionFromSystem( windMotion );
- selndx = pCombo->SelectString(-1, WindMotionNames[(long) windMotion]);
- } else {
- selndx = pCombo->GetCurSel();
- if (selndx >= 0) {
- pParent->updateWindMotionToSystem( (ParticleSystemInfo::WindMotion)(selndx + 1) );
- }
- }
- }
- }
- }
- }
- void MoreParmsDialog::OnParticleSystemEdit()
- {
- DebugWindowDialog *pParent = (DebugWindowDialog*) GetParent();
- if (!pParent) {
- return;
- }
-
- pParent->signalParticleSystemEdit();
- }
- BEGIN_MESSAGE_MAP(MoreParmsDialog, CDialog)
- ON_EN_KILLFOCUS(IDC_PSEd_InitialDelayMin, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_InitialDelayMax, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_BurstDelayMin, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_BurstDelayMax, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_BurstCountMin, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_BurstCountMax, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_ColorScaleMin, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_ColorScaleMax, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_ParticleLifetimeMin, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_ParticleLifetimeMax, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_SizeMin, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_SizeMax, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_StartSizeRateMin, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_StartSizeRateMax, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_SizeRateMin, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_SizeRateMax, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_SizeDampingMin, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_SizeDampingMax, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_SystemLifetime, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_SlaveOffsetX, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_SlaveOffsetY, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_SlaveOffsetZ, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_DriftVelocityX, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_DriftVelocityY, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_DriftVelocityZ, OnParticleSystemEdit)
- ON_CBN_SELCHANGE(IDC_PSEd_SlaveSystem, OnParticleSystemEdit)
- ON_CBN_SELCHANGE(IDC_PSEd_PerParticleSystem, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_WindAngleChangeMin, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_WindAngleChangeMax, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_WindPingPongStartAngleMin, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_WindPingPongStartAngleMax, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_WindPingPongEndAngleMin, OnParticleSystemEdit)
- ON_EN_KILLFOCUS(IDC_PSEd_WindPingPongEndAngleMax, OnParticleSystemEdit)
- ON_CBN_SELCHANGE(IDC_PSEd_WindMotion, OnParticleSystemEdit)
- END_MESSAGE_MAP()
|