feat: world files resources file loading

This commit is contained in:
MihailRis
2024-07-11 23:48:13 +03:00
parent a013e7eefd
commit 9623f35862
5 changed files with 48 additions and 8 deletions
+1
View File
@@ -116,6 +116,7 @@ std::unique_ptr<Level> World::load(
if (!wfile->readWorldInfo(world.get())) {
throw world_load_error("could not to find world.json");
}
wfile->readResourcesData(content);
auto level = std::make_unique<Level>(std::move(world), content, settings);
{