From 0f6e4a0913ea3d96a34dd2da15b140a4b54b0983 Mon Sep 17 00:00:00 2001 From: Maksim Gamarnik Date: Sun, 10 Apr 2016 03:12:10 +0300 Subject: Optimize default settings for Android build --- src/defaultsettings.cpp | 16 +++++++++++++--- 1 file 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 -- cgit v1.2.3