Implement anvil chunk sparsing
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
|
||||
|
||||
// NBTChunkSerializer.h
|
||||
|
||||
// Declares the cNBTChunkSerializer class that is used for saving individual chunks into NBT format used by Anvil
|
||||
@@ -55,7 +55,7 @@ class cPainting;
|
||||
|
||||
|
||||
class cNBTChunkSerializer :
|
||||
public cChunkDataSeparateCollector
|
||||
public cChunkDataCopyCollector
|
||||
{
|
||||
public:
|
||||
cChunkDef::BiomeMap m_Biomes;
|
||||
@@ -69,15 +69,12 @@ public:
|
||||
/** Close NBT tags that we've opened */
|
||||
void Finish(void);
|
||||
|
||||
bool IsLightValid(void) const {return m_IsLightValid; }
|
||||
bool IsLightValid(void) const { return m_IsLightValid; }
|
||||
|
||||
protected:
|
||||
|
||||
/* From cChunkDataSeparateCollector we inherit:
|
||||
- m_BlockTypes[]
|
||||
- m_BlockMetas[]
|
||||
- m_BlockLight[]
|
||||
- m_BlockSkyLight[] */
|
||||
/* From cChunkDataCopyCollector we inherit:
|
||||
- cChunkData m_Data */
|
||||
|
||||
cFastNBTWriter & m_Writer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user