summaryrefslogtreecommitdiffstats
path: root/src/render/ParticleMgr.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-05-27 01:16:31 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-05-27 01:16:31 +0200
commit6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2 (patch)
treeb5e4823137a4cc5ffe0ace4cbad22ee272e9bb7c /src/render/ParticleMgr.cpp
parentMerge pull request #1 from GTAmodding/miami (diff)
downloadre3-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.cpp12
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));