summaryrefslogtreecommitdiffstats
path: root/src/Blocks/Mixins.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-10-05Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell101-29/+15
* 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-25Unify block entity pickup conversionTiger Wang1-2/+2
- Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it
2020-09-20BlockHandler initialisation is a constant expression (#4891)Tiger Wang1-36/+22
* BlockHandler initialisation is a constant expression If we can't make it all namespaces, this is the next best I guess. + Tag handlers constexpr, const as needed + Inherit constructors * Privatise handler functions * More constexpr Co-authored-by: Alexander Harkness <me@bearbin.net>
2020-04-21Vector3 in Handlers (#4680)Mattes D1-9/+15
Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
2020-04-16Using Super.Mattes D1-7/+7
2020-04-11Fix rotation metas on blocksAlexander Harkness1-4/+10
2020-04-11fixing rotation - rel. #4625GefaketHD1-14/+8
2020-04-10Replace all single-digit hex constants with two-digit versionAlexander Harkness1-12/+12
2020-04-10Reduce line length on templatesAlexander Harkness1-2/+19
2020-04-10Add additional spacing between template/function definitionsAlexander Harkness1-0/+9
2020-04-10Add doxy-comments to new functionsAlexander Harkness1-2/+4
2020-04-10Fix comment textAlexander Harkness1-8/+4
2020-04-10Add mixins for blocks that rotate based on player yaw at placementAlexander Harkness1-0/+134
Also add observer block handler.
2019-10-16Refactored block-to-pickup conversion. (#4417)Mattes D1-0/+166