Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add helper functions to make tool usable n times (#12047) | Wuzzy | 2022-06-03 | 1 | -1/+1 |
| | |||||
* | Fix damage wraparound if very high damage (#11872) | Wuzzy | 2022-01-06 | 1 | -1/+3 |
| | |||||
* | Fix number of tool uses being off by 1..32767 (#11110) | Wuzzy | 2021-10-31 | 1 | -14/+85 |
| | |||||
* | Serialize tool capabilities JSON without whitespace | sfan5 | 2021-03-20 | 1 | -1/+2 |
| | | | | fixes #11087 | ||||
* | (se)SerializeString: Include max length in the name | SmallJoker | 2020-10-01 | 1 | -4/+4 |
| | | | | | | | This commit clarifies the maximal length of the serialized strings. It will avoid accidental use of serializeString() when a larger string can be expected. Removes unused Wide String serialization functions | ||||
* | Value copy / allocation optimizations mostly in server, SAO and serialize code | sfan5 | 2020-05-27 | 1 | -1/+1 |
| | |||||
* | Punchwear (improved) (#8959) | sfan5 | 2019-09-22 | 1 | -6/+22 |
| | |||||
* | Unify wield item handling (#8677) | SmallJoker | 2019-08-07 | 1 | -0/+13 |
| | | | | This moves the wield item functions to Player and the tool utils for range calculation Also 'local_inventory' was removed due to redundancy in Client | ||||
* | Allow toolcaps to override the built-in times for dig_immediate | sfan5 | 2019-07-31 | 1 | -8/+10 |
| | |||||
* | Proselytize the network. Use IEEE F32 (#8030) | SmallJoker | 2019-01-03 | 1 | -6/+6 |
| | | | | | * Proselytize the network. Use IEEE F32 * Remove unused V2F1000 functions | ||||
* | Tool.cpp/.h, lua_api/l_util.cpp: Tidy up code and remove dead code | Hybrid Dog | 2018-01-03 | 1 | -39/+24 |
| | |||||
* | Tool getDigParams: Fix selecting the best fitting time | Hybrid Dog | 2018-01-03 | 1 | -2/+3 |
| | | | | | Previously, time was compared with result_time before dividing it by the level difference. | ||||
* | Allow overriding tool capabilities through itemstack metadata | raymoo | 2017-10-29 | 1 | -0/+85 |
| | | | | | This makes it possible to modify the tool capabilities of individual itemstacks by calling a method on itemstack metadata references. | ||||
* | Bump minimal protocol version to 36 (#6319) | SmallJoker | 2017-08-29 | 1 | -13/+12 |
| | | | | | | | * Bump minimal protocol version to 36 Item/Node/TileDef, NodeBox, TileAnimation: Remove old compat code * Accept future serialisation versions | ||||
* | Modernize source code: last part (#6285) | Loïc Blot | 2017-08-20 | 1 | -25/+23 |
| | | | | | | | | | | | * Modernize source code: last par * Use empty when needed * Use emplace_back instead of push_back when needed * For range-based loops * Initializers fixes * constructors, destructors default * c++ C stl includes | ||||
* | C++11 patchset 2: remove util/cpp11.h and util/cpp11_container.h (#5821) | Loïc Blot | 2017-06-04 | 1 | -1/+1 |
| | |||||
* | Fix click-digging torches (#5652) | you | 2017-04-28 | 1 | -1/+1 |
| | | | | Torches are dug instantly again. When the digging time is 0, a delay of 0.15 seconds is added between digging nodes. If the left mouse button is released, the delay is set to 0, thus click-digging. | ||||
* | Tools: Fix tool digging speed limit | Hybrid Dog | 2017-04-19 | 1 | -1/+1 |
| | |||||
* | Update server min protocol version to v24 (#5411) | Loïc Blot | 2017-03-19 | 1 | -15/+12 |
| | | | | | | | | | | * Update server min protocol version to v24 It's based on @sfan5 stats. See https://kitsunemimi.pw/tmp/serverlist_stats_2017-03-17.txt v24 was bumped 25/08/14 and 0.4.11 was released 25/12/14 * Drop protocol v23 and lesser code | ||||
* | Make some maps unordered to improve performance | Loic Blot | 2016-10-05 | 1 | -12/+11 |
| | | | | | | * This permit to improve performance on C++11 builds * use some existing typedefs in tools maps * minor code style changes | ||||
* | Change i++ to ++i | David Jones | 2015-08-25 | 1 | -5/+5 |
| | |||||
* | Fix inversion of full_punch_interval | Novatux | 2014-07-02 | 1 | -1/+1 |
| | |||||
* | Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu | Kahrl | 2013-08-14 | 1 | -1/+2 |
| | |||||
* | New damage system, add damageGroups to ToolCapabilities, bump protocol version | PilzAdam | 2013-03-29 | 1 | -20/+37 |
| | |||||
* | Update Copyright Years | Sfan5 | 2013-02-24 | 1 | -1/+1 |
| | |||||
* | Change Minetest-c55 to Minetest | PilzAdam | 2013-02-24 | 1 | -1/+1 |
| | |||||
* | Properly and efficiently use split utility headers | Perttu Ahola | 2012-06-17 | 1 | -1/+2 |
| | |||||
* | Switch the license to be LGPLv2/later, with small parts still remaining as ↵ | Perttu Ahola | 2012-06-05 | 1 | -4/+4 |
| | | | | GPLv2/later, by agreement of major contributors | ||||
* | Rework tool_capabilities a bit (maxwear->uses, scale dig time according to ↵ | Perttu Ahola | 2012-03-29 | 1 | -9/+12 |
| | | | | leveldiff) | ||||
* | Digging and placing sounds | Perttu Ahola | 2012-03-24 | 1 | -4/+7 |
| | |||||
* | dig_immediate=2 -> 0.5 seconds digging time | Perttu Ahola | 2012-03-10 | 1 | -1/+1 |
| | |||||
* | dig_immediate=3 instead of 1 means 0 seconds | Perttu Ahola | 2012-03-10 | 1 | -3/+3 |
| | |||||
* | Damage groups WIP | Perttu Ahola | 2012-03-10 | 1 | -0/+34 |
| | |||||
* | Small fix in getHitParams | Perttu Ahola | 2012-03-10 | 1 | -0/+2 |
| | |||||
* | itemgroup.h and ItemGroupList typedef | Perttu Ahola | 2012-03-10 | 1 | -4/+4 |
| | |||||
* | Tune group digging time stuff a bit | Perttu Ahola | 2012-03-10 | 1 | -2/+2 |
| | |||||
* | Digging time groups WIP | Perttu Ahola | 2012-03-10 | 1 | -0/+153 |
| | |||||
* | GameDef compiles | Perttu Ahola | 2011-11-29 | 1 | -87/+0 |
| | |||||
* | Create framework for getting rid of global definitions of ↵ | Perttu Ahola | 2011-11-29 | 1 | -67/+61 |
| | | | | node/tool/item/whatever types | ||||
* | Move tool stuff to tool.{h,cpp} | Perttu Ahola | 2011-11-29 | 1 | -0/+93 |