summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockPiston.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly2017-09-191-4/+4
| | | | | | | | | | | | | | | | | | * Made BroadcastSoundEffect take vector parameters. * Added docs for new vectored methods * Removed old code * Fixed lua warnings * Made old BroadcastSoundEffect not an override. * m_Block to m_BlockPos, used Vector3d constructor where prettier. * a_Block to a_BlockPos * Changed thunderbolt a_Block to a_BlockPos
* Bed piston fix (#3956)Lane Kolbly2017-08-251-2/+3
| | | | | | | | | | | | * Threaded world interface into ConvertBlockToPickups * Changed how cBlockPiston::PushBlocks sets the old block to air, so that the block exists for the DropBlock call. * Removed unused a_Digger argument. * Removed incorrect comment * This time actually removed a_Digger references.
* Remove double includes part 2 (#3890)peterbell102017-08-031-3/+0
|
* cBlockHandler: take player by refpeterbell102017-08-011-4/+4
|
* Allocate redstone component handlers upfrontpeterbell102017-07-171-22/+22
|
* Updated sounds and effect IDs (#3422)mathiascode2017-02-151-2/+2
|
* StyleCheck: Add "else has to be on a separate line" (#3412)mohe20152016-10-201-1/+2
|
* Fixed piston destroying other pistonsAltenius2016-07-061-5/+9
| | | | Fixes #3251
* Refactored code to use vectors in the cPistonHandler classbibo382015-11-071-47/+37
|
* Added some code improvementsbibo382015-11-071-16/+36
|
* Renamed GetDirectionVec into VectorFromMetaData to improve code readability.bibo382015-11-071-5/+5
|
* Fixed the style problems and added some commentsbibo382015-11-071-6/+17
|
* Extracted block moving code into a seperate methodbibo382015-11-071-77/+48
|
* Replaced the usage of pistonMeta with a direction vector to allow better meta value abstractionbibo382015-11-071-72/+60
|
* Fixed pulling/pushing of breakable blocks, which are not required to be movedbibo382015-11-071-3/+20
|
* Implemented the basic slime block pullingbibo382015-11-071-17/+62
|
* Implemented the SlimeBlock into the CanPush method to allow slimeblocks to work correctly when pushedbibo382015-11-071-15/+26
|
* Piston extension now works with the new recursive CanPushBlock method.bibo382015-11-071-36/+41
|
* Added the CanPushBlock method for the piston push check.bibo382015-11-071-22/+34
| | | | This allows the recursive check for blocks to push, which is needed to implement the slime blocks into the piston system.
* Prepared ScheduleTask for threading refactorTiger Wang2015-09-251-20/+5
| | | | | * Llama-ified and condensed Schedule/QueueTask - Removed hackery done with piston animations
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-2/+2
|
* Buttons no longer click on when already on. Buttons now play sound when clicking off.Hax522015-06-241-3/+3
|
* Merge pull request #1822 from mc-server/ResettableLuaCallbackMattes D2015-03-201-3/+3
|\ | | | | Added cPluginLua::cResettable interface, used for scheduled tasks.
| * Added cPluginLua::cResettable interface, used for scheduled tasks.Mattes D2015-03-201-3/+3
| | | | | | | | | | This allows plugins to register objects that can "survive" the plugin unloading - they will simply bail out if the plugin is already unloaded, instead of referencing bad plugin data. Fixes #1556.
* | Removed Metavalue from Piston drops. Bugfix #1765bibo382015-03-201-0/+10
|/
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-1/+1
|
* Removed more unessicary includesTycho2014-09-261-0/+1
|
* Fixed farmland issues.Howaner2014-09-121-1/+1
|
* Basic style fixes.madmaxoft2014-07-171-1/+1
|
* Normalized comments.madmaxoft2014-07-171-2/+2
| | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
* Changed BroadcastSoundEffect function to take floating pos.Howaner2014-07-131-2/+2
|
* Implemented trapped chests & othersTiger Wang2014-07-071-1/+1
| | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
* Suggestions twoTiger Wang2014-06-011-3/+3
|
* Changed block send queue to use vectorsTiger Wang2014-05-291-6/+17
| | | | As suggested by @worktycho.
* Hopefully fixed piston duplication issuesTiger Wang2014-05-251-5/+161
| | | | | * Fixes #879 * Fixes #714
* Improved Type safety of eBlockFaceTycho2014-02-041-1/+1
| | | | May Fix #640
* Changed Signiture of OnDestroyedByPlayerTycho2014-02-011-5/+5
|
* Changed pointers to referencesTycho2014-02-011-5/+5
|
* Changed signitures of Several BLockHandler MethodsTycho2014-02-011-5/+5
| | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
* Removed internal cEntity::GetRot() usage.madmaxoft2014-01-171-1/+1
|
* Removed obsoleted functionsTiger Wang2014-01-161-1/+1
|
* Merged master into redstonefixesTiger Wang2013-11-271-0/+8
|
* Moved source to srcAlexander Harkness2013-11-241-0/+102