mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
add loaders (WIP)
This commit is contained in:
parent
4b234eb661
commit
9ca809ff94
6 changed files with 100 additions and 10 deletions
|
|
@ -220,7 +220,6 @@ void AssetsLoader::processPreloadList(AssetType tag, const dv::value& list) {
|
|||
}
|
||||
|
||||
void AssetsLoader::processPreloadConfig(const io::path& file) {
|
||||
logger.debug() << "===== PRELOAD FILE: " << file.string();
|
||||
auto root = io::read_json(file);
|
||||
processPreloadList(AssetType::ATLAS, root["atlases"]);
|
||||
processPreloadList(AssetType::FONT, root["fonts"]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue