aboutsummaryrefslogtreecommitdiff
path: root/src/defaultsettings.cpp
diff options
context:
space:
mode:
authorIlya Zhuravlev <zhuravlevilya@ya.ru>2012-12-14 15:30:17 +0400
committerIlya Zhuravlev <zhuravlevilya@ya.ru>2012-12-16 15:20:18 +0400
commit3578e1d4a711a32e2e768dcc6ff207ffc1bccbad (patch)
tree9215740fb64bbb89ce9b9ba89f8ebf0db709ee35 /src/defaultsettings.cpp
parentaa46e5c5e7285a8ac5c9e096a55c3fa02b90280e (diff)
downloadminetest-3578e1d4a711a32e2e768dcc6ff207ffc1bccbad.tar.gz
minetest-3578e1d4a711a32e2e768dcc6ff207ffc1bccbad.tar.bz2
minetest-3578e1d4a711a32e2e768dcc6ff207ffc1bccbad.zip
Added ability to fetch media from remote server (using cURL library)
Diffstat (limited to 'src/defaultsettings.cpp')
-rw-r--r--src/defaultsettings.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index d824d2923..7cb781276 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -119,6 +119,8 @@ void set_default_settings(Settings *settings)
settings->setDefault("preload_item_visuals", "true");
settings->setDefault("enable_shaders", "2");
+ settings->setDefault("media_fetch_threads", "8");
+
// Server stuff
// "map-dir" doesn't exist by default.
settings->setDefault("default_game", "minetest");
@@ -158,5 +160,6 @@ void set_default_settings(Settings *settings)
settings->setDefault("congestion_control_aim_rtt", "0.2");
settings->setDefault("congestion_control_max_rate", "400");
settings->setDefault("congestion_control_min_rate", "10");
+ settings->setDefault("remote_media", "");
}