Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not fake a tool when converting to pickups (#5170) | Tiger Wang | 2021-03-28 | 1 | -1/+1 |
| | | | | | * When the cause of destruction was world-induced (CanBeAt check failed) there is no tool. Pass the nullptr directly to ConvertToPickups and let it handle it. * Fixes #4795 - Remove unused a_Digger parameter to ConvertToPickups. | ||||
* | Remove DoesDropOnUnsuitable | Tiger Wang | 2021-03-15 | 1 | -13/+0 |
| | | | | This is only overridden false in Vines and Snow. It is called when a CanBeAt check fails, to determine whether DropBlockAsPickups is called. However, Vines and Snow already drop nothing without the right tool, so this function is superfluous. | ||||
* | cChunk: don't inherit from cChunkDef (#5106) | Tiger Wang | 2021-01-18 | 1 | -1/+1 |
| | |||||
* | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 2020-10-05 | 1 | -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 conversion | Tiger Wang | 2020-09-25 | 1 | -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 Wang | 2020-09-20 | 1 | -19/+14 |
| | | | | | | | | | | | | | * 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> | ||||
* | Corrected wakeup sequences | Tiger Wang | 2020-08-04 | 1 | -10/+9 |
| | | | | | | | * Pistons/Ice no longer need to FastSetBlock first (#4600), and the former don't drop items when broken in creative - Begin migration away from stationary fluids * Tick the chunk after applying a client's changed * Broadcast pending blocks at the end of a tick | ||||
* | Always use relative coordinates in AddBlock | Tiger Wang | 2020-08-02 | 1 | -2/+1 |
| | | | | | + Pass block, use relatives * Fixes everything immediately converting abs back to rel and getting block, when these data were already available | ||||
* | Vector3 in Handlers (#4680) | Mattes D | 2020-04-21 | 1 | -6/+8 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | More Vector3 in cBlockHandler (#4644) | Mattes D | 2020-04-17 | 1 | -5/+13 |
| | | | | | * cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works. | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -2/+2 |
| | |||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -23/+90 |
| | |||||
* | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 2017-11-20 | 1 | -4/+4 |
| | |||||
* | Changed int parameters to vector parameters in cCuboid and simulators (#3874) | Lane Kolbly | 2017-08-17 | 1 | -1/+1 |
| | |||||
* | Removed unneeded includes (#3902) | Lukas Pioch | 2017-08-06 | 1 | -2/+2 |
| | |||||
* | cBlockHandler: take player by ref | peterbell10 | 2017-08-01 | 1 | -1/+1 |
| | |||||
* | BigFlower fixes (#3826) | peterbell10 | 2017-07-07 | 1 | -1/+1 |
| | | | | | | | * BigFlowers fixes * Correct upper part meta * Documented parameters to DoesIgnoreBuildCollision | ||||
* | Fix shears (and vines) | Bond-009 | 2017-06-21 | 1 | -1/+7 |
| | | | | | | | * Shears now lose durability when breaking any block * Leaves don't drop 2 leaves anymore when broken by shears * Removed the chance to drop saplings or apples when leaves are broken by shears * Vines can't be attached to ender chests, pistons and redstone repeaters | ||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -4/+4 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -2/+2 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -16/+8 |
| | |||||
* | Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. | Lukas Pioch | 2015-05-23 | 1 | -1/+1 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into BlockFixes | Howaner | 2014-10-21 | 1 | -2/+10 |
|\ | |||||
| * | Functions in cPluginManager get references instead of pointers. | Mattes D | 2014-10-15 | 1 | -2/+10 |
| | | |||||
* | | Corrected IsBlockAttachable() in BlockVine.h | Howaner | 2014-10-07 | 1 | -5/+15 |
|/ | |||||
* | Removed more unessicary includes | Tycho | 2014-09-26 | 1 | -1/+1 |
| | |||||
* | Moved sound-configs into BlockID.h and fixed/ added loads of sounds | Masy98 | 2014-09-09 | 1 | -6/+0 |
| | |||||
* | Code formatting fixes. | Howaner | 2014-08-19 | 1 | -3/+3 |
| | |||||
* | Fix item durability. | Howaner | 2014-07-23 | 1 | -0/+7 |
| | | | Fixes #1181 | ||||
* | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -1/+1 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Fixed clang warnings in BlockHandlers. | madmaxoft | 2014-04-01 | 1 | -2/+2 |
| | |||||
* | Fixed a few Clang warnings in BlockHandlers. | madmaxoft | 2014-03-30 | 1 | -2/+2 |
| | |||||
* | Merge pull request #834 from narroo/issue503 | Mattes D | 2014-03-30 | 1 | -1/+1 |
|\ | | | | | Issue503 pull Request | ||||
| * | Fixed spelling; Rotater to Rotator. | narroo | 2014-03-25 | 1 | -1/+1 |
| | | |||||
* | | Change SpreadSource prefix to ss | Howaner | 2014-03-27 | 1 | -1/+1 |
| | | |||||
* | | Add SpreadSource | Howaner | 2014-03-27 | 1 | -1/+4 |
| | | |||||
* | | Add new leaves to all classes. | Howaner | 2014-03-16 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #775 from worktycho/warnings | Mattes D | 2014-03-09 | 1 | -3/+13 |
|\ | | | | | Fixed a few warnings | ||||
| * | Fixed warnings | Tycho | 2014-03-07 | 1 | -3/+13 |
| | | |||||
* | | Merge pull request #729 from worktycho/MetaRotate | Mattes D | 2014-03-08 | 1 | -4/+4 |
|\ \ | |/ |/| | Alternitive solution to #503 | ||||
| * | Reverted BlockVine | worktycho | 2014-03-02 | 1 | -3/+27 |
| | | |||||
| * | Implemented Rotations | Tycho | 2014-03-01 | 1 | -27/+3 |
| | | |||||
* | | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -1/+1 |
|/ | |||||
* | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 1 | -1/+1 |
| | | | | May Fix #640 | ||||
* | Changed Signiture of OnUpdate | Tycho | 2014-02-02 | 1 | -2/+2 |
| | |||||
* | Changed pointers to references | Tycho | 2014-02-01 | 1 | -3/+3 |
| | |||||
* | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -3/+3 |
| | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | ||||
* | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 2013-12-20 | 1 | -1/+1 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+201 |