summaryrefslogtreecommitdiffstats
path: root/tests/ChunkData/Coordinates.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-03-05Prepare ChunkData for BlockState storage (#5105)Tiger Wang1-38/+45
* 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-05-10Cleanup unneeded globals (#4736)peterbell101-1/+1
2019-08-26Improved testing framework. (#4376)Mattes D1-52/+59
2018-07-23Optimise chunk set (#4260)peterbell101-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
2018-02-04cChunk and cChunkData: Use vectors for block get and set functions (#4172)peterbell101-43/+43
* cChunkData: Change interface to use Vector3i * cChunk: Add Vector3i overloads for bounded block get and set functions.
2016-06-18SelfTests: Print a quick message on test start.Mattes D1-0/+2
2016-04-23Out of world blocks are now always considered air blocksLogicParrot1-48/+23
2015-05-24Disable -Werror for warnings in tests.tycho1-11/+1
2014-06-16Merge branch 'master' of github.com:mc-server/MCServerTycho1-4/+17
2014-06-14Added generic Allocation Pool InterfaceTycho1-7/+12
2014-06-14fixed spacesTycho1-1/+1
2014-06-14fixed spacesTycho1-2/+2
2014-05-30Fixed cChunkData nibble copying.madmaxoft1-4/+4
2014-05-27Fixed test globals to work with precompiled headersTycho1-1/+1
2014-05-25Fixed bad mergeTycho1-1/+7
2014-05-24Implemented style changesTycho1-19/+19
2014-05-23Implemented Allocation Pool use by cChunkDataTycho1-4/+12
2014-05-21Renamed cChunkBuffer to cChunkDataTycho1-5/+5
2014-05-17C++11Tycho1-0/+8
2014-05-17Fix assignment operators testworktycho1-3/+3
2014-05-17Add tests for assignment operatorworktycho1-0/+11
2014-05-11Fixed a bug in writting zeros to a non-allocated sectionTycho1-93/+111
2014-05-10Added some more testsTycho1-2/+93
2014-05-10Maybe coverage working?Tycho1-0/+15