summaryrefslogtreecommitdiffstats
path: root/src/ItemGrid.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-07-09cItemGrid bounds check (#3837)peterbell101-0/+6
2017-06-16BlockEntities: Support cloning self.Mattes D1-0/+5
2016-07-18Updated API documentation.Mattes D1-8/+6
2016-02-05Bulk clearing of whitespaceLogicParrot1-34/+34
2014-07-18Clarified RemoveItem()'s comments.madmaxoft1-1/+2
2014-07-18Added RemoveItem() function to the player inventory.Howaner1-0/+3
2014-03-28Fixed non-virtual destructors warnings.madmaxoft1-22/+24
2013-12-22Fixed signedness warning in cItemGrid.madmaxoft1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-08-11Added an AllowEmptyStacks param to cItemGrid::HowManyCanFit().madmaxoft1-1/+1
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-191/+191
2013-07-03Empty buckets replace fluid buckets on use and vice versa (patch contributed by Mgueydan)madmaxoft1-5/+16
Fixes FS #277. API change: added an optional parameter to cItemGrid:AddItem(), cItemGrid:AddItems(), cInventory:AddItem() and cInventory:AddItems() git-svn-id: http://mc-server.googlecode.com/svn/trunk@1643 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-13cItemGrid: Added IsSlotEmpty() functionsmadmaxoft@gmail.com1-0/+6
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1585 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-26Fixed cItemGrid API, no more changeable GetSlot().madmaxoft@gmail.com1-5/+2
Also fixed possible water and lava duplication glitches in the dispenser. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1520 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-26Clarified documentation on the cItemGrid:RemoveItem() functionsmadmaxoft@gmail.com1-2/+6
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1519 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-26ItemGrid: Added the RemoveOneItem() functionmadmaxoft@gmail.com1-0/+6
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1513 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-25cChestEntity and cDispenserEntity now inherit from a common ancestor, cBlockEntityWithItemsmadmaxoft@gmail.com1-0/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1507 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-24Slight cleanup in the cInventory / cItemGrid APImadmaxoft@gmail.com1-2/+14
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1504 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-24Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com1-7/+59
This makes the API more orthogonal and is easier to use in the plugins. Also changes in the inventory are now propagated to the needed places (armor updates to BroadcastEntityEquipment etc.) even when the inventory is changed by a plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1503 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-10ItemGrid: Renamed all Item to Slot - better and consistent namingmadmaxoft@gmail.com1-11/+11
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1381 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-10Added cItemGrid to represent an XY grid of items; converted chests to use cItemGrid.madmaxoft@gmail.com1-0/+94
http://forum.mc-server.org/showthread.php?tid=831 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1380 0a769ca7-a7f5-676a-18bf-c427514a06d6