summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_14.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* zlib -> libdeflate (#5085)Tiger Wang2021-01-111-2/+1
| | | | | | + Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite
* ViewDistance: unsigned -> signedTiger Wang2020-12-261-1/+1
|
* Prepare for 1.15+ (#4856)Tiger Wang2020-12-211-2/+2
| | | | | + Add type-safe container for states * Split registry Blocks into BlockTypes, BlockStates so the block types enumeration can be #included without too much penalty * Ensure Registry uses type-safe container
* Warnings improvementsTiger Wang2020-12-181-1/+1
| | | | | | | | | * Turn off global-constructors warning. These are needed to implement cRoot signal handler functionality * Add Clang flags based on version lookup instead of a compile test. The CMake config process is single threaded and slow enough already * Reduced GetStackValue verbosity + Clarify EnchantmentLevel, StayCount, AlwaysTicked, ViewDistance signedness + Give SettingsRepositoryInterface a move constructor to simplify main.cpp code - Remove do {} while (false) construction in redstone handler
* Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell102020-10-051-31/+1
| | | | | | | | | | | | | | | * Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Add State enum to protocolTiger Wang2020-09-181-3/+3
|
* Cleanup Protocol classesTiger Wang2020-09-181-23/+23
| | | | * Visibility, static, ordering changes
* Made cProtocol::Version, EntityMetadata enums less verboseTiger Wang2020-08-211-1/+1
|
* Remove complex templated SendBlockChangeTiger Wang2020-08-211-33/+10
| | | | If we're sending enough blocks to have virtual calls be an issue, we should resend the chunk instead.
* Add Statistics and Achievements for newer Network standards12xx122020-08-191-0/+9
|
* 1.14 connection supportTiger Wang2020-07-261-0/+305