diff options
Diffstat (limited to 'src/SetChunkData.h')
-rw-r--r-- | src/SetChunkData.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/SetChunkData.h b/src/SetChunkData.h index 8a4a8b995..763f478be 100644 --- a/src/SetChunkData.h +++ b/src/SetChunkData.h @@ -1,8 +1,3 @@ - -// SetChunkData.h - -// Defines the SetChunkData struct that contains the data for a loaded / generated chunk, ready to be set - #pragma once #include "ChunkData.h" @@ -12,6 +7,7 @@ +/** Contains the data for a loaded / generated chunk, ready to be set into a cWorld. */ struct SetChunkData { /** Initialise the structure with chunk coordinates. @@ -33,4 +29,8 @@ struct SetChunkData cBlockEntities BlockEntities; bool IsLightValid; + + + /** Recalculates the HeightMap based on BlockData contents. */ + void UpdateHeightMap(); }; |