diff options
Diffstat (limited to 'src/mapgen.h')
-rw-r--r-- | src/mapgen.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mapgen.h b/src/mapgen.h index 24a853bdc..3374c6782 100644 --- a/src/mapgen.h +++ b/src/mapgen.h @@ -36,6 +36,9 @@ namespace mapgen // Find out if block is completely underground bool block_is_underground(u64 seed, v3s16 blockpos); + // Get a pseudorandom seed for a position on the map + u32 get_blockseed(u64 seed, v3s16 p); + // Main map generation routine void make_block(BlockMakeData *data); |