mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
gzip compress/decompress + refactor
This commit is contained in:
parent
3837cdcf95
commit
b0165b1014
10 changed files with 119 additions and 65 deletions
|
|
@ -96,9 +96,8 @@ LevelScreen::LevelScreen(Engine* engine, Level* level)
|
|||
|
||||
LevelScreen::~LevelScreen() {
|
||||
std::cout << "-- writing world" << std::endl;
|
||||
World* world = level->world;
|
||||
auto world = level->getWorld();
|
||||
world->write(level.get());
|
||||
delete world;
|
||||
}
|
||||
|
||||
void LevelScreen::updateHotkeys() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue