From 447d929da18b656227c77d9c00958bcf52afeeb2 Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Sun, 20 Aug 2017 23:23:23 +0100 Subject: Implement anvil chunk sparsing --- src/ChunkData.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/ChunkData.h') diff --git a/src/ChunkData.h b/src/ChunkData.h index 49a03fb4a..6bc2b5366 100644 --- a/src/ChunkData.h +++ b/src/ChunkData.h @@ -80,6 +80,18 @@ public: /** Copies the skylight data into the specified flat array. */ void CopySkyLight (NIBBLETYPE * a_Dest) const; + /** Fills the chunk with the specified block. */ + void FillBlockTypes(BLOCKTYPE a_Value); + + /** Fills the chunk with the specified meta value. */ + void FillMetas (NIBBLETYPE a_Value); + + /** Fills the chunk with the specified block light. */ + void FillBlockLight(NIBBLETYPE a_Value); + + /** Fills the chunk with the specified sky light. */ + void FillSkyLight (NIBBLETYPE a_Value); + /** 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. */ -- cgit v1.2.3