summaryrefslogtreecommitdiffstats
path: root/tests/ChunkData/Copies.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improved testing framework. (#4376)Mattes D2019-08-261-18/+27
|
* Optimise chunk set (#4260)peterbell102018-07-231-2/+7
| | | | | | | | | | | | | | | | | 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
* cChunk and cChunkData: Use vectors for block get and set functions (#4172)peterbell102018-02-041-29/+29
| | | | | * cChunkData: Change interface to use Vector3i * cChunk: Add Vector3i overloads for bounded block get and set functions.
* Implement protocol level chunk sparsing (#3864)peterbell102017-08-211-1/+2
|
* SelfTests: Print a quick message on test start.Mattes D2016-06-181-0/+2
|
* Merge branch 'master' of github.com:mc-server/MCServerTycho2014-06-161-5/+18
|
* Fixed test return values.madmaxoft2014-05-301-7/+7
|
* Fixed wrong block sizes for copying / setting.madmaxoft2014-05-291-16/+16
|
* Fixed test compilation.madmaxoft2014-05-291-10/+10
|
* Fixed test globals to work with precompiled headersTycho2014-05-271-1/+1
|
* Implemented style changesTycho2014-05-241-97/+38
|
* Renamed cChunkBuffer to cChunkDataTycho2014-05-211-0/+193