summaryrefslogtreecommitdiffstats
path: root/src/ChunkDataCallback.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Optimise chunk set (#4260)peterbell102018-07-231-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)peterbell102017-08-211-0/+34
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-6/+6
|
* Removed unused class cChunkDataCollector.Mattes D2015-12-181-20/+0
|
* Unified the doxy-comment format.Mattes D2015-07-311-14/+10
|
* Removed redundant semicolons and re-added warningarchshift2014-07-241-7/+7
|
* Fixed basic whitespace problems.madmaxoft2014-07-171-2/+2
| | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
* Added comments, reformatted code.madmaxoft2014-05-291-9/+31
|
* Implemented style changesTycho2014-05-241-4/+4
|
* Renamed cChunkBuffer to cChunkDataTycho2014-05-211-9/+9
|
* Fixed issue with types not being defined for an unused parameterTycho2014-05-181-0/+105