aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksim Gamarnik <MoNTE48@mail.ua>2016-04-10 03:12:10 +0300
committerCraig Robbins <kde.psych@gmail.com>2016-05-07 21:09:07 +1000
commit0f6e4a0913ea3d96a34dd2da15b140a4b54b0983 (patch)
tree1c6bb48ea80496615c1de0dfc22d56cab34ee88a
parent4d9dbceb39324ee0aef6520b8193fa093470cc01 (diff)
downloadminetest-0f6e4a0913ea3d96a34dd2da15b140a4b54b0983.tar.gz
minetest-0f6e4a0913ea3d96a34dd2da15b140a4b54b0983.tar.bz2
minetest-0f6e4a0913ea3d96a34dd2da15b140a4b54b0983.zip
Optimize default settings for Android build
-rw-r--r--src/defaultsettings.cpp16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index d048721e0..70aef60e5 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -341,7 +341,6 @@ void set_default_settings(Settings *settings)
settings->setDefault("screenH", "0");
settings->setDefault("enable_shaders", "false");
settings->setDefault("fullscreen", "true");
- settings->setDefault("enable_particles", "false");
settings->setDefault("video_driver", "ogles1");
settings->setDefault("touchtarget", "true");
settings->setDefault("TMPFolder","/sdcard/" PROJECT_NAME_C "/tmp/");
@@ -350,8 +349,19 @@ void set_default_settings(Settings *settings)
settings->setDefault("max_simultaneous_block_sends_per_client", "3");
settings->setDefault("emergequeue_limit_diskonly", "8");
settings->setDefault("emergequeue_limit_generate", "8");
-
- settings->setDefault("viewing_range", "50");
+ settings->setDefault("max_block_generate_distance", "2");
+ settings->setDefault("enable_3d_clouds", "false");
+ settings->setDefault("fps_max", "30");
+ settings->setDefault("pause_fps_max", "10");
+ settings->setDefault("max_objects_per_block", "20");
+ settings->setDefault("sqlite_synchronous", "1");
+ settings->setDefault("gui_scaling", "1.1");
+ settings->setDefault("server_map_save_interval", "15");
+ settings->setDefault("client_mapblock_limit", "500");
+ settings->setDefault("active_block_range", "1");
+ settings->setDefault("chunksize", "3");
+
+ settings->setDefault("viewing_range", "25");
settings->setDefault("inventory_image_hack", "false");
//check for device with small screen