From ca6ef58b1ee8521e4b940ee4883dee714960e413 Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Fri, 5 Feb 2016 23:45:45 +0200 Subject: Bulk clearing of whitespace --- src/SetChunkData.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src/SetChunkData.h') diff --git a/src/SetChunkData.h b/src/SetChunkData.h index bf5283569..2f3c3d6a3 100644 --- a/src/SetChunkData.h +++ b/src/SetChunkData.h @@ -47,50 +47,50 @@ public: cBlockEntityList && a_BlockEntities, bool a_ShouldMarkDirty ); - + int GetChunkX(void) const { return m_ChunkX; } int GetChunkZ(void) const { return m_ChunkZ; } - + /** Returns the internal storage of the block types, read-only. */ const cChunkDef::BlockTypes & GetBlockTypes(void) const { return m_BlockTypes; } - + /** Returns the internal storage of the block types, read-only. */ const cChunkDef::BlockNibbles & GetBlockMetas(void) const { return m_BlockMetas; } - + /** Returns the internal storage of the block light, read-only. */ const cChunkDef::BlockNibbles & GetBlockLight(void) const { return m_BlockLight; } - + /** Returns the internal storage of the block types, read-only. */ const cChunkDef::BlockNibbles & GetSkyLight(void) const { return m_SkyLight; } - + /** Returns the internal storage for heightmap, read-only. */ const cChunkDef::HeightMap & GetHeightMap(void) const { return m_HeightMap; } - + /** Returns the internal storage for biomes, read-write. */ cChunkDef::BiomeMap & GetBiomes(void) { return m_Biomes; } - + /** Returns the internal storage for entities, read-write. */ cEntityList & GetEntities(void) { return m_Entities; } - + /** Returns the internal storage for block entities, read-write. */ cBlockEntityList & GetBlockEntities(void) { return m_BlockEntities; } - + /** Returns whether both light arrays stored in this object are valid. */ bool IsLightValid(void) const { return m_IsLightValid; } - + /** Returns whether the heightmap stored in this object is valid. */ bool IsHeightMapValid(void) const { return m_IsHeightMapValid; } /** Returns whether the biomes stored in this object are valid. */ bool AreBiomesValid(void) const { return m_AreBiomesValid; } - + /** Returns whether the chunk should be marked as dirty after its data is set. Used by the generator to save chunks after generating. */ bool ShouldMarkDirty(void) const { return m_ShouldMarkDirty; } - + /** Marks the biomes stored in this object as valid. */ void MarkBiomesValid(void) { m_AreBiomesValid = true; } - + /** Calculates the heightmap based on the contained blocktypes and marks it valid. */ void CalculateHeightMap(void); @@ -100,7 +100,7 @@ public: protected: int m_ChunkX; int m_ChunkZ; - + cChunkDef::BlockTypes m_BlockTypes; cChunkDef::BlockNibbles m_BlockMetas; cChunkDef::BlockNibbles m_BlockLight; @@ -109,7 +109,7 @@ protected: cChunkDef::BiomeMap m_Biomes; cEntityList m_Entities; cBlockEntityList m_BlockEntities; - + bool m_IsLightValid; bool m_IsHeightMapValid; bool m_AreBiomesValid; -- cgit v1.2.3