Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't push blocks outside world height limits (#4516) | Mat | 2020-03-22 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | * Don't push blocks outside world height limits * Style fix * Apply suggestion Co-Authored-By: peterbell10 <peterbell10@live.co.uk> * Apply suggestion Co-Authored-By: peterbell10 <peterbell10@live.co.uk> * Improvements * Add block type check back * Revert line break changes * Update BlockPiston.cpp Co-authored-by: peterbell10 <peterbell10@live.co.uk> | ||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -52/+23 |
| | |||||
* | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 2018-08-29 | 1 | -1/+1 |
| | | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work. | ||||
* | At long last... Piston animations! | Tiger Wang | 2018-07-25 | 1 | -59/+99 |
| | | | | | * Fixes #3198 * Fixes #57 (again lol) | ||||
* | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 2017-11-20 | 1 | -2/+2 |
| | |||||
* | Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) | Lane Kolbly | 2017-09-19 | 1 | -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 Kolbly | 2017-08-25 | 1 | -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) | peterbell10 | 2017-08-03 | 1 | -3/+0 |
| | |||||
* | cBlockHandler: take player by ref | peterbell10 | 2017-08-01 | 1 | -4/+4 |
| | |||||
* | Allocate redstone component handlers upfront | peterbell10 | 2017-07-17 | 1 | -22/+22 |
| | |||||
* | Updated sounds and effect IDs (#3422) | mathiascode | 2017-02-15 | 1 | -2/+2 |
| | |||||
* | StyleCheck: Add "else has to be on a separate line" (#3412) | mohe2015 | 2016-10-20 | 1 | -1/+2 |
| | |||||
* | Fixed piston destroying other pistons | Altenius | 2016-07-06 | 1 | -5/+9 |
| | | | | Fixes #3251 | ||||
* | Refactored code to use vectors in the cPistonHandler class | bibo38 | 2015-11-07 | 1 | -47/+37 |
| | |||||
* | Added some code improvements | bibo38 | 2015-11-07 | 1 | -16/+36 |
| | |||||
* | Renamed GetDirectionVec into VectorFromMetaData to improve code readability. | bibo38 | 2015-11-07 | 1 | -5/+5 |
| | |||||
* | Fixed the style problems and added some comments | bibo38 | 2015-11-07 | 1 | -6/+17 |
| | |||||
* | Extracted block moving code into a seperate method | bibo38 | 2015-11-07 | 1 | -77/+48 |
| | |||||
* | Replaced the usage of pistonMeta with a direction vector to allow better meta value abstraction | bibo38 | 2015-11-07 | 1 | -72/+60 |
| | |||||
* | Fixed pulling/pushing of breakable blocks, which are not required to be moved | bibo38 | 2015-11-07 | 1 | -3/+20 |
| | |||||
* | Implemented the basic slime block pulling | bibo38 | 2015-11-07 | 1 | -17/+62 |
| | |||||
* | Implemented the SlimeBlock into the CanPush method to allow slimeblocks to work correctly when pushed | bibo38 | 2015-11-07 | 1 | -15/+26 |
| | |||||
* | Piston extension now works with the new recursive CanPushBlock method. | bibo38 | 2015-11-07 | 1 | -36/+41 |
| | |||||
* | Added the CanPushBlock method for the piston push check. | bibo38 | 2015-11-07 | 1 | -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 refactor | Tiger Wang | 2015-09-25 | 1 | -20/+5 |
| | | | | | * Llama-ified and condensed Schedule/QueueTask - Removed hackery done with piston animations | ||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -2/+2 |
| | |||||
* | Buttons no longer click on when already on. Buttons now play sound when clicking off. | Hax52 | 2015-06-24 | 1 | -3/+3 |
| | |||||
* | Merge pull request #1822 from mc-server/ResettableLuaCallback | Mattes D | 2015-03-20 | 1 | -3/+3 |
|\ | | | | | Added cPluginLua::cResettable interface, used for scheduled tasks. | ||||
| * | Added cPluginLua::cResettable interface, used for scheduled tasks. | Mattes D | 2015-03-20 | 1 | -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 #1765 | bibo38 | 2015-03-20 | 1 | -0/+10 |
|/ | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -1/+1 |
| | |||||
* | Removed more unessicary includes | Tycho | 2014-09-26 | 1 | -0/+1 |
| | |||||
* | Fixed farmland issues. | Howaner | 2014-09-12 | 1 | -1/+1 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -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. | Howaner | 2014-07-13 | 1 | -2/+2 |
| | |||||
* | Implemented trapped chests & others | Tiger Wang | 2014-07-07 | 1 | -1/+1 |
| | | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | ||||
* | Suggestions two | Tiger Wang | 2014-06-01 | 1 | -3/+3 |
| | |||||
* | Changed block send queue to use vectors | Tiger Wang | 2014-05-29 | 1 | -6/+17 |
| | | | | As suggested by @worktycho. | ||||
* | Hopefully fixed piston duplication issues | Tiger Wang | 2014-05-25 | 1 | -5/+161 |
| | | | | | * Fixes #879 * Fixes #714 | ||||
* | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 1 | -1/+1 |
| | | | | May Fix #640 | ||||
* | Changed Signiture of OnDestroyedByPlayer | Tycho | 2014-02-01 | 1 | -5/+5 |
| | |||||
* | Changed pointers to references | Tycho | 2014-02-01 | 1 | -5/+5 |
| | |||||
* | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -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. | madmaxoft | 2014-01-17 | 1 | -1/+1 |
| | |||||
* | Removed obsoleted functions | Tiger Wang | 2014-01-16 | 1 | -1/+1 |
| | |||||
* | Merged master into redstonefixes | Tiger Wang | 2013-11-27 | 1 | -0/+8 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+102 |