mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Mapgen flags: Add 'biomes' global mapgen flag (#7355)
Previously the only way to disable biomes was to 'clear' the registered biomes in a mod, but this method causes large amounts of unnecessary processing: 1. Calculation of 4 2D noises. 2. Looping through all nodes of a mapchunk replacing nodes with identical nodes. The new flag disables those operations.
This commit is contained in:
@@ -56,7 +56,8 @@ FlagDesc flagdesc_mapgen[] = {
|
||||
{"dungeons", MG_DUNGEONS},
|
||||
{"light", MG_LIGHT},
|
||||
{"decorations", MG_DECORATIONS},
|
||||
{NULL, 0}
|
||||
{"biomes", MG_BIOMES},
|
||||
{NULL, 0}
|
||||
};
|
||||
|
||||
FlagDesc flagdesc_gennotify[] = {
|
||||
|
Reference in New Issue
Block a user