summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockDoor.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-04-21Vector3 in Handlers (#4680)Mattes D1-16/+28
Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
2020-04-16Using Super.Mattes D1-3/+3
2019-10-16Refactored block-to-pickup conversion. (#4417)Mattes D1-10/+8
2018-07-27cWorld: Manually bind deprecated broadcast functions (#4265)peterbell101-1/+1
Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-0/+4
Add check for number of empty lines between functions and fix the corresponding failures
2017-11-20cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050)Bond-0091-5/+5
2017-08-02Removed double includes (#3885)Lukas Pioch1-1/+0
2017-08-01cBlockHandler: take player by refpeterbell101-6/+6
2017-08-01cWorld::SendBlockTo take player by refpeterbell101-3/+3
2017-07-28Check for intersection between placed blocks and entities. (#3850)Lane Kolbly1-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.
2017-02-15Updated sounds and effect IDs (#3422)mathiascode1-1/+1
2016-02-05Bulk clearing of whitespaceLogicParrot1-2/+2
2015-12-13allow use failures to propagate from the entity/block to the playerGargaj1-1/+3
2015-11-24Add enum for Sound and Particle EffectsDave Tucker1-1/+2
Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2015-08-01Fixed Iron DoorNicholas W1-1/+6
2015-07-14Improved mapsTiger Wang1-1/+1
2015-05-21Added open/close and sound effects for all door typesb33duck1-3/+17
2015-05-09More style checking.Mattes D1-3/+3
Spaces around some operators are checked.
2014-12-24Refactored all player block placing to go through hooks.Mattes D1-28/+12
Fixes #1618.
2014-12-05BasicStyle: Added missing braces to control statements.Mattes D1-2/+8
2014-09-26Removed more unessicary includesTycho1-1/+0
2014-09-12Fixed farmland issues.Howaner1-1/+1
2014-09-09Removed old sound-configuration for doorsMasy981-9/+0
2014-07-17Basic style fixes.madmaxoft1-2/+2
2014-06-17Add UNUSED() TagsHowaner1-0/+6
2014-06-17Add door soundHowaner1-0/+1
2014-05-30Better SetOpen() and IsOpen() function from the doors.Howaner1-1/+1
2014-03-26Fixed Minor typos.narroo1-2/+5
2014-03-25Added 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....)narroo1-2/+8
2014-03-24Added MetaRotate/Mirror Support for a number of classes.narroo1-0/+75
2014-03-05Add SendBlockTo to cWorldInterfaceHowaner1-3/+5
2014-03-05Add data backsending, when the Client interacts a Block and the Interact is cancelled.Howaner1-0/+21
2014-02-27Added some Metadate rotaters using templated MixinTycho1-1/+1
2014-02-04Improved Type safety of eBlockFaceTycho1-2/+2
May Fix #640
2014-02-01Changed pointers to referencesTycho1-14/+14
2014-02-01Changed signitures of Several BLockHandler MethodsTycho1-16/+15
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
2014-01-25First attempt at Implementing InterfacesTycho1-1/+1
2013-12-20Fixed missing parenthesis.madmaxoft1-4/+4
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-09-09Removed the cDoors class.madmaxoft1-4/+3
The helper functions that it implemented were moved into their respective blockhandlers.
2013-08-25Fixed iron door opening by handTiger Wang1-1/+4
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-1/+1
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-88/+88
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-25/+17
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-19Added dispensers (they can't dispense items yet)luksor111@gmail.com1-13/+4
Fixed crash when digging snow Moved BlockPlace hook check, so Core plugin will no longer block item usage Player chat messages are now visible in the console git-svn-id: http://mc-server.googlecode.com/svn/trunk@1081 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-19Implemented double doorsluksor111@gmail.com1-10/+18
Implemented fence gate Updated g_BlockTransparent[] Doors can now only be opened by right clicking Doors will now drop when not supported by block git-svn-id: http://mc-server.googlecode.com/svn/trunk@1080 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-03Moved blockticking into blockhandler classes.madmaxoft@gmail.com1-19/+19
Also slightly refactored the variable / argument names (BlockID is deprecated, use BlockType instead) git-svn-id: http://mc-server.googlecode.com/svn/trunk@921 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-01Slight refactoring of BlockHandlers - dropping unneeded virtual functionsmadmaxoft@gmail.com1-15/+38
( http://forum.mc-server.org/showthread.php?tid=434&pid=4734#pid4734 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@917 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29Unified folder name-casingmadmaxoft@gmail.com1-0/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-4/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-11Merged in a patch for sounds by l0udPLmadmaxoft@gmail.com1-1/+10
http://forum.mc-server.org/showthread.php?tid=434&pid=4564#pid4564 git-svn-id: http://mc-server.googlecode.com/svn/trunk@858 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-19Fixed Bug #236lapayo94@gmail.com1-1/+6
Workbench, Chest and Furnace are usable again git-svn-id: http://mc-server.googlecode.com/svn/trunk@755 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16Some code improvementslapayo94@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15A new Block handling system :olapayo94@gmail.com1-0/+60
It was really a lot of work :D Took me the complete weekend :D Would really like to here your opinion on this =) The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6