Mapgen: Add propagate_shadow bool to calcLighting
authorparamat <mat.gregory@virginmedia.com>
Wed, 2 Dec 2015 03:28:03 +0000 (03:28 +0000)
committerparamat <mat.gregory@virginmedia.com>
Mon, 7 Dec 2015 03:18:24 +0000 (03:18 +0000)
commit49073ba2c34dfd8e286865ed2d108a4ec1eb3e3c
tree2372b48d5bfd846775ced52653afa92883e0a20c
parenta78dd7f2b6b0e1fefdbaa1ae21b722dd4459e4f4
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
doc/lua_api.txt
src/mapgen.cpp
src/mapgen.h
src/mapgen_singlenode.cpp
src/mapgen_singlenode.h
src/mapgen_v6.cpp
src/script/lua_api/l_vmanip.cpp