1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-15 09:25:37 +02:00

Add blockseed to on_generated

This commit is contained in:
Perttu Ahola
2012-03-28 20:46:05 +03:00
parent 81b9cfdfa4
commit 9a1df7bf38
6 changed files with 25 additions and 7 deletions

View File

@@ -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);