diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2008-06-05 18:41:39 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-06-05 18:41:39 +0000 |
commit | 0dd4c03506132c5f4a7104152d8675d6990ba81b (patch) | |
tree | 1cecf54e8703e1b36629b0ba7c8ff9af4766837d | |
parent | 9f35cb7602c55d43ab598145cfcd0703ec1c5059 (diff) | |
download | mana-0dd4c03506132c5f4a7104152d8675d6990ba81b.tar.gz mana-0dd4c03506132c5f4a7104152d8675d6990ba81b.tar.bz2 mana-0dd4c03506132c5f4a7104152d8675d6990ba81b.tar.xz mana-0dd4c03506132c5f4a7104152d8675d6990ba81b.zip |
Lowered default particle detail level.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/gui/setup_video.cpp | 2 | ||||
-rw-r--r-- | src/particle.cpp | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2008-06-05 Philipp Sehmisch <tmw@crushnet.org> + + * src/particle.cpp, src/gui/setup_video.cpp: Lowered default particle + detail level. + 2008-06-05 Bjørn Lindeijer <bjorn@lindeijer.nl> * src/gui/updatewindow.cpp, src/gui/updatewindow.h, src/main.cpp, diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index 33d9ad73..97e4cdd6 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -126,7 +126,7 @@ Setup_Video::Setup_Video(): mOverlayDetail((int) config.getValue("OverlayDetail", 2)), mOverlayDetailSlider(new Slider(0, 2)), mOverlayDetailField(new gcn::Label("")), - mParticleDetail(3 - (int) config.getValue("particleEmitterSkip", 0)), + mParticleDetail(3 - (int) config.getValue("particleEmitterSkip", 1)), mParticleDetailSlider(new Slider(0, 3)), mParticleDetailField(new gcn::Label("")) { diff --git a/src/particle.cpp b/src/particle.cpp index 355b7069..ac40fe1a 100644 --- a/src/particle.cpp +++ b/src/particle.cpp @@ -77,7 +77,7 @@ Particle::setupEngine() { Particle::maxCount = (int)config.getValue("particleMaxCount", 3000); Particle::fastPhysics = (int)config.getValue("particleFastPhysics", 0); - Particle::emitterSkip = (int)config.getValue("particleEmitterSkip", 0) + 1; + Particle::emitterSkip = (int)config.getValue("particleEmitterSkip", 1) + 1; disableAutoDelete(); logger->log("Particle engine set up"); } |