mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Allow configuring block disk and net compression. Change default disk level.
This commit is contained in:
parent
d0a38f694d
commit
e638056523
10 changed files with 47 additions and 40 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue