aboutsummaryrefslogtreecommitdiff
path: root/src/inventory.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix various copy instead of const ref reported by cppcheck (#5615)Loïc Blot2017-04-191-19/+9
| | | | * Also remove InventoryList::peekItem unused function * Fix some post increment to preincrement reported by cppcheck
* Add ItemStack key-value meta storagerubenwardy2017-02-041-76/+12
|
* Inventory: Make ItemStack with different metadata not stackableXunto2016-04-261-4/+6
|
* Clean up StrfndShadowNinja2016-03-191-3/+3
| | | | | | | | | | | Changes: * Fix indentation. * Pass strings by const reference. * Merge Strfnd and WStrfnd into one class instead of copying them. * Remove trailing spaces. * Fix variable names. * Move to util. * Other miscellaneous style fixes.
* Rename macros with two leading underscoresShadowNinja2015-10-141-2/+2
| | | | These names are reserved for the compiler/library implementations.
* Change i++ to ++iDavid Jones2015-08-251-2/+2
|
* Fix inventory replace bugest312015-08-191-4/+8
|
* Remove compile warningest312015-06-251-1/+0
| | | | Thanks @TeTpaAka for pointing this out.
* Add MoveSomewhere inventory actionest312015-06-231-5/+42
| | | | Improve shift+click experience
* For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins2015-03-071-3/+3
| | | | NDEBUG is defined), replace those usages with persistent alternatives
* Clean up rollbackShadowNinja2014-11-191-8/+13
|
* Make players check inventory modification properlyShadowNinja2014-10-011-0/+7
|
* Fix locking bugs and make inventory deserialization errors more specificShadowNinja2014-09-211-1/+1
|
* Compare values instead of pointers in Inventory::operator==Kahrl2014-01-111-1/+1
|
* Add operator!= to Inventory(List), make operator== a const methodKahrl2014-01-111-2/+2
|
* Fix invalid listname and listsize not handled correctly in set_sizesapier2013-11-161-0/+3
|
* Change ContentFeatures array to a vectorKahrl2013-07-141-2/+2
|
* Dont write player files all the timePilzAdam2013-06-281-0/+33
|
* Prevent infinite loop with invalid Inventory formatkwolekr2013-03-271-0/+4
|
* Update Copyright YearsSfan52013-02-241-1/+1
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-241-1/+1
|
* Remove "Unknown inventory identifier" deserialization errors, because they ↵Perttu Ahola2012-09-041-8/+0
| | | | can break forward compatibility
* Add InventoryList width property & allow custom crafting grids.Ilya Zhuravlev2012-09-011-0/+21
|
* Properly and efficiently use split utility headersPerttu Ahola2012-06-171-1/+2
|
* Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola2012-06-051-4/+4
| | | | GPLv2/later, by agreement of major contributors
* Fix loading of legacy chestsPerttu Ahola2012-06-031-0/+5
|
* NodeMetaRef:{to,from}_table and lua_api.txt additionsPerttu Ahola2012-06-031-0/+11
|
* added PlayerSAO and RemotePlayer, removed ServerRemotePlayerKahrl2012-03-291-0/+12
|
* tool and ToolItem apply item aliasesKahrl2012-01-221-0/+1
|
* Client-side prediction of inventory changes, and some inventory menu fixesKahrl2012-01-221-0/+43
|
* The huge item definition and item namespace unification patch (itemdef), see ↵Kahrl2012-01-121-568/+399
| | | | http://c55.me/minetest/wiki/doku.php?id=changes:itemdef
* Add InvRef and InvStack (currently untested and unusable)Perttu Ahola2012-01-021-455/+16
|
* Make ToolItem and MaterialItem to convert names by aliases at creation time ↵Perttu Ahola2011-12-041-4/+13
| | | | too (necessary for eg. crafting)
* Convert CraftItems directly to the name pointed by alias; necessary due to ↵Perttu Ahola2011-12-041-0/+9
| | | | lua definition table
* Show infotext for unknown items placed on groundPerttu Ahola2011-12-031-0/+14
|
* Rename "NodeItem"/"ToolItem"/"CraftItem" to "node"/"tool"/"craft"Perttu Ahola2011-12-021-3/+3
|
* Move ServerRemotePlayer to a separate filePerttu Ahola2011-12-021-0/+1
|
* Fix loading of legacy MaterialItems (was loaded as a quite random type)Perttu Ahola2011-12-011-2/+5
|
* Fix conditional bug in inventoryGiuseppe Bilotta2011-12-011-1/+1
| | | | | | | A spurious semicolon after the conditional checking for the drop count to be not higher than the owned count caused the subsequent count = getCount() to be always executed. Fix by removing the extra semicolon.
* Load count 0 in itemstring as 1Perttu Ahola2011-12-011-0/+4
|
* Remove content_inventory.{h,cpp}Perttu Ahola2011-11-291-1/+0
|
* CraftItem rework and Lua interfaceKahrl2011-11-291-84/+185
|
* Fix stuff in inventory.{cpp,h}Perttu Ahola2011-11-291-3/+23
|
* Add IDropAction and related stuffKahrl2011-11-291-4/+105
|
* Crafting definition in scriptsPerttu Ahola2011-11-291-0/+80
|
* Improve item serializationPerttu Ahola2011-11-291-10/+41
|
* Allow inputting nodename of MaterialItem in ItemSpec::checkItemPerttu Ahola2011-11-291-2/+7
|
* Clean InventoryItem interface a bitPerttu Ahola2011-11-291-12/+9
|
* Improved MaterialItem (stores nodename)Perttu Ahola2011-11-291-5/+42
|
* Remove burn time definitions from FurnaceNodeMetadataPerttu Ahola2011-11-291-0/+26
|