diff options
Diffstat (limited to 'src/voxelalgorithms.h')
-rw-r--r-- | src/voxelalgorithms.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/voxelalgorithms.h b/src/voxelalgorithms.h index 3dea233dc..9c90e18a9 100644 --- a/src/voxelalgorithms.h +++ b/src/voxelalgorithms.h @@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #define VOXELALGORITHMS_HEADER #include "voxel.h" +#include "mapnode.h" namespace voxalgo { @@ -30,6 +31,11 @@ namespace voxalgo void setLight(VoxelManipulator &v, VoxelArea a, u8 light, INodeDefManager *ndef); +void clearLightAndCollectSources(VoxelManipulator &v, VoxelArea a, + enum LightBank bank, INodeDefManager *ndef, + core::map<v3s16, bool> & light_sources, + core::map<v3s16, u8> & unlight_from); + struct SunlightPropagateResult { bool bottom_sunlight_valid; |