summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockDoor.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merged OnBreak with OnPlayerBreak (#4967)12xx122020-10-081-1/+7
| | | | Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* BlockHandler initialisation is a constant expression (#4891)Tiger Wang2020-09-201-17/+8
| | | | | | | | | | | | | * 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>
* Simply Y-check in door handlerTiger Wang2020-08-041-1/+1
|
* Continue with placement when using iron doorsTiger Wang2020-08-041-2/+4
|
* Door drops respect player gamemodeTiger Wang2020-08-041-6/+11
| | | | | | * Rely on caller to handle converting to pickups, all OnBroken needs to do is to maintain the unity of the door * Fixes #4797 * Fixes #4796
* Vector3 in Handlers (#4680)Mattes D2020-04-211-16/+28
| | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
* Using Super.Mattes D2020-04-161-3/+3
|
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-10/+8
|
* cWorld: Manually bind deprecated broadcast functions (#4265)peterbell102018-07-271-1/+1
| | | Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-0/+4
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050)Bond-0092017-11-201-5/+5
|
* Removed double includes (#3885)Lukas Pioch2017-08-021-1/+0
|
* cBlockHandler: take player by refpeterbell102017-08-011-6/+6
|
* cWorld::SendBlockTo take player by refpeterbell102017-08-011-3/+3
|
* Check for intersection between placed blocks and entities. (#3850)Lane Kolbly2017-07-281-0/+10
| | | | | | | | | | | | | * Check for intersection between placed blocks and entities. + Implemented GetPlacementCollisionBox, to permit custom placement collision boxes for blocks. * Factored block-entity placement checking into another function in cPlayer. - Removed vector min/max functions * Use GetWorld to get the world in DoesPlacingBlocksIntersectEntity. + Added block height checks, allow different cEntity subclasses to decide whether they will prevent block placement.
* Updated sounds and effect IDs (#3422)mathiascode2017-02-151-1/+1
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-2/+2
|
* allow use failures to propagate from the entity/block to the playerGargaj2015-12-131-1/+3
|
* Add enum for Sound and Particle EffectsDave Tucker2015-11-241-1/+2
| | | | | | Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
* Fixed Iron DoorNicholas W2015-08-011-1/+6
|
* Improved mapsTiger Wang2015-07-141-1/+1
|
* Added open/close and sound effects for all door typesb33duck2015-05-211-3/+17
|
* More style checking.Mattes D2015-05-091-3/+3
| | | | Spaces around some operators are checked.
* Refactored all player block placing to go through hooks.Mattes D2014-12-241-28/+12
| | | | Fixes #1618.
* BasicStyle: Added missing braces to control statements.Mattes D2014-12-051-2/+8
|
* Removed more unessicary includesTycho2014-09-261-1/+0
|
* Fixed farmland issues.Howaner2014-09-121-1/+1
|
* Removed old sound-configuration for doorsMasy982014-09-091-9/+0
|
* Basic style fixes.madmaxoft2014-07-171-2/+2
|
* Add UNUSED() TagsHowaner2014-06-171-0/+6
|
* Add door soundHowaner2014-06-171-0/+1
|
* Better SetOpen() and IsOpen() function from the doors.Howaner2014-05-301-1/+1
|
* Fixed Minor typos.narroo2014-03-261-2/+5
|
* Added a comment about the behavior of doors under mirros. Simply put, the current implementation of MetaMirror causes glitchy behavior. The door class itself needs to be edited. (I've got an idea on that....)narroo2014-03-251-2/+8
|
* Added MetaRotate/Mirror Support for a number of classes.narroo2014-03-241-0/+75
|
* Merge pull request #729 from worktycho/MetaRotateMattes D2014-03-081-1/+1
|\ | | | | Alternitive solution to #503
| * Added some Metadate rotaters using templated MixinTycho2014-02-271-1/+1
| |
* | Add SendBlockTo to cWorldInterfaceHowaner2014-03-051-3/+5
| |
* | Add data backsending, when the Client interacts a Block and the Interact is cancelled.Howaner2014-03-051-0/+21
|/
* Improved Type safety of eBlockFaceTycho2014-02-041-2/+2
| | | | May Fix #640
* Changed pointers to referencesTycho2014-02-011-14/+14
|
* Changed signitures of Several BLockHandler MethodsTycho2014-02-011-16/+15
| | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
* First attempt at Implementing InterfacesTycho2014-01-251-1/+1
|
* Fixed missing parenthesis.madmaxoft2013-12-201-4/+4
|
* Moved source to srcAlexander Harkness2013-11-241-0/+90