7 Commits

Author SHA1 Message Date
Dylan K. Taylor
523a7f0999 Fix a very rare light propagation bug
This could occur when light sources were placed near each other and one of them is removed, the other's light would not be propagated far enough because the node wasn't queued for updating although it was marked as if it was.
2017-11-27 19:43:56 +00:00
Dylan K. Taylor
02f42eba48 Move block registration to its own class 2017-08-20 18:05:01 +01:00
Dylan K. Taylor
c6a6571c07 Revert bad optimization due to broken logic
Revert "Small optimization to light propagation"

This reverts commit 6d7b76f356decb071b82505a5ecf35dbf927230d.
2017-07-09 12:45:11 +01:00
Dylan K. Taylor
6d7b76f356 Small optimization to light propagation 2017-07-09 12:21:07 +01:00
Dylan K. Taylor
8cca8e1256 Fixed a bug in light removal 2017-07-09 12:19:38 +01:00
Dylan K. Taylor
0f79b19fdc Removed masks for Y coordinates, fixed bugs related to out-of-bounds coordinates, fixed #914 (#915) 2017-06-21 10:55:38 +01:00
Dylan K. Taylor
8919d4a372 Some refactoring to allow for light updates to be executed asynchronously 2017-06-17 17:38:47 +01:00