diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-11-27 09:38:21 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-11-29 22:13:22 +0200 |
commit | ab45133ab4826359ca9a5ed50b68150eb462c8ef (patch) | |
tree | abe6b95e77db457a94b5f550669483a03928ff91 /src/defaultsettings.cpp | |
parent | 7b6d6423004343c73fd37726fbbb9f981a50f271 (diff) | |
download | minetest-ab45133ab4826359ca9a5ed50b68150eb462c8ef.tar.gz minetest-ab45133ab4826359ca9a5ed50b68150eb462c8ef.tar.bz2 minetest-ab45133ab4826359ca9a5ed50b68150eb462c8ef.zip |
Add congestion control settings to minetest.conf
Diffstat (limited to 'src/defaultsettings.cpp')
-rw-r--r-- | src/defaultsettings.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 8ce9cb1fb..d186427e7 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -106,6 +106,11 @@ void set_default_settings(Settings *settings) settings->setDefault("sound_volume", "0.8"); settings->setDefault("desynchronize_mapblock_texture_animation", "true"); + settings->setDefault("mip_map", "false"); + settings->setDefault("anisotropic_filter", "false"); + settings->setDefault("bilinear_filter", "false"); + settings->setDefault("trilinear_filter", "false"); + // Server stuff // "map-dir" doesn't exist by default. settings->setDefault("default_game", "minetest"); @@ -142,10 +147,8 @@ void set_default_settings(Settings *settings) settings->setDefault("full_block_send_enable_min_time_from_building", "2.0"); settings->setDefault("dedicated_server_step", "0.1"); settings->setDefault("ignore_world_load_errors", "false"); - settings->setDefault("mip_map", "false"); - settings->setDefault("anisotropic_filter", "false"); - settings->setDefault("bilinear_filter", "false"); - settings->setDefault("trilinear_filter", "false"); - + settings->setDefault("congestion_control_aim_rtt", "0.2"); + settings->setDefault("congestion_control_max_rate", "400"); + settings->setDefault("congestion_control_min_rate", "10"); } |