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/ChunkData.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/ChunkData.h') diff --git a/src/ChunkData.h b/src/ChunkData.h index 60eeca816..792e610b1 100644 --- a/src/ChunkData.h +++ b/src/ChunkData.h @@ -39,7 +39,7 @@ public: cChunkData(cAllocationPool & a_Pool); ~cChunkData(); - + #if __cplusplus < 201103L // auto_ptr style interface for memory management cChunkData(const cChunkData & a_Other); @@ -55,11 +55,11 @@ public: NIBBLETYPE GetMeta(int a_RelX, int a_RelY, int a_RelZ) const; bool SetMeta(int a_RelX, int a_RelY, int a_RelZ, NIBBLETYPE a_Nibble); - + NIBBLETYPE GetBlockLight(int a_RelX, int a_RelY, int a_RelZ) const; - + NIBBLETYPE GetSkyLight(int a_RelX, int a_RelY, int a_RelZ) const; - + /** Creates a (deep) copy of self. */ cChunkData Copy(void) const; @@ -75,7 +75,7 @@ public: /** Copies the skylight data into the specified flat array. */ void CopySkyLight (NIBBLETYPE * a_Dest) const; - + /** Copies the blocktype data from the specified flat array into the internal representation. Allocates sections that are needed for the operation. Requires that a_Src is a valid pointer. */ @@ -103,7 +103,7 @@ public: NIBBLETYPE m_BlockLight [SectionHeight * 16 * 16 / 2]; NIBBLETYPE m_BlockSkyLight[SectionHeight * 16 * 16 / 2]; }; - + private: #if __cplusplus < 201103L // auto_ptr style interface for memory management @@ -113,14 +113,14 @@ private: sChunkSection * m_Sections[NumSections]; cAllocationPool & m_Pool; - + /** Allocates a new section. Entry-point to custom allocators. */ sChunkSection * Allocate(void); /** Frees the specified section, previously allocated using Allocate(). Note that a_Section may be nullptr. */ void Free(sChunkSection * a_Section); - + /** Sets the data in the specified section to their default values. */ void ZeroSection(sChunkSection * a_Section) const; -- cgit v1.2.3