Skip to content
Permalink
Browse files

Optimize default settings for Android build

  • Loading branch information...
MoNTE48 authored and Zeno- committed Apr 10, 2016
1 parent 4d9dbce commit 0f6e4a0913ea3d96a34dd2da15b140a4b54b0983
Showing with 13 additions and 3 deletions.
  1. +13 −3 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

0 comments on commit 0f6e4a0

Please sign in to comment.
You can’t perform that action at this time.