summaryrefslogtreecommitdiffstats
path: root/source/Inventory.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Moved source to srcAlexander Harkness2013-11-241-682/+0
|
* Removed the obsolete SendWholeInventory(cInventory &) function.madmaxoft2013-11-051-9/+0
| | | | This won't compile because there's still a change in Protocol17x.cpp pending; the next commit will fix this.
* Fixed item-breaking.madmaxoft2013-10-181-1/+1
| | | | This fixes #232.
* Moved entities into the Entities subfolder.madmaxoft2013-08-191-1/+1
|
* cInventory: Added the ChangeSlotCount() function to the Lua APImadmaxoft@gmail.com2013-07-261-0/+16
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1683 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Empty buckets replace fluid buckets on use and vice versa (patch contributed by Mgueydan)madmaxoft2013-07-031-4/+4
| | | | | | | 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
* Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com2013-05-241-170/+358
| | | | | | 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
* Inventory changes made by plugins are now propagated to the clientmadmaxoft@gmail.com2013-05-191-0/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1495 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Inventory code cleanup, players can now see each other's armormadmaxoft@gmail.com2013-05-191-91/+118
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1493 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com2013-01-121-9/+9
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed issues with pickups. sebi.noreply@gmail.com2012-10-241-3/+34
| | | | | | | | | * Now when picking up max. stack amount is checked. * Added cInventory::AddItemAnyAmount() which will not fail if it cannot add all items (it will just modify amount) * If there is no space in inventory and picking up stacked items, it will try to fill stacks already in inventory, partially picking up the item. * When closing inventory player will drop any items it's currently 'dragging' git-svn-id: http://mc-server.googlecode.com/svn/trunk@1008 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Removed a few debugging messages from the release builds.madmaxoft@gmail.com2012-10-061-3/+3
| | | | | | ( http://forum.mc-server.org/showthread.php?tid=571 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@936 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Unified folder name-casingmadmaxoft@gmail.com2012-09-291-1/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com2012-09-241-0/+427
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6