From f96863c421123858cfbc661a58f839790177c27b Mon Sep 17 00:00:00 2001 From: Deve Date: Fri, 8 Sep 2017 00:28:34 +0200 Subject: [PATCH] Add a possibility to totally disable particles. Particles cause a crash on some radeon devices, so people can at least disable it to make the game working. Also tfb causes quite big slowdown on slow devices even if there is no particles displayed, so it can give few more fps. --- data/gui/custom_video_settings.stkgui | 18 ++++++++---------- src/animations/three_d_animation.cpp | 3 ++- src/config/user_config.hpp | 6 +++--- src/graphics/explosion.cpp | 13 ++++++++++--- src/items/attachment.cpp | 4 ++-- src/karts/kart.cpp | 6 +++--- src/karts/kart_gfx.cpp | 12 +++--------- src/main.cpp | 4 ++-- src/modes/world.cpp | 2 +- .../dialogs/custom_video_settings.cpp | 10 ++++++++-- src/states_screens/options_screen_video.cpp | 19 ++++++++++++------- src/states_screens/options_screen_video.hpp | 2 +- src/tracks/model_definition_loader.cpp | 2 +- src/tracks/track.cpp | 4 ++-- src/tracks/track_object_presentation.cpp | 6 +++--- 15 files changed, 61 insertions(+), 50 deletions(-) diff --git a/data/gui/custom_video_settings.stkgui b/data/gui/custom_video_settings.stkgui index be2b29448..06a677405 100644 --- a/data/gui/custom_video_settings.stkgui +++ b/data/gui/custom_video_settings.stkgui @@ -132,16 +132,6 @@ -
- - -
- - - - -
@@ -151,6 +141,14 @@ +
+
+ + +