summaryrefslogtreecommitdiffstats
path: root/src/ChunkData.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mitigate MSVC crash (#5146)Tiger Wang2021-03-061-27/+18
| | | Reference: http://ci.appveyor.com/project/Cuberite/cuberite/builds/38087390/job/p857ibg3x87naw36/messages
* Prepare ChunkData for BlockState storage (#5105)Tiger Wang2021-03-051-83/+110
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885)KingCol132020-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removed BiomeDef.h * Removed ChunkDef.h from Globals.h * Added to CONTRIBUTORS. * Re-added empty last line to Globals.h * Included stddef and StringUtils in BiomeDef.h * Fixed build tools compiling. It compiles, but at what cost? * Added include to src/Generating/Trees.h * Include added in ChunkGeneratorThread.h * Moved rearranged includes in LineBlockTracer.cpp * Re-arrange headers in ChunkInterface.cpp * Included ChunkDef.h in Path.h * Included ChunkDef.h in NBTChunkSerializer.h * Rearranged included and added required includes to headers. * Removed unnecessary included in StringUtils.h.
* cChunk and cChunkData: Use vectors for block get and set functions (#4172)peterbell102018-02-041-6/+6
| | | | | * cChunkData: Change interface to use Vector3i * cChunk: Add Vector3i overloads for bounded block get and set functions.
* Implement anvil chunk sparsingpeterbell102017-08-261-0/+12
|
* Implement protocol level chunk sparsing (#3864)peterbell102017-08-211-34/+32
|
* Remove double includes part 2 (#3890)peterbell102017-08-031-3/+0
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-8/+8
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-1/+1
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-3/+3
|
* Merge branch 'master' of github.com:mc-server/MCServerTycho2014-06-161-23/+31
|
* Fixed wrong block sizes for copying / setting.madmaxoft2014-05-291-2/+1
|
* Added comments, reformatted code.madmaxoft2014-05-291-17/+48
|
* Add commentworktycho2014-05-291-0/+4
|
* cChunkData: Normalized code style.madmaxoft2014-05-281-11/+16
|
* Fixed cChunkData formatting.madmaxoft2014-05-281-11/+11
|
* Moved accessors to cpp fileTycho2014-05-241-215/+12
|
* Implemented style changesTycho2014-05-241-50/+58
|
* Fixed if spacesTycho2014-05-211-16/+16
|
* Fixed reversed comparisons to nullTycho2014-05-211-8/+8
|
* Changed cChunkData::SetMeta to return a bool indicating whether the value changedTycho2014-05-211-4/+6
|
* Fixed stylistic issuesTycho2014-05-211-10/+10
|
* Renamed cChunkBuffer to cChunkDataTycho2014-05-211-0/+279