From: Maksim Gamarnik Date: Sun, 10 Apr 2016 00:12:10 +0000 (+0300) Subject: Optimize default settings for Android build X-Git-Tag: 0.4.14~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0f6e4a0913ea3d96a34dd2da15b140a4b54b0983;p=oweals%2Fminetest.git Optimize default settings for Android build --- 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