aboutsummaryrefslogtreecommitdiff
path: root/src/defaultsettings.cpp
diff options
context:
space:
mode:
authorLars Hofhansl <larsh@apache.org>2016-12-03 21:43:25 -0800
committerparamat <mat.gregory@virginmedia.com>2016-12-07 04:07:54 +0000
commit075833e39368e63e06889f21140f816420e83541 (patch)
treec40d5390e23bbe87a8672f44e8c51649d3331091 /src/defaultsettings.cpp
parent9714cdcf4ba51b44cca72e133ec5ef2a3c9f50f6 (diff)
downloadminetest-075833e39368e63e06889f21140f816420e83541.tar.gz
minetest-075833e39368e63e06889f21140f816420e83541.tar.bz2
minetest-075833e39368e63e06889f21140f816420e83541.zip
Fog: Make fraction of visible distance at which fog starts configurable
Optimise the fetching of global settings 'camera_smoothing', 'cinematic' and 'cinematic_camera_smoothing'. Cache 'cam_smoothing'.
Diffstat (limited to 'src/defaultsettings.cpp')
-rw-r--r--src/defaultsettings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index 2cb57532d..bd88cf530 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -106,6 +106,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("client_unload_unused_data_timeout", "600");
settings->setDefault("client_mapblock_limit", "5000");
settings->setDefault("enable_fog", "true");
+ settings->setDefault("fog_start", "0.4");
settings->setDefault("fov", "72");
settings->setDefault("view_bobbing", "true");
settings->setDefault("leaves_style", "fancy");