summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockTripwireHook.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mark UNREACHABLE with intrinsicsTiger Wang2021-02-201-1/+0
|
* 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>
* BlockHandler initialisation is a constant expression (#4891)Tiger Wang2020-09-201-24/+15
| | | | | | | | | | | | | * 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>
* Correct placement for tripwire hooksTiger Wang2020-07-251-22/+29
| | | | https://github.com/cuberite/cuberite/commit/487f9a2aa9b5497495cef1ac3b9c7a603e69f862#r40900869
* Vector3 in Handlers (#4680)Mattes D2020-04-211-13/+16
| | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
* Using Super.Mattes D2020-04-161-2/+2
|
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-9/+26
|
* 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()
* cBlockHandler: take player by refpeterbell102017-08-011-1/+1
|
* Improved mapsTiger Wang2015-07-141-4/+6
|
* Fixed warnings in MSVC.Mattes D2015-06-021-0/+8
| | | | It complained about undefined return values or using uninitialized variables.
* Fixed compile and a few more warningstycho2015-05-191-1/+7
|
* Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy982014-09-091-5/+0
|
* Code formatting fixes.Howaner2014-08-191-5/+5
|
* Implemented tripwire(s) (hooks)Tiger Wang2014-06-281-0/+82
* Fixes #944