diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-01-17 20:01:14 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-01-17 20:01:14 +0100 |
commit | a54cbba0fdf697999e8ac4aff2f5ea436c98edc3 (patch) | |
tree | 7f1d8d463d0d70ba888c992f80681a1775a31b6b /src/WorldStorage/WSSAnvil.h | |
parent | APIDump: Updated cPluginManager:GetAllPlugins(). (diff) | |
download | cuberite-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.h | 4 |
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); |