Re-implemented tree-growing. May produce artefacts on old-world / new-world boundaries.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@293 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -248,6 +248,16 @@ void cChunk::SetAllData(const char * a_BlockData, cEntityList & a_Entities, cBlo
|
||||
|
||||
|
||||
|
||||
/// Copies m_BlockData into a_Blocks, only the block types
|
||||
void cChunk::GetBlocks(char * a_Blocks)
|
||||
{
|
||||
memcpy(a_Blocks, m_BlockData, cChunk::c_NumBlocks);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/// Returns true if there is a block entity at the coords specified
|
||||
bool cChunk::HasBlockEntityAt(int a_BlockX, int a_BlockY, int a_BlockZ)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user