1
0

Added comments, reformatted code.

This commit is contained in:
madmaxoft
2014-05-29 18:25:08 +02:00
parent d9c667d28f
commit f7777e8c75
6 changed files with 226 additions and 280 deletions

View File

@@ -282,8 +282,8 @@ void cChunk::SetAllData(
CalculateHeightmap(a_BlockTypes);
}
m_ChunkData.SetBlocks(a_BlockTypes);
m_ChunkData.SetMeta(a_BlockMeta);
m_ChunkData.SetBlockTypes(a_BlockTypes);
m_ChunkData.SetMetas(a_BlockMeta);
m_ChunkData.SetBlockLight(a_BlockLight);
m_ChunkData.SetSkyLight(a_BlockSkyLight);
@@ -339,7 +339,7 @@ void cChunk::SetLight(
void cChunk::GetBlockTypes(BLOCKTYPE * a_BlockTypes)
{
m_ChunkData.CopyBlocks(a_BlockTypes);
m_ChunkData.CopyBlockTypes(a_BlockTypes);
}