mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +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
|
|
@ -11,7 +11,7 @@ namespace fs = std::filesystem;
|
|||
|
||||
WorldConverter::WorldConverter(fs::path folder,
|
||||
const Content* content,
|
||||
const ContentLUT* lut)
|
||||
std::shared_ptr<ContentLUT> lut)
|
||||
: lut(lut), content(content) {
|
||||
DebugSettings settings;
|
||||
wfile = new WorldFiles(folder, settings);
|
||||
|
|
@ -60,7 +60,7 @@ void WorldConverter::convertNext() {
|
|||
Chunk::fromOld(data.get());
|
||||
}
|
||||
if (lut) {
|
||||
Chunk::convert(data.get(), lut);
|
||||
Chunk::convert(data.get(), lut.get());
|
||||
}
|
||||
wfile->put(gx, gz, data.get());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue