diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-05-27 01:16:31 +0200 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-05-27 01:16:31 +0200 |
commit | 6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2 (patch) | |
tree | b5e4823137a4cc5ffe0ace4cbad22ee272e9bb7c /src/render/ParticleMgr.cpp | |
parent | Merge pull request #1 from GTAmodding/miami (diff) | |
download | re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar.gz re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar.bz2 re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar.lz re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar.xz re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar.zst re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.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)); |