summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockAnvil.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-10-05Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell101-1/+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-25Unify block entity pickup conversionTiger Wang1-1/+1
- 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-12/+7
* 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-07-04cWindow: Convert XYZ to Vector3 (#4764)MaxwellScroggs1-1/+1
2020-04-21Vector3 in Handlers (#4680)Mattes D1-6/+27
Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
2020-04-16Using Super.Mattes D1-5/+6
2020-04-11Fix rotation metas on blocksAlexander Harkness1-15/+9
2019-10-16Refactored block-to-pickup conversion. (#4417)Mattes D1-2/+10
2017-08-06Removed unneeded includes (#3902)Lukas Pioch1-1/+0
2017-08-01cBlockHandler: take player by refpeterbell101-5/+5
2017-06-05Fixes problems with windows:Lukas Pioch1-1/+1
- Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers
2016-02-05Bulk clearing of whitespaceLogicParrot1-2/+2
2015-12-13allow use failures to propagate from the entity/block to the playerGargaj1-1/+2
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-2/+2
2015-07-14Improved mapsTiger Wang1-4/+6
2015-05-19Fixed a lot of warningstycho1-4/+4
2014-12-13Own classes for all windows.Howaner1-0/+1
2014-08-29Fixed conversion warning.Mattes D1-1/+1
2014-08-28Fixed anvil placing.Hownaer1-5/+6
2014-07-17Basic style fixes.madmaxoft1-1/+1
2014-05-05Add clicks, exp subtraction, item check, ...Howaner1-1/+1
2014-05-05Add anvil window and slot area.Howaner1-0/+7
2014-04-01Simplified the anvil placement code.madmaxoft1-11/+9
2014-03-30Fixed a few Clang warnings in BlockHandlers.madmaxoft1-5/+5
2014-03-16Fix anvil pickups.Howaner1-1/+1
2014-03-16Add anvil direction.Howaner1-0/+63