mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
rename 'files' to 'io'
This commit is contained in:
parent
e5d558d357
commit
1e22882284
45 changed files with 157 additions and 160 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "coders/json.hpp"
|
||||
#include "constants.hpp"
|
||||
#include "files/files.hpp"
|
||||
#include "io/io.hpp"
|
||||
#include "items/ItemDef.hpp"
|
||||
#include "voxels/Block.hpp"
|
||||
#include "world/World.hpp"
|
||||
|
|
@ -75,7 +75,7 @@ std::shared_ptr<ContentReport> ContentReport::create(
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
auto root = files::read_json(filename);
|
||||
auto root = io::read_json(filename);
|
||||
uint regionsVersion = 2U; // old worlds compatibility (pre 0.23)
|
||||
root.at("region-version").get(regionsVersion);
|
||||
auto& blocklist = root["blocks"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue