summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockCocoaPod.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mark UNREACHABLE with intrinsicsTiger Wang2021-02-201-2/+1
|
* Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell102020-10-051-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>
* Unify block entity pickup conversionTiger Wang2020-09-251-1/+1
| | | | | - Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it
* BlockHandler initialisation is a constant expression (#4891)Tiger Wang2020-09-201-33/+25
| | | | | | | | | | | | | * 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>
* Vector3 in Handlers (#4680)Mattes D2020-04-211-7/+6
| | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
* More Vector3 in cBlockHandler (#4644)Mattes D2020-04-171-2/+8
| | | | | * cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works.
* Using Super.Mattes D2020-04-161-2/+2
|
* Cocoa pods have three growing stagesMat2020-03-231-2/+2
|
* Moved growing from cWorld / cChunk to cBlockHandler descendants.Mattes D2019-10-281-12/+41
|
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-3/+12
|
* Deal with covered switches consistently (#4161)peterbell102018-02-051-4/+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()
* FastRandom rewrite (#3754)peterbell102017-06-131-3/+1
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-1/+1
|
* Improved mapsTiger Wang2015-07-141-5/+5
|
* Fixed warnings in MSVC.Mattes D2015-06-021-0/+4
| | | | It complained about undefined return values or using uninitialized variables.
* Fixed a lot of warningstycho2015-05-191-1/+3
|
* "& 0x0f" isn't neededHowaner2014-12-141-2/+2
|
* FixesHowaner2014-12-131-2/+2
|
* Added cocoa pod.Howaner2014-12-011-0/+96