Optimize default settings for Android build
authorMaksim Gamarnik <MoNTE48@mail.ua>
Sun, 10 Apr 2016 00:12:10 +0000 (03:12 +0300)
committerCraig Robbins <kde.psych@gmail.com>
Sat, 7 May 2016 11:09:07 +0000 (21:09 +1000)
src/defaultsettings.cpp

index d048721e0e57672d63f7ba05afae797380bf7a8c..70aef60e5c94e1df788a3abfa6005d3303e0e405 100644 (file)
@@ -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