diff options
author | Mattes D <github@xoft.cz> | 2023-05-26 12:59:31 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2023-05-26 23:00:17 +0200 |
commit | 889eba1df501e190f9019cc42bad1606477c4cce (patch) | |
tree | d39d291692153c15e996a412e609beff1adbaae9 /src/SetChunkData.h | |
parent | Added cChunkCoords fmtlib formatter. (diff) | |
download | cuberite-889eba1df501e190f9019cc42bad1606477c4cce.tar cuberite-889eba1df501e190f9019cc42bad1606477c4cce.tar.gz cuberite-889eba1df501e190f9019cc42bad1606477c4cce.tar.bz2 cuberite-889eba1df501e190f9019cc42bad1606477c4cce.tar.lz cuberite-889eba1df501e190f9019cc42bad1606477c4cce.tar.xz cuberite-889eba1df501e190f9019cc42bad1606477c4cce.tar.zst cuberite-889eba1df501e190f9019cc42bad1606477c4cce.zip |
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(); }; |