diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-01-15 13:50:13 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-01-15 13:50:13 +0200 |
commit | a176f9eb36033196040443991a0723c39886b8a2 (patch) | |
tree | 9951d81ea02d1355d15ccefd09379a2737efaf44 /src/mapblock.h | |
parent | 83e083a667d8423ea27555ed58cc90a5f57d103f (diff) | |
download | minetest-a176f9eb36033196040443991a0723c39886b8a2.tar.gz minetest-a176f9eb36033196040443991a0723c39886b8a2.tar.bz2 minetest-a176f9eb36033196040443991a0723c39886b8a2.zip |
generate-time lighting optimization
Diffstat (limited to 'src/mapblock.h')
-rw-r--r-- | src/mapblock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapblock.h b/src/mapblock.h index 743dad927..b3fa76bb7 100644 --- a/src/mapblock.h +++ b/src/mapblock.h @@ -312,7 +312,8 @@ public: #endif // !SERVER // See comments in mapblock.cpp - bool propagateSunlight(core::map<v3s16, bool> & light_sources); + bool propagateSunlight(core::map<v3s16, bool> & light_sources, + bool remove_light=false, bool *black_air_left=NULL); // Copies data to VoxelManipulator to getPosRelative() void copyTo(VoxelManipulator &dst); |