Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-03-05 | Prepare ChunkData for BlockState storage (#5105) | Tiger Wang | 1 | -577/+81 | |
* 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-04-03 | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 1 | -0/+1 | |
The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values | |||||
2018-07-26 | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 1 | -0/+2 | |
Add check for number of empty lines between functions and fix the corresponding failures | |||||
2018-07-23 | Optimise chunk set (#4260) | peterbell10 | 1 | -1/+1 | |
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-04 | cChunk and cChunkData: Use vectors for block get and set functions (#4172) | peterbell10 | 1 | -71/+69 | |
* cChunkData: Change interface to use Vector3i * cChunk: Add Vector3i overloads for bounded block get and set functions. | |||||
2017-08-26 | Implement anvil chunk sparsing | peterbell10 | 1 | -0/+123 | |
2017-08-21 | Implement protocol level chunk sparsing (#3864) | peterbell10 | 1 | -85/+91 | |
2016-04-23 | Out of world blocks are now always considered air blocks | LogicParrot | 1 | -4/+9 | |
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -17/+17 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -15/+15 | |
2015-03-10 | Fixed Bug in cChunkData. | worktycho | 1 | -1/+1 | |
FIxed a bug where if the index was not aligned with the sections empty sections would not be set in the correct location. | |||||
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -26/+26 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -26/+26 | |
2014-06-16 | Merge branch 'master' of github.com:mc-server/MCServer | Tycho | 1 | -11/+14 | |
2014-06-14 | Added generic Allocation Pool Interface | Tycho | 1 | -1/+1 | |
2014-06-14 | fixed spaces | Tycho | 1 | -1/+1 | |
2014-06-14 | fixed const issue | Tycho | 1 | -3/+3 | |
2014-06-14 | Fixed comments | Tycho | 1 | -2/+2 | |
2014-06-07 | Further improvements on redstone speed | Tiger Wang | 1 | -1/+1 | |
Based on suggestions of @worktycho * Repeaters now walk their data structure only when needed * Fixed a bug with cChunkData returning an incorrect value for whether a meta had changed | |||||
2014-06-04 | Fixed #1057 | Tiger Wang | 1 | -1/+1 | |
2014-05-30 | removed NULL assignment to const value | Tycho | 1 | -1/+0 | |
2014-05-30 | removed unneded addressof | Tycho | 1 | -7/+11 | |
2014-05-30 | Fixed cChunkData nibble copying. | madmaxoft | 1 | -9/+9 | |
2014-05-30 | Fixed sign comparison. | madmaxoft | 1 | -1/+1 | |
2014-05-30 | Fixed wrong copy sizes in cChunkData. | madmaxoft | 1 | -10/+10 | |
2014-05-29 | Attempt at fixing an unresolved symbol in gcc / clang. | madmaxoft | 1 | -1/+1 | |
2014-05-29 | Fix bug when a_Idx is not a multiple of SectionBLockCount | worktycho | 1 | -1/+1 | |
2014-05-29 | Derp | worktycho | 1 | -1/+1 | |
2014-05-29 | fix underflow | worktycho | 1 | -1/+1 | |
Wish c++ could specify saturating unsigned underflow. | |||||
2014-05-29 | Fixed wrong block sizes for copying / setting. | madmaxoft | 1 | -40/+35 | |
2014-05-29 | Fixed Wrong types in nibble sizeofs | worktycho | 1 | -3/+3 | |
2014-05-29 | Fixed overflow bug | worktycho | 1 | -6/+9 | |
2014-05-29 | Added comments, reformatted code. | madmaxoft | 1 | -249/+142 | |
2014-05-29 | Fixed forgotten changes. | madmaxoft | 1 | -3/+3 | |
2014-05-28 | cChunkData: Normalized code style. | madmaxoft | 1 | -78/+90 | |
2014-05-28 | Fixed cChunkData formatting. | madmaxoft | 1 | -28/+90 | |
2014-05-27 | Fixed test globals to work with precompiled headers | Tycho | 1 | -4/+0 | |
2014-05-25 | Fixed bad merge | Tycho | 1 | -5/+5 | |
2014-05-24 | inject TestGlobals.h correctly | Tycho | 1 | -3/+7 | |
2014-05-24 | Moved accessors to cpp file | Tycho | 1 | -1/+229 | |
2014-05-24 | Implemented style changes | Tycho | 1 | -33/+28 | |
2014-05-23 | Implemented Allocation Pool use by cChunkData | Tycho | 1 | -3/+3 | |
2014-05-21 | Fixed if spaces | Tycho | 1 | -6/+7 | |
2014-05-21 | Fixed reversed comparisons to null | Tycho | 1 | -9/+9 | |
2014-05-21 | Added space to ChunkData.cpp | Tycho | 1 | -20/+100 | |
2014-05-21 | Fixed stylistic issues | Tycho | 1 | -9/+9 | |
2014-05-21 | Renamed cChunkBuffer to cChunkData | Tycho | 1 | -15/+15 | |
2014-05-11 | Added several more testsfor arrays and coordinates | Tycho | 1 | -4/+16 | |
2014-05-11 | Fixed bug that caused Array Setters to always create segments | Tycho | 1 | -4/+4 | |
2014-05-11 | SkyLight defaults to 0xFF | Tycho | 1 | -1/+1 | |
2014-05-11 | Fixed a bug in writting zeros to a non-allocated section | Tycho | 1 | -0/+11 | |
2014-05-10 | Fixed stupid buffer overflow in array setblocks | Tycho | 1 | -3/+3 | |
2014-04-27 | Fixed a couple of segfaults and made Free a seperate function | Tycho | 1 | -3/+35 | |
2014-04-27 | Added other half of implementation | Tycho | 1 | -14/+133 | |
2014-04-26 | Implemented Chunk Sparsing with segments | Tycho | 1 | -0/+146 | |