Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apply new clang-formattingclang-format-codebase | Alexander Harkness | 2024-11-02 | 1 | -31/+79 |
| | |||||
* | Updated protocol functions to Vector3x | x12xx12x | 2022-04-20 | 1 | -2/+2 |
| | | | | also added support in included functions | ||||
* | ItemHandler initialisation is a constant expression (#5344) | x12xx12x | 2021-12-02 | 1 | -7/+7 |
| | | | | | * Transition to non-pointer item handler * That is my destructor - I decide when I leave this world * I declare your destruction private and you final | ||||
* | Move item placement into item handlers (#5184) | Tiger Wang | 2021-05-05 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Move item placement into item handlers + Add appropriate CanBeAt checks in cPlayer::PlaceBlocks, into which all placement handlers call. * Partly addresses #5157 * Fixes #4878 * Fixes #2919 * Fixes #4629 * Fixes #4239 * Fixes #4849 Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com> * Review fixes * Update APIDesc.lua * Rename Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com> | ||||
* | Properly deprecate more XYZ parameter'd functions (#5147) | Tiger Wang | 2021-03-15 | 1 | -2/+2 |
| | | | * Fixes #5144 | ||||
* | Use Vector3 for cLineBlockTracer and cBlockTracer (#4715) | mBornand | 2020-05-08 | 1 | -7/+7 |
| | | | * cLineBlockTracer uses Vector | ||||
* | Vector3 in Handlers (#4680) | Mattes D | 2020-04-21 | 1 | -10/+24 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 1 | -1/+2 |
| | | | | | | | | | The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values | ||||
* | Replace buckets to the selected hotbar slot, rather than the first available. (#4580) | Alexander Harkness | 2020-04-02 | 1 | -26/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Replace buckets to the selected hotbar slot, rather than the first available. Replicates vanilla behaviour, as well as being more logical. * Refactor cInventory::AddItem. Behaviour is now documented * Add new cInventory::ReplaceOneEquippedItem and ::SetEquippedItem methods * Return empty potion to the same slot after drinking * Replace buckets correctly in other situations, not simply water and lava Uses the new ReplaceOneEquippedItem method * Correct collecting water from source block with bottle * Add cPlayer::ReplaceOneEquippedItemTossRest method * Handle stacked filled buckets (in theory) Use new cPlayer::ReplaceOneEquippedItemTossRest method | ||||
* | Don't remove items twice (#4524) | Mat | 2020-03-22 | 1 | -2/+1 |
| | | | * Don't remove items twice | ||||
* | Disable block placement in adventure mode (#4424) | Mat | 2019-12-30 | 1 | -0/+12 |
| | |||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -7/+5 |
| | |||||
* | Buckets: Be able to place fluids through other fluids. (#4331) | Zach DeCook | 2019-05-07 | 1 | -2/+2 |
| | |||||
* | Keep players in gmNotSet (#4248) | changyong guo | 2018-07-23 | 1 | -1/+1 |
| | | | | This allows players game mode to update to the default after portal to another world. Fixes #4207 | ||||
* | Removed unneeded includes (#3902) | Lukas Pioch | 2017-08-06 | 1 | -1/+0 |
| | |||||
* | Tracer replacement (#3704) | Mattes D | 2017-05-11 | 1 | -4/+5 |
| | | | | | | * Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API. | ||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -12/+12 |
| | |||||
* | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-28 | 1 | -2/+2 |
|\ | | | | | | | | | Conflicts: src/Inventory.cpp | ||||
| * | Merge pull request #2061 from mc-server/fixes | Alexander Harkness | 2015-05-27 | 1 | -2/+2 |
| |\ | | | | | | | Fixes | ||||
| | * | Fixes #2052 | Tiger Wang | 2015-05-18 | 1 | -2/+2 |
| | | | |||||
* | | | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-24 | 1 | -0/+14 |
|\| | | |||||
| * | | Fixes #2059 | Blitz Rakete | 2015-05-21 | 1 | -0/+14 |
| |/ | |||||
* / | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -1/+1 |
|/ | |||||
* | Scooping up fluid calls the player placement hooks. | Mattes D | 2015-04-14 | 1 | -4/+12 |
| | | | | Ref.: #1857. | ||||
* | Placing a fluid from bucket calls plugin hooks. | Mattes D | 2015-04-14 | 1 | -19/+43 |
| | | | | Ref.: #1857. | ||||
* | Fixed various warnings. | Mattes D | 2015-01-18 | 1 | -6/+6 |
| | |||||
* | Removed more unessicary includes | Tycho | 2014-09-26 | 1 | -0/+1 |
| | |||||
* | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 1 | -1/+1 |
| | |||||
* | More trailing whitespace fixes. | madmaxoft | 2014-07-17 | 1 | -4/+4 |
| | |||||
* | 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. | ||||
* | Fixed a bug with buckets | Tiger Wang | 2014-07-16 | 1 | -1/+1 |
| | | | | | * Additionally fixed cLineBlockTracer's EntryFace parameter when a block was hit on the first iteration along the projected line | ||||
* | Fixed placing liquids over liquids | Tiger Wang | 2014-07-14 | 1 | -1/+1 |
| | | | | * Fixes #1182 | ||||
* | Comment grammar correction | Tiger Wang | 2014-07-12 | 1 | -1/+1 |
| | |||||
* | Simplified buckets code slightly | Tiger Wang | 2014-07-12 | 1 | -32/+15 |
| | |||||
* | Changes | daniel0916 | 2014-07-12 | 1 | -5/+4 |
| | |||||
* | Changes | daniel0916 | 2014-07-11 | 1 | -24/+16 |
| | |||||
* | Changes | daniel0916 | 2014-07-10 | 1 | -20/+22 |
| | |||||
* | Maybe fixed whitespaces | daniel0916 | 2014-07-10 | 1 | -7/+7 |
| | |||||
* | Maybe fixed whitespaces | daniel0916 | 2014-07-10 | 1 | -1/+1 |
| | |||||
* | Fixed Bucket Placing | daniel0916 | 2014-07-10 | 1 | -6/+57 |
| | |||||
* | Fixed Bucket placing | daniel0916 | 2014-07-09 | 1 | -1/+1 |
| | |||||
* | Implemented lilypad placement | Tiger Wang | 2014-03-23 | 1 | -4/+4 |
| | |||||
* | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 1 | -2/+2 |
| | | | | May Fix #640 | ||||
* | Changed Signiture of OnUpdate | Tycho | 2014-02-02 | 1 | -1/+4 |
| | |||||
* | Fixed naming and initialization. | madmaxoft | 2013-12-17 | 1 | -4/+12 |
| | |||||
* | Forgot to change one Vector3d to Vector3i. | STRWarrior | 2013-12-17 | 1 | -1/+1 |
| | |||||
* | Renamed Pos to m_Pos. | STRWarrior | 2013-12-17 | 1 | -3/+3 |
| | |||||
* | Using Recommendations. | STRWarrior | 2013-12-17 | 1 | -10/+23 |
| | |||||
* | Made buckets work when the player does not 'look' at a block. This fixes #265 | STRWarrior | 2013-12-17 | 1 | -32/+53 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+160 |