d8d994351b
phpstan 0.12.29
2020-06-14 16:25:55 +01:00
f5a49b6d55
LightUpdate: improve quality of property type info
2020-05-17 09:33:18 +01:00
c4793241f5
Mass removal of useless @param/@return PHPDoc annotations, pass 1
2020-01-21 15:10:18 +00:00
31e8efa6d1
level/light: populate missing return type information
2020-01-19 18:06:31 +00:00
1eedac87b2
added missing @var property types (reported by phpstan)
2020-01-09 14:13:54 +00:00
29f002b32c
LightUpdate: fixed type doc for updateNodes field
2019-10-22 12:23:42 +01:00
f61e099828
Merge branch 'release/3.3' into release/3.4
2018-10-24 15:52:04 +01:00
09985c5763
Fixed async light population producing garbage when generator isn't registered, closes #2488
2018-10-24 15:49:00 +01:00
7c44eea625
Merge branch 'release/3.3' into release/3.4
2018-10-19 18:53:18 +01:00
41fd03f329
LightUpdate: fixed double-updated nodes not getting light propagated appropriately
...
This can happen when a light source is removed and later encountering another light source to fill the gap. A higher light level may get set and then not propagated. This bug is difficult to explain, but fairly easy to reproduce.
2018-10-19 18:53:04 +01:00
0aa63d269a
Merge branch 'release/3.2' into release/3.3
2018-09-11 11:35:46 +01:00
69500fe183
LightUpdate: Remove garbage left over from dab73d8950
2018-09-11 11:35:31 +01:00
191f0038b8
LightUpdate: Allow a single position to be set more than once before executing
...
This is needed for batched lighting updates to work. It also reduces the overhead involved with simply preparing a lighting update and moves the pain to the execute() instead.
2018-09-11 11:33:57 +01:00
6047810113
Level: remove useless null checks for fastDeserialize() returns
2018-06-01 17:02:29 +01:00
6d53350291
Level: Moved LightPopulationTask out of generator namespace
2018-05-29 11:20:27 +01:00
4f8e4f0522
Add EOF newlines where missing (bulk) ( #1836 )
...
This should solve issues with people making GitHub PRs and having the web editor messing things up. GitHub Web Editor sucks :(
2017-12-20 11:56:36 +00:00
d3e5733ea0
Significantly improved light population performance using subchunk
...
direct accessing
These changes produce upwards of 2x better performance (YMMV, also
depends on the circumstances).
2017-11-28 11:20:22 +00:00
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
02f42eba48
Move block registration to its own class
2017-08-20 18:05:01 +01:00
c6a6571c07
Revert bad optimization due to broken logic
...
Revert "Small optimization to light propagation"
This reverts commit 6d7b76f356
.
2017-07-09 12:45:11 +01:00
6d7b76f356
Small optimization to light propagation
2017-07-09 12:21:07 +01:00
8cca8e1256
Fixed a bug in light removal
2017-07-09 12:19:38 +01:00
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
8919d4a372
Some refactoring to allow for light updates to be executed asynchronously
2017-06-17 17:38:47 +01:00