diff options
author | aap <aap@papnet.eu> | 2020-05-27 07:18:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-27 07:18:47 +0200 |
commit | c06857019235f7483582cd8bbc8e63307de0bde6 (patch) | |
tree | f46b1801d031b59b97cf4365abf31ea831087dfd /src/render/ParticleMgr.cpp | |
parent | Merge pull request #601 from Sergeanur/VC/audio3 (diff) | |
parent | fix linux build (diff) | |
download | re3-c06857019235f7483582cd8bbc8e63307de0bde6.tar re3-c06857019235f7483582cd8bbc8e63307de0bde6.tar.gz re3-c06857019235f7483582cd8bbc8e63307de0bde6.tar.bz2 re3-c06857019235f7483582cd8bbc8e63307de0bde6.tar.lz re3-c06857019235f7483582cd8bbc8e63307de0bde6.tar.xz re3-c06857019235f7483582cd8bbc8e63307de0bde6.tar.zst re3-c06857019235f7483582cd8bbc8e63307de0bde6.zip |
Diffstat (limited to 'src/render/ParticleMgr.cpp')
-rw-r--r-- | src/render/ParticleMgr.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/render/ParticleMgr.cpp b/src/render/ParticleMgr.cpp index 3387d471..f6919435 100644 --- a/src/render/ParticleMgr.cpp +++ b/src/render/ParticleMgr.cpp @@ -216,6 +216,18 @@ void cParticleSystemMgr::LoadParticleData() case CFG_PARAM_TRAIL_LENGTH_MULTIPLIER: entry->m_fTrailLengthMultiplier = atof(value); break; + + case CFG_PARAM_STRETCH_VALUE_X: + entry->m_vecTextureStretch.x = atof(value); + break; + + case CFG_PARAM_STRETCH_VALUE_Y: + entry->m_vecTextureStretch.y = atof(value); + break; + + case CFG_PARAM_WIND_FACTOR: + entry->m_fWindFactor = atof(value); + break; case CFG_PARAM_PARTICLE_CREATE_RANGE: entry->m_fCreateRange = SQR(atof(value)); |