mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Optionally specify propagateSunlight area in calcLighting
This fixes the Mapgen V5 calcLighting segfault
This commit is contained in:
parent
00bca11f59
commit
7289d61e99
4 changed files with 39 additions and 21 deletions
|
@ -154,10 +154,14 @@ public:
|
|||
s16 findGroundLevel(v2s16 p2d, s16 ymin, s16 ymax);
|
||||
void updateHeightmap(v3s16 nmin, v3s16 nmax);
|
||||
void updateLiquid(UniqueQueue<v3s16> *trans_liquid, v3s16 nmin, v3s16 nmax);
|
||||
void setLighting(v3s16 nmin, v3s16 nmax, u8 light);
|
||||
|
||||
void setLighting(u8 light, v3s16 nmin, v3s16 nmax);
|
||||
void lightSpread(VoxelArea &a, v3s16 p, u8 light);
|
||||
|
||||
void calcLighting(v3s16 nmin, v3s16 nmax);
|
||||
void calcLighting(v3s16 nmin, v3s16 nmax,
|
||||
v3s16 full_nmin, v3s16 full_nmax);
|
||||
|
||||
void propagateSunlight(v3s16 nmin, v3s16 nmax);
|
||||
void spreadLight(v3s16 nmin, v3s16 nmax);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue