mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add blockseed to on_generated
This commit is contained in:
parent
81b9cfdfa4
commit
9a1df7bf38
6 changed files with 25 additions and 7 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue