mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
feat: saving/loading resource entries
This commit is contained in:
parent
ca8652ffab
commit
45c4da048c
9 changed files with 63 additions and 8 deletions
|
|
@ -500,6 +500,6 @@ void ContentLoader::load() {
|
|||
|
||||
void ContentLoader::loadResources(ResourceType type, dynamic::List* list) {
|
||||
for (size_t i = 0; i < list->size(); i++) {
|
||||
builder.resourceIndices[static_cast<size_t>(type)].add(list->str(i));
|
||||
builder.resourceIndices[static_cast<size_t>(type)].add(list->str(i), nullptr);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue