mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
Allow configuring block disk and net compression. Change default disk level.
This commit is contained in:
@@ -292,10 +292,10 @@ struct MapNode
|
||||
// compressed = true to zlib-compress output
|
||||
static void serializeBulk(std::ostream &os, int version,
|
||||
const MapNode *nodes, u32 nodecount,
|
||||
u8 content_width, u8 params_width, bool compressed);
|
||||
u8 content_width, u8 params_width, int compression_level);
|
||||
static void deSerializeBulk(std::istream &is, int version,
|
||||
MapNode *nodes, u32 nodecount,
|
||||
u8 content_width, u8 params_width, bool compressed);
|
||||
u8 content_width, u8 params_width);
|
||||
|
||||
private:
|
||||
// Deprecated serialization methods
|
||||
|
Reference in New Issue
Block a user