aboutsummaryrefslogtreecommitdiff
path: root/src/content_nodemeta.cpp
AgeCommit message (Collapse)Author
2020-10-01(se)SerializeString: Include max length in the nameSmallJoker
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
2017-06-16C++11 patchset 9: move hardcoded init parameters to class definitions (part ↵Loïc Blot
1) (#5984) * C++11 patchset 9: move hardcoded init parameters to class definitions C++11 introduced the possibility to define the default values directly in class definitions, do it on current code Also remove some unused attributes * CollisionInfo::bouncy * collisionMoveResult::collides_xy * collisionMoveResult::standing_on_unloaded * Clouds::speed * More constructor cleanups + some variables removal * remove only write guiFormSpecMenu::m_old_tooltip * move header included inside defintions in genericobject.h * remove some unused since years exception classes * remove unused & empty debug_stacks_init * remove unused & empty content_nodemeta_serialize_legacy * remove forgotten useless bool (bouncy) in collision.cpp code
2016-06-11Make node timers more efficientEkdohibs
2015-10-14Rename macros with two leading underscoresShadowNinja
These names are reserved for the compiler/library implementations.
2015-10-14Use warningstream for log messages with WARNINGShadowNinja
Remove DTIME macro and its uses, too
2015-09-19Various style cleanups + unused code removalest31
-> Don't pass pointer to whole IGameDef to NodeMetadata constructors and deserializers, but only to IItemDefManager, which is needed -> Remove the unused content_mapnode_get_new_name() method -> Fix style for MapBlock::deSerialize and MapBlock::deSerialize_pre22, improving accuracy of error messages a bit -> Fix style at other serialisation methods too -> Improve accuracy of some comments
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-07-22Implement formspecdarkrose
2012-06-17Properly and efficiently use split utility headersPerttu Ahola
2012-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2012-06-04Fix loading of old signsPerttu Ahola
2012-06-03Fix loading of legacy chestsPerttu Ahola
2012-06-03Implement sign using form field protocolPerttu Ahola
2012-06-03Convert legacy chest inventory list "0" to "main"Perttu Ahola
2012-06-03Strip unneeded variables from NodeMetadatadarkrose
2012-06-03WIP node metadata, node timersKahrl
2012-02-02Fix server hang when stepping a furnace with a huge dtimeKahrl
2012-01-12The huge item definition and item namespace unification patch (itemdef), see ↵Kahrl
http://c55.me/minetest/wiki/doku.php?id=changes:itemdef
2011-12-01Move NodeMetadata prototype containers to content_nodemeta.cpp to fix them ↵Perttu Ahola
not being filled correctly on some systems and compilers
2011-11-29GenericNodeMetadata and an example furnacePerttu Ahola
2011-11-29Mode node definition loading from Lua (still not finished), fix metadata ↵Perttu Ahola
creation from name
2011-11-29Add names to NodeMetadataPerttu Ahola
2011-11-29Do not expose CONTENT_* stuff in content_mapnode.h and use a name converter ↵Perttu Ahola
wrapper in old code
2011-11-29Remove burn time definitions from FurnaceNodeMetadataPerttu Ahola
2011-11-29Clean mapnode.h and fix other files accordinglyPerttu Ahola
2011-11-29Create framework for getting rid of global definitions of ↵Perttu Ahola
node/tool/item/whatever types
2011-10-16Switch more stuff to use the logging thing and fix segfault on player leave ↵Perttu Ahola
from server as introduced in a previous switch-to-logging commit
2011-09-22added locking chests - clean patchdarkrose
2011-09-02Furnace was crashing stuff againJacobF
2011-09-01* Furnace would say it was overloaded when it had a non-cookable sourceJacobF
* I didn't understand that expression last fix and now the furnace would burn fuel even when it had no source item.
2011-08-30If there was no source item in a furnace it would cause a segmentation fault.JacobF
2011-08-30Merge remote-tracking branch 'queatz/furnace-is-not-blackhole'Perttu Ahola
2011-08-25Merged 2 branches because they relied on each other.JacobF
This one contains these changes from main c55: * Adds a function to check if there is room for a specific item * Using that, you can now pick up rats if you have a full inventory and a not full rat stack * Furnace would cook only 1 item if that item used the last available result slot, now it will continue * Furnace will say it's overloaded * Furnace won't wait until the next step to start on the next item - This caused small fuels to cook slower than meant to - Also caused furnaces to say they were out of fuel after finishing the last fuel item
2011-08-24Don't remove furnace if something is inside it.JacobF
2011-08-11Some inventory const-ificationGiuseppe Bilotta
2011-07-30made more things burnable in furnacePerttu Ahola
2011-06-18fixed wrong furnace menu layoutPerttu Ahola
2011-06-18moved inventory menu definition of chest and furnace to content_nodemeta.{h,cpp}Perttu Ahola
2011-06-18Created and moved stuff to content_nodemeta.{h,cpp}Perttu Ahola