summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_14.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-01-11zlib -> libdeflate (#5085)Tiger Wang1-2/+1
+ Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite
2020-12-26ViewDistance: unsigned -> signedTiger Wang1-1/+1
2020-12-21Prepare for 1.15+ (#4856)Tiger Wang1-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
2020-12-18Warnings improvementsTiger Wang1-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
2020-10-05Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell101-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>
2020-09-18Add State enum to protocolTiger Wang1-3/+3
2020-09-18Cleanup Protocol classesTiger Wang1-23/+23
* Visibility, static, ordering changes
2020-08-21Made cProtocol::Version, EntityMetadata enums less verboseTiger Wang1-1/+1
2020-08-21Remove complex templated SendBlockChangeTiger Wang1-33/+10
If we're sending enough blocks to have virtual calls be an issue, we should resend the chunk instead.
2020-08-19Add Statistics and Achievements for newer Network standards12xx121-0/+9
2020-07-261.14 connection supportTiger Wang1-0/+305