Mapgen: Add propagate_shadow bool to calcLighting
To terminate unwanted shadows from floatlands or realms above Also add to LuaVoxelManip calc_lighting for use in mapgen mods Remove the 2 argument calcLighting, mapgens now use the 5 argument form to specify the volumes for propagateSunlight and spreadLight In mgsinglenode replace calcLighting with setLighting and clean-up use of tabs and spaces
Showing
- doc/lua_api.txt 5 additions, 3 deletionsdoc/lua_api.txt
- src/mapgen.cpp 6 additions, 23 deletionssrc/mapgen.cpp
- src/mapgen.h 3 additions, 6 deletionssrc/mapgen.h
- src/mapgen_singlenode.cpp 14 additions, 10 deletionssrc/mapgen_singlenode.cpp
- src/mapgen_singlenode.h 1 addition, 0 deletionssrc/mapgen_singlenode.h
- src/mapgen_v6.cpp 3 additions, 1 deletionsrc/mapgen_v6.cpp
- src/script/lua_api/l_vmanip.cpp 2 additions, 1 deletionsrc/script/lua_api/l_vmanip.cpp
Loading
Please register or sign in to comment