summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/FastNBT.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Prepare ChunkData for BlockState storage (#5105)Tiger Wang2021-03-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* zlib -> libdeflate (#5085)Tiger Wang2021-01-111-24/+24
| | | | | | + Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite
* FastNBTWriter: AddString now uses string_viewTiger Wang2020-08-281-1/+1
| | | | * Avoids an allocation for all those string literals we pass in
* 1.14 connection supportTiger Wang2020-07-261-1/+1
|
* Cleanup unneeded globals (#4736)peterbell102020-05-101-1/+1
|
* NBT: Dynamic list-max-count protection. (#4697)Mattes D2020-04-301-0/+4
|
* Deal with covered switches consistently (#4161)peterbell102018-02-051-34/+1
| | | | | | | * Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message()
* cParsedNBT: Improved error reporting (#3876)peterbell102017-07-301-8/+81
| | | | | | * cParsedNBT: Improved error reporting * Fix typos
* Bulk clearing of whitespaceLogicParrot2016-02-051-35/+35
|
* Fixes compilation failures on MacOSX 10.10Samuel Barney2015-07-091-30/+30
| | | | | * Replace old c-style casts with c++ casts * Added `-Wno-error=old-style-cast` to Protocol18x.cpp
* More style checking.Mattes D2015-05-091-1/+1
| | | | Spaces around some operators are checked.
* Fixed UNUSED macro so that it doesn't require type knowledge.madmaxoft2014-09-261-4/+4
| | | | Introduced new UNUSED_VAR macro that is used when type knowledge is available (for local variables).
* Added initializers for class members.Mattes D2014-08-211-0/+4
| | | | As reported by Coverity, these weren't initialized.
* Removed redundant semicolons and re-added warningarchshift2014-07-241-1/+1
|
* Basic style fixes.madmaxoft2014-07-171-3/+3
|
* Build fixes after the last size_t batch.Mattes D2014-05-091-7/+7
|
* Fixed MSVC 64-bit build warnings.Mattes D2014-05-091-4/+4
|
* Fixed warnings in FastNBT.madmaxoft2014-05-011-2/+2
|
* Fixed silly Clang's warnings in FastNBT.madmaxoft2014-04-041-28/+28
|
* Merge branch 'master' into ballisticmissilesTiger Wang2014-03-091-7/+50
|\ | | | | | | | | Conflicts: src/ClientHandle.cpp
| * Added more documentation for FastNBT parser.madmaxoft2014-03-021-3/+45
| |
| * Improved comments in float size check.madmaxoft2014-03-011-2/+2
| |
| * Better fix for the 32-bit float reading.madmaxoft2014-02-281-4/+5
| |
* | Implemented ballistic missiles (fireworks)Tiger Wang2014-02-271-1/+1
|/ | | | + Added fireworks
* Fixed a gcc warning in FastNBT.h.madmaxoft2014-02-261-2/+11
|
* More memory alignment fixes.madmaxoft2014-01-021-3/+3
| | | | Ref.: #420.
* Moved source to srcAlexander Harkness2013-11-241-0/+293