mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
guiutil::alert text wrapping + refactor
This commit is contained in:
parent
e1d30732df
commit
b2b961552b
7 changed files with 60 additions and 46 deletions
|
|
@ -164,6 +164,13 @@ void Engine::loadContent() {
|
|||
assets->extend(*new_assets.get());
|
||||
}
|
||||
|
||||
void Engine::loadWorldContent(const fs::path& folder) {
|
||||
contentPacks.clear();
|
||||
auto packNames = ContentPack::worldPacksList(folder);
|
||||
ContentPack::readPacks(paths, contentPacks, packNames, folder);
|
||||
loadContent();
|
||||
}
|
||||
|
||||
void Engine::loadAllPacks() {
|
||||
auto resdir = paths->getResources();
|
||||
contentPacks.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue