summaryrefslogtreecommitdiffstats
path: root/src/ChunkData.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChunkData.h')
-rw-r--r--src/ChunkData.h12
1 files changed, 12 insertions, 0 deletions
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. */