aboutsummaryrefslogtreecommitdiff
path: root/src/convert_json.cpp
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2020-09-03 01:28:40 +0100
committerGitHub <noreply@github.com>2020-09-03 01:28:40 +0100
commit4ba5046308d6bdf7b38394770c6f82b6927393f2 (patch)
tree835812e435c2bfbb3656ad0b6226af3e979718ae /src/convert_json.cpp
parent74e22b72e1fc577d05ea703aed4bfa8c1e1f0599 (diff)
downloadminetest-4ba5046308d6bdf7b38394770c6f82b6927393f2.tar.gz
minetest-4ba5046308d6bdf7b38394770c6f82b6927393f2.tar.bz2
minetest-4ba5046308d6bdf7b38394770c6f82b6927393f2.zip
Add 'ores' global mapgen flag (#10276)
Diffstat (limited to 'src/convert_json.cpp')
0 files changed, 0 insertions, 0 deletions
hl com">MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "filecache.h" #include "network/networkprotocol.h" #include "log.h" #include "filesys.h" #include <string> #include <iostream> #include <fstream> #include <stdlib.h> bool FileCache::loadByPath(const std::string &path, std::ostream &os) { std::ifstream fis(path.c_str(), std::ios_base::binary); if(!fis.good()){ verbosestream<<"FileCache: File not found in cache: " <<path<<std::endl;