Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace buckets to the selected hotbar slot, rather than the first available. (#4580) | Alexander Harkness | 2020-04-02 | 1 | -18/+74 |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -0/+2 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Fix typo in #4095. | Alexander Lyons Harkness | 2017-12-21 | 1 | -2/+1 |
| | | | | The build was being broken. | ||||
* | cInventory: Add listener to shield slot. (#4095) | peterbell10 | 2017-12-21 | 1 | -0/+6 |
| | |||||
* | Off-hand/shield slot functional, save and load slot, bow + arrow functional (#3725) | Pablo Beltrán | 2017-05-24 | 1 | -7/+50 |
| | | | Fixes #3714. | ||||
* | Proper entity destruction in non-ticking chunks | LogicParrot | 2016-02-19 | 1 | -1/+1 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -16/+16 |
| | |||||
* | Fix old style casts and implicit conversions | Matti Hänninen | 2015-08-12 | 1 | -1/+1 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -3/+3 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -14/+2 |
| | |||||
* | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-28 | 1 | -5/+26 |
|\ | | | | | | | | | Conflicts: src/Inventory.cpp | ||||
| * | Fixes #2052 | Tiger Wang | 2015-05-18 | 1 | -4/+26 |
| | | |||||
* | | Make -Werror disabling file only | tycho | 2015-05-19 | 1 | -1/+1 |
|/ | | | | Ad fix a load of warnings | ||||
* | CheckBasicStyle: checks spaces around * and &. | Mattes D | 2015-05-09 | 1 | -1/+1 |
| | |||||
* | Fixed reported parentheses around comparisons. | Mattes D | 2014-12-05 | 1 | -2/+6 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -6/+6 |
| | |||||
* | Type warning fixes. | Mattes D | 2014-08-25 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1236 from Howaner/Inventory2 | Mattes D | 2014-07-27 | 1 | -6/+10 |
|\ | | | | | Fix item durability. | ||||
| * | Fix item durability. | Howaner | 2014-07-23 | 1 | -6/+10 |
| | | | | | | Fixes #1181 | ||||
* | | Merge branch 'master' into Inventory | Howaner | 2014-07-26 | 1 | -10/+28 |
|\| | |||||
| * | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -8/+8 |
| | | |||||
| * | Style: Normalized spaces after if, for and while. | madmaxoft | 2014-07-21 | 1 | -7/+7 |
| | | |||||
| * | Added RemoveItem() function to the player inventory. | Howaner | 2014-07-18 | 1 | -0/+18 |
| | | |||||
* | | Add armor items directly to the armor slots. | Howaner | 2014-07-20 | 1 | -0/+13 |
| | | |||||
* | | Fixed the armor slot in creative mode. Also removed that armor get directly to the armor slot. It is extremely buggy and unnecessary. | Howaner | 2014-07-18 | 1 | -9/+0 |
|/ | |||||
* | Fixed spaces around single-line comments. | madmaxoft | 2014-07-17 | 1 | -2/+2 |
| | | | | There should be at least two spaces in front and one space after //-style comments. | ||||
* | Add DIG_STATUS_CANCELLED packet and add item resend, when a block can't place/break. | Howaner | 2014-05-09 | 1 | -0/+10 |
| | |||||
* | Send item back to the client when the item get damage. | Howaner | 2014-05-07 | 1 | -0/+1 |
| | |||||
* | Broadcast the Equipped Item, if the Slot is changed. | Howaner | 2014-03-06 | 1 | -0/+6 |
| | |||||
* | Map item handler; Fixed several bugs | andrew | 2014-02-17 | 1 | -0/+25 |
| | |||||
* | Removed obsoleted functions | Tiger Wang | 2014-01-16 | 1 | -1/+1 |
| | |||||
* | fixed warnings in Inventory.cpp | Tycho Bickerstaff | 2013-12-31 | 1 | -2/+2 |
| | |||||
* | Fixed VC2008 compilation, normalized include paths. | madmaxoft | 2013-11-27 | 1 | -1/+1 |
| | |||||
* | Fixed loads more of them. | Alexander Harkness | 2013-11-26 | 1 | -1/+1 |
| | |||||
* | Attempt to fix compilation | Tiger Wang | 2013-11-24 | 1 | -1/+1 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+682 |