1
0

Fixed minor style issues

This commit is contained in:
Tycho 2014-05-21 18:33:54 +01:00
parent 8a0d3f7921
commit cdd3d11496
4 changed files with 8 additions and 8 deletions

@ -1 +1 @@
Subproject commit 013a32a7fb3c8a6cfe0aef892d4c7394d4e1be59
Subproject commit 5c8557d4fdfa580c100510cde07a1a778ea2e244

View File

@ -1843,7 +1843,7 @@ void cBlockArea::cChunkReader::ChunkBuffer(const cChunkBuffer & a_BlockBuffer)
int SizeY = m_Area.m_Size.y;
int MinY = m_Origin.y;
// SizeX, SizeZ are the dmensions of the block data to copy from the current chunk (size of the geometric union)
// SizeX, SizeZ are the dimensions of the block data to copy from the current chunk (size of the geometric union)
// OffX, OffZ are the offsets of the current chunk data from the area origin
// BaseX, BaseZ are the offsets of the area data within the current chunk from the chunk borders
int SizeX = cChunkDef::Width;

View File

@ -317,8 +317,8 @@ protected:
void CopyNibbles(NIBBLETYPE * a_AreaDst, const NIBBLETYPE * a_ChunkSrc);
// cChunkDataCallback overrides:
virtual bool Coords (int a_ChunkX, int a_ChunkZ) override;
virtual void ChunkBuffer (const cChunkBuffer & a_BlockTypes) override;
virtual bool Coords(int a_ChunkX, int a_ChunkZ) override;
virtual void ChunkBuffer(const cChunkBuffer & a_BlockTypes) override;
} ;
typedef NIBBLETYPE * NIBBLEARRAY;

View File

@ -282,10 +282,10 @@ void cChunk::SetAllData(
CalculateHeightmap(a_BlockTypes);
}
m_ChunkBuffer.SetBlocks (a_BlockTypes);
m_ChunkBuffer.SetMeta (a_BlockMeta);
m_ChunkBuffer.SetLight (a_BlockLight);
m_ChunkBuffer.SetSkyLight (a_BlockSkyLight);
m_ChunkBuffer.SetBlocks(a_BlockTypes);
m_ChunkBuffer.SetMeta(a_BlockMeta);
m_ChunkBuffer.SetLight(a_BlockLight);
m_ChunkBuffer.SetSkyLight(a_BlockSkyLight);
m_IsLightValid = (a_BlockLight != NULL) && (a_BlockSkyLight != NULL);