mirror of
https://github.com/bdnugget/freeminer.git
synced 2026-11-07 06:57:27 +00:00
wip
This commit is contained in:
1 parent
e0aaa08c49
commit
41986e87b9
3 files changed
+7
-8
No files matched your search
Submodule src/mapgen/earth/arnis-cpp updated: d807f189a0...211bbcc29e.
@@ -50,8 +50,8 @@ size_t http_to_file(const std::string &url, const std::string &path)
|
||||
return std::filesystem::file_size(path);
|
||||
};
|
||||
|
||||
size_t multi_http_to_file(const std::string &name,
|
||||
const std::vector<std::string> &links, const std::string &path)
|
||||
size_t multi_http_to_file(const std::string &name, const std::vector<std::string> &links,
|
||||
const std::string &path)
|
||||
{
|
||||
static concurrent_set<std::string> http_failed;
|
||||
if (http_failed.contains(name)) {
|
||||
@@ -70,7 +70,7 @@ size_t multi_http_to_file(const std::string &name,
|
||||
|
||||
http_failed.insert(name);
|
||||
|
||||
errorstream
|
||||
warningstream
|
||||
<< "Not found " << name << "\n"
|
||||
<< "try to download manually: \n"
|
||||
<< "curl -o " << path << " "
|
||||
@@ -83,8 +83,7 @@ size_t multi_http_to_file(const std::string &name,
|
||||
return std::filesystem::file_size(path);
|
||||
};
|
||||
|
||||
size_t multi_http_to_file(
|
||||
const std::vector<std::string> &links, const std::string &path)
|
||||
size_t multi_http_to_file(const std::vector<std::string> &links, const std::string &path)
|
||||
{
|
||||
static concurrent_set<std::string> http_failed;
|
||||
if (http_failed.contains(path)) {
|
||||
@@ -103,7 +102,7 @@ size_t multi_http_to_file(
|
||||
|
||||
http_failed.emplace(path);
|
||||
|
||||
errorstream
|
||||
warningstream
|
||||
<< "Not found " << path << "\n"
|
||||
<< "try to download manually: \n"
|
||||
<< "curl -o " << path << " "
|
||||
|
||||
@@ -454,7 +454,7 @@ void MapgenEarth::generateBuildings()
|
||||
hdlr->apply();
|
||||
}
|
||||
|
||||
warningstream << "Buildings stat: " << node_min << " set=" << stat.set
|
||||
verbosestream << "Buildings stat: " << node_min << " set=" << stat.set
|
||||
<< " miss=" << stat.miss << " level=" << stat.level
|
||||
<< " check=" << stat.check << " fill=" << stat.fill << "\n";
|
||||
stat = {};
|
||||
|
||||
Reference in new issue
Block a user