diff options
author | Lars <larsh@apache.org> | 2020-12-09 14:30:37 -0800 |
---|---|---|
committer | lhofhansl <larsh@apache.org> | 2020-12-15 10:15:25 -0800 |
commit | e6380565236d6d963acf75538f1f8fec807190cc (patch) | |
tree | d5af32aff7273e13baafbe03a1dec08482d6abaa /src/mapnode.h | |
parent | d0a38f694d483fbd9c0554c8d7175a94097fd67e (diff) | |
download | minetest-e6380565236d6d963acf75538f1f8fec807190cc.tar.gz minetest-e6380565236d6d963acf75538f1f8fec807190cc.tar.bz2 minetest-e6380565236d6d963acf75538f1f8fec807190cc.zip |
Allow configuring block disk and net compression. Change default disk level.
Diffstat (limited to 'src/mapnode.h')
-rw-r--r-- | src/mapnode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapnode.h b/src/mapnode.h index 32ac1b4f6..a9ae63ba3 100644 --- a/src/mapnode.h +++ b/src/mapnode.h @@ -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 |