aboutsummaryrefslogtreecommitdiff
path: root/src/content_mapnode.cpp
AgeCommit message (Collapse)Author
2017-08-17Modernize src/c* src/d* and src/e* files (#6263)Loïc Blot
* Modernize src/c* src/d* and src/e* files * default operator * redundant init * delete default constructors on CraftDefinition childs (never used) * fix some missing init values * const ref fix reported by clang-tidy * ranged-based for loops * simple conditions & returns * empty stl function instead of size * emplace_back stl function instead of push_back + construct temp obj * auto for some iterators * code style fixes * c++ stl headers instead of C stl headers (stdio.h -> cstdio)
2017-06-06Revert "Remove deprecated code segments (#5891)"Loïc Blot
This reverts commit 599e13e95e81aadb959c9f3715aec9b425ede084.
2017-06-04Remove deprecated code segments (#5891)Thomas--S
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
2015-08-16Remove unused functions.onkrot
2015-05-19Replace instances of std::map<std::string, std::string> with StringMapkwolekr
Also, clean up surrounding code style Replace by-value parameter passing with const refs when possible Fix post-increment of iterators
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-07-23Fix map deserialization and remove old serialization codePerttu Ahola
2012-06-17Optimize headersPerttu Ahola
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-01-22Node placement / mineral / serialization / iron freq / node_dig callbackKahrl
- Node placement code moved to Lua - Mineral system removed (added default:stone_with_coal and default:stone_with_iron). - MapBlock and MapNode serialization updated. - Mapgen: Frequency of iron increased. - node_dig callback and related changes.
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-11-29Add node definitions in Lua and do not use content_mapnode_init anymore ↵Kahrl
(except in test.cpp)
2011-11-29Make liquid_alternative_* to be stringsPerttu Ahola
2011-11-29Store metadata as metadata name in node definitionPerttu Ahola
2011-11-29Actually fill in the NewNameGetter names to allow map generator operation ↵Perttu Ahola
and crafting
2011-11-29Do not expose CONTENT_* stuff in content_mapnode.h and use a name converter ↵Perttu Ahola
wrapper in old code
2011-11-29Node definition namesPerttu Ahola
2011-11-29Add name field to ContentFeaturesPerttu Ahola
2011-11-29Remove burn time definitions from FurnaceNodeMetadataPerttu Ahola
2011-11-29Move cook result properly to ContentFeaturesPerttu Ahola
2011-11-29Saner sized saplingPerttu Ahola
2011-11-29Clean nodefeat and content_mapnode a bitPerttu Ahola
2011-11-29Fix NDT_PLANTLIKE scaling to always keep the bottom at ground levelPerttu Ahola
2011-11-29Clean mapnode.h and fix other files accordinglyPerttu Ahola
2011-11-29Completely generalized mesh generation; ContentFeatures serializationPerttu Ahola
2011-11-29Remove commented out codePerttu Ahola
2011-11-29Prepare more for node definition serializationPerttu Ahola
2011-11-29Better node texture generationPerttu Ahola
2011-11-29Make fence post selection box smaller and create code to allow node ↵Perttu Ahola
placement to the side of a static box
2011-11-29Tune gravel and picksPerttu Ahola
2011-11-29GameDef compilesPerttu Ahola
2011-11-29Create framework for getting rid of global definitions of ↵Perttu Ahola
node/tool/item/whatever types
2011-11-29Tune the tool speed thingPerttu Ahola
2011-11-29New kind of tool speed and wear calculation thingyPerttu Ahola
2011-11-29Generalize selection boxesPerttu Ahola
2011-11-29Move ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuffPerttu Ahola
2011-11-08Fix water-glass and water-lava surfacesPerttu Ahola
2011-11-03Add option to set water opaque (mainly for stylistic choice)Perttu Ahola
2011-10-18Improve rendering and fix tiling in mesh generationPerttu Ahola
2011-10-18Automate texture listing for texture atlas makingPerttu Ahola
2011-10-12Header file tweaking; mainly for speedPerttu Ahola
2011-09-26Merge remote-tracking branch 'marktraceur/master'Perttu Ahola
2011-09-26Merge branch 'view_bobbing_and_vielded_tool'Perttu Ahola
2011-09-23Fixed merge issues with saplings, ready to pull now!Mark Holmquist
2011-09-23Adding (most) of the sapling functionality. It has yet to work, since ↵Mark Holmquist
MEET_OTHER was not implemented at the time of this commit. Hopefully it will work when merged with celeron's latest.
2011-09-22added locking chests - clean patchdarkrose
2011-09-19Wielded tool updates, leaves and glass work nowKahrl