summaryrefslogtreecommitdiffstats
path: root/src/ChunkDataCallback.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-03-05Prepare ChunkData for BlockState storage (#5105)Tiger Wang1-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>
2020-08-01Replaced cpp14::make_unique<> with std::make_unique<>.Mattes D1-1/+1
2019-02-20Limit the size of cListAllocationPool's free listpeterbell101-1/+1
2018-07-23Optimise chunk set (#4260)peterbell101-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
2017-08-21Implement protocol level chunk sparsing (#3864)peterbell101-0/+34
2016-02-05Bulk clearing of whitespaceLogicParrot1-6/+6
2015-12-18Removed unused class cChunkDataCollector.Mattes D1-20/+0
2015-07-31Unified the doxy-comment format.Mattes D1-14/+10
2014-07-24Removed redundant semicolons and re-added warningarchshift1-7/+7
2014-07-17Fixed basic whitespace problems.madmaxoft1-2/+2
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
2014-05-29Added comments, reformatted code.madmaxoft1-9/+31
2014-05-24Implemented style changesTycho1-4/+4
2014-05-21Renamed cChunkBuffer to cChunkDataTycho1-9/+9
2014-05-18Fixed issue with types not being defined for an unused parameterTycho1-0/+105