summaryrefslogtreecommitdiffstats
path: root/src/AllocationPool.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Prepare ChunkData for BlockState storage (#5105)Tiger Wang2021-03-051-187/+0
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* Fix debug macro situation (#5114)Tiger Wang2021-01-261-4/+4
| | | Use the standard NDEBUG.
* Cleanup unneeded globals (#4736)peterbell102020-05-101-3/+3
|
* Limit the size of cListAllocationPool's free listpeterbell102019-02-201-18/+28
|
* Optimise chunk set (#4260)peterbell102018-07-231-6/+33
| | | | | | | | | | | | | | | | | 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
* Remove double includes part 2 (#3890)peterbell102017-08-031-2/+0
|
* MSVC Debug builds: Added operator new redirection to provide more info. (#3781)Mattes D2017-06-191-0/+26
|
* Clang 5.0 fixesLukas Pioch2017-05-211-1/+1
| | | | | - Added override keyword - Removed inherited member variables
* Bulk clearing of whitespaceLogicParrot2016-02-051-10/+10
|
* Unified the doxy-comment format.Mattes D2015-07-311-58/+71
|
* Make -Werror disabling file onlytycho2015-05-191-3/+3
| | | | Ad fix a load of warnings
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-3/+3
|
* Final template keyword style fix.Mattes D2014-08-281-2/+2
|
* Fixed basic whitespace problems.madmaxoft2014-07-171-2/+6
| | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
* Merge branch 'master' of github.com:mc-server/MCServerTycho2014-06-161-0/+109