summaryrefslogtreecommitdiffstats
path: root/src/ItemGrid.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2014-10-19Fixed minor style issues.Mattes D1-1/+1
2014-10-16Changed i variable to jSTRWarrior1-3/+10
2014-10-15Fixed possible crashSTRWarrior1-1/+8
2014-10-15The code now prevents conflicting enchantments.STRWarrior1-0/+1
2014-10-15Adding enchantments directly instead of first getting the name of it.STRWarrior1-1/+1
2014-10-15Renamed the counter to 'j'STRWarrior1-1/+1
2014-10-15Returned cFastRandom and cEnchantment:GetRandomEnchantmentFromVector to beforeSTRWarrior1-1/+1
2014-10-15Enchanted books generate in MineShafts chestsSTRWarrior1-1/+14
2014-07-18Added RemoveItem() function to the player inventory.Howaner1-0/+33
2014-07-18Items should first added to the first slot, not the latest.Howaner1-3/+3
2014-06-19Nullify deleted pointers.archshift1-0/+1
2014-02-12Changed inheritance a bitTiger Wang1-0/+7
2014-01-16Removed obsoleted functionsTiger Wang1-4/+4
2013-12-22Fixed signedness warning in cItemGrid.madmaxoft1-3/+3
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-08-11Added an AllowEmptyStacks param to cItemGrid::HowManyCanFit().madmaxoft1-2/+5
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-662/+662
2013-07-26cItemGrid: ChangeSlotCount() now returns -1 if invalid SlotNummadmaxoft@gmail.com1-2/+2
2013-07-03Empty buckets replace fluid buckets on use and vice versa (patch contributed by Mgueydan)madmaxoft1-12/+40
2013-06-13Added hopper entity, it can suck items out of chests, dispensers, droppers and other hopppers above it.madmaxoft@gmail.com1-3/+7
2013-06-13cItemGrid: Added IsSlotEmpty() functionsmadmaxoft@gmail.com1-0/+25
2013-06-04ItemGrid: fixed changing item count when ToRemove == CurrentCountmadmaxoft@gmail.com1-1/+1
2013-05-26Fixed cItemGrid API, no more changeable GetSlot().madmaxoft@gmail.com1-25/+0
2013-05-26ItemGrid: Added the RemoveOneItem() functionmadmaxoft@gmail.com1-0/+47
2013-05-25cChestEntity and cDispenserEntity now inherit from a common ancestor, cBlockEntityWithItemsmadmaxoft@gmail.com1-0/+41
2013-05-24Slight cleanup in the cInventory / cItemGrid APImadmaxoft@gmail.com1-0/+18
2013-05-24Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com1-14/+189
2013-04-10ItemGrid: Renamed all Item to Slot - better and consistent namingmadmaxoft@gmail.com1-40/+40
2013-04-10Added cItemGrid to represent an XY grid of items; converted chests to use cItemGrid.madmaxoft@gmail.com1-0/+349