Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prepare ChunkData for BlockState storage (#5105) | Tiger Wang | 2021-03-05 | 1 | -81/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | * Rename ChunkData Creatable test * Add missing Y-check in RedstoneWireHandler * Remove ChunkDef.h dependency in Scoreboard * Prepare ChunkData for BlockState storage + Split chunk block, meta, block & sky light storage + Load the height map from disk - Reduce duplicated code in ChunkData - Remove saving MCSBiomes, there aren't any - Remove the allocation pool, ref #4315, #3864 * fixed build * fixed test * fixed the debug compile Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> | ||||
* | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 2020-08-01 | 1 | -1/+1 |
| | |||||
* | Limit the size of cListAllocationPool's free list | peterbell10 | 2019-02-20 | 1 | -1/+1 |
| | |||||
* | Optimise chunk set (#4260) | peterbell10 | 2018-07-23 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | Closes #1244 Initially I was just going to add the cChunkData to cSetChunkData but profiling revealed that the copying wasn't even the biggest slowdown. Much more time was being spent in cChunk::CreateBlockEntities and cChunk::WakeUpSimulators than was in memcpy so I've made those significantly faster as well. Optimisations performed: * cSetChunkData now stores blocks in a cChunkData object * cChunkData objects can now perform moves even if they are using different pools * cChunk::CreateBlockEntities now iterates in the correct order and only over present chunk sections * Similarly for cChunk::WakeUpSimulators * cSetChunkData::CalculateHeightMap now shortcuts to the highest present chunk section before checking blocks directly | ||||
* | Implement protocol level chunk sparsing (#3864) | peterbell10 | 2017-08-21 | 1 | -0/+34 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -6/+6 |
| | |||||
* | Removed unused class cChunkDataCollector. | Mattes D | 2015-12-18 | 1 | -20/+0 |
| | |||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 1 | -14/+10 |
| | |||||
* | Removed redundant semicolons and re-added warning | archshift | 2014-07-24 | 1 | -7/+7 |
| | |||||
* | Fixed basic whitespace problems. | madmaxoft | 2014-07-17 | 1 | -2/+2 |
| | | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | ||||
* | Added comments, reformatted code. | madmaxoft | 2014-05-29 | 1 | -9/+31 |
| | |||||
* | Implemented style changes | Tycho | 2014-05-24 | 1 | -4/+4 |
| | |||||
* | Renamed cChunkBuffer to cChunkData | Tycho | 2014-05-21 | 1 | -9/+9 |
| | |||||
* | Fixed issue with types not being defined for an unused parameter | Tycho | 2014-05-18 | 1 | -0/+105 |