Dylan K. Taylor
b7d1d11eb4
Chunk: remove useless field "height"
2019-10-22 23:00:49 +01:00
Dylan K. Taylor
295d14e0d9
Chunk: make setSubChunk() throw exception on invalid Y instead of returning false
2019-10-22 23:00:49 +01:00
Dylan K. Taylor
9d3637c999
Chunk: remove useless proxy field emptySubChunk
2019-10-22 23:00:49 +01:00
Dylan K. Taylor
e1352668d1
LightPopulationTask: Don't overwrite the whole chunk on completion
...
this is more efficient (less data copied for ITC), fixes #2873 , and also fixes terrain changes during task run getting overwritten.
This still leaves the problem that the light information provided may be out of date by the time the task completes, but this is nonetheless a step forward.
2019-10-22 23:00:21 +01:00
Dylan K. Taylor
296825b87e
LightArray: collect garbage on unserialize
...
serialize/unserialize don't preserve const refs, so this is necessary to reassign global refs post-unserialize
2019-10-22 20:09:51 +01:00
Dylan K. Taylor
f720a58013
RegionWorldProvider: don't assume that path has a trailing directory separator
2019-08-25 19:50:51 +01:00
Dylan K. Taylor
3eea2442a7
move filesystem-related functions to pocketmine\utils\Filesystem
2019-08-25 17:36:50 +01:00
Dylan K. Taylor
39d5903c3e
Remove INT32_MIN and INT32_MAX global constants
2019-08-25 16:09:51 +01:00
Dylan K. Taylor
42ffc45c1c
world providers: don't assume that getPath() has a trailing directory separator
2019-08-25 15:45:40 +01:00
Dylan K. Taylor
aa006cca0e
WorldProviderManager: added getAvailableProviders()
...
this will be used by standalone CLI conversion tool
2019-08-24 19:59:57 +01:00
Dylan K. Taylor
514f395280
SubChunk: reduce visibility of blockLight and skyLight fields
2019-08-10 19:47:41 +01:00
Dylan T
c533f6a0bd
Implemented partial chunk saving on LevelDB ( #3078 )
2019-08-07 17:39:36 +01:00
Dylan K. Taylor
4e5b296c8c
Tiles now encapsulate positions instead of extending them
2019-08-05 19:33:34 +01:00
Dylan K. Taylor
5499ac620c
Removed pocketmine subdirectory, map PSR-4 style
2019-07-30 19:14:57 +01:00