1
0

Generator: Added repeatability test.

This commit is contained in:
Mattes D
2019-09-06 14:14:25 +02:00
parent f50c6735f8
commit 343bc2729e
3 changed files with 119 additions and 25 deletions

View File

@@ -222,6 +222,10 @@ public:
inline cEntityList & GetEntities (void) { return m_Entities; }
inline cBlockEntities & GetBlockEntities (void) { return m_BlockEntities; }
inline const cChunkDef::BiomeMap & GetBiomeMap() const { return m_BiomeMap; }
inline const cChunkDef::BlockTypes & GetBlockTypes() const { return *(reinterpret_cast<cChunkDef::BlockTypes *>(m_BlockArea.GetBlockTypes())); }
inline const cChunkDef::HeightMap & GetHeightMap() const { return m_HeightMap; }
/** Compresses the metas from the BlockArea format (1 meta per byte) into regular format (2 metas per byte) */
void CompressBlockMetas(cChunkDef::BlockNibbles & a_DestMetas);