summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSAnvil.h
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2014-01-17 20:11:37 +0100
committerAlexander Harkness <bearbin@gmail.com>2014-01-17 20:11:37 +0100
commit935600bf0a8d8d97de2f9b2fb391d3b632dfd350 (patch)
tree7f1d8d463d0d70ba888c992f80681a1775a31b6b /src/WorldStorage/WSSAnvil.h
parentAPIDump: Updated cPluginManager:GetAllPlugins(). (diff)
parentAdded user setting compression factor (diff)
downloadcuberite-935600bf0a8d8d97de2f9b2fb391d3b632dfd350.tar
cuberite-935600bf0a8d8d97de2f9b2fb391d3b632dfd350.tar.gz
cuberite-935600bf0a8d8d97de2f9b2fb391d3b632dfd350.tar.bz2
cuberite-935600bf0a8d8d97de2f9b2fb391d3b632dfd350.tar.lz
cuberite-935600bf0a8d8d97de2f9b2fb391d3b632dfd350.tar.xz
cuberite-935600bf0a8d8d97de2f9b2fb391d3b632dfd350.tar.zst
cuberite-935600bf0a8d8d97de2f9b2fb391d3b632dfd350.zip
Diffstat (limited to 'src/WorldStorage/WSSAnvil.h')
-rw-r--r--src/WorldStorage/WSSAnvil.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/WorldStorage/WSSAnvil.h b/src/WorldStorage/WSSAnvil.h
index 0a7406267..e66e63b08 100644
--- a/src/WorldStorage/WSSAnvil.h
+++ b/src/WorldStorage/WSSAnvil.h
@@ -47,7 +47,7 @@ class cWSSAnvil :
public:
- cWSSAnvil(cWorld * a_World);
+ cWSSAnvil(cWorld * a_World, int a_CompressionFactor);
virtual ~cWSSAnvil();
protected:
@@ -89,6 +89,8 @@ protected:
cCriticalSection m_CS;
cMCAFiles m_Files; // a MRU cache of MCA files
+
+ int m_CompressionFactor;
/// Gets chunk data from the correct file; locks file CS as needed
bool GetChunkData(const cChunkCoords & a_Chunk, AString & a_Data);