gzip compress/decompress + refactor

This commit is contained in:
MihailRis
2024-01-17 00:52:55 +03:00
parent 3837cdcf95
commit b0165b1014
10 changed files with 119 additions and 65 deletions
+1 -2
View File
@@ -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() {