summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSAnvil.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-01-17 20:01:14 +0100
committerTycho <work.tycho+git@gmail.com>2014-01-17 20:01:14 +0100
commita54cbba0fdf697999e8ac4aff2f5ea436c98edc3 (patch)
tree7f1d8d463d0d70ba888c992f80681a1775a31b6b /src/WorldStorage/WSSAnvil.h
parentAPIDump: Updated cPluginManager:GetAllPlugins(). (diff)
downloadcuberite-a54cbba0fdf697999e8ac4aff2f5ea436c98edc3.tar
cuberite-a54cbba0fdf697999e8ac4aff2f5ea436c98edc3.tar.gz
cuberite-a54cbba0fdf697999e8ac4aff2f5ea436c98edc3.tar.bz2
cuberite-a54cbba0fdf697999e8ac4aff2f5ea436c98edc3.tar.lz
cuberite-a54cbba0fdf697999e8ac4aff2f5ea436c98edc3.tar.xz
cuberite-a54cbba0fdf697999e8ac4aff2f5ea436c98edc3.tar.zst
cuberite-a54cbba0fdf697999e8ac4aff2f5ea436c98edc3.zip
Diffstat (limited to '')
-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);