diff options
author | paramat <paramat@users.noreply.github.com> | 2017-10-11 01:06:40 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-10-29 12:02:55 +0000 |
commit | 241fe649f7357271d5c02c3d5f7a987ad7811d6d (patch) | |
tree | 59ec80835fa44387a3ae4acffc0dc3ef4c712ac1 /src/util/basic_macros.h | |
parent | a637107a4e81be88938d68df4deae50e68cf2cd8 (diff) | |
download | minetest-241fe649f7357271d5c02c3d5f7a987ad7811d6d.tar.gz minetest-241fe649f7357271d5c02c3d5f7a987ad7811d6d.tar.bz2 minetest-241fe649f7357271d5c02c3d5f7a987ad7811d6d.zip |
Biome API: Add decoration flags for underground decorations
Add "all_floors" and "all_ceilings" flags for simple and schematic
decorations. Decorations are placed on all floor and/or ceiling surfaces.
Decorations are placed before dungeon generation so placement in dungeons
is not possible.
Add 'getSurfaces()' function to mapgen.cpp that returns 2 arrays of y
coordinates for all floor and ceiling surfaces in a specified node column.
Move 'getHeight()' checks into DecoSimple and DecoSchematic. Delete
'getHeight()' functions.
Diffstat (limited to 'src/util/basic_macros.h')
0 files changed, 0 insertions, 0 deletions