summaryrefslogtreecommitdiff
path: root/src/content_mapnode.cpp
Commit message (Collapse)AuthorAge
* Modernize src/c* src/d* and src/e* files (#6263)Loïc Blot2017-08-17
| | | | | | | | | | | | | | | | | * 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)
* Revert "Remove deprecated code segments (#5891)"Loïc Blot2017-06-06
| | | | This reverts commit 599e13e95e81aadb959c9f3715aec9b425ede084.
* Remove deprecated code segments (#5891)Thomas--S2017-06-04
|
* Various style cleanups + unused code removalest312015-09-19
| | | | | | | | | | -> 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
* Remove unused functions.onkrot2015-08-16
|
* Replace instances of std::map<std::string, std::string> with StringMapkwolekr2015-05-19
| | | | | | Also, clean up surrounding code style Replace by-value parameter passing with const refs when possible Fix post-increment of iterators
* Update Copyright YearsSfan52013-02-24
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
|
* Fix map deserialization and remove old serialization codePerttu Ahola2012-07-23
|
* Optimize headersPerttu Ahola2012-06-17
|
* Properly and efficiently use split utility headersPerttu Ahola2012-06-17
|
* Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola2012-06-05
| | | | GPLv2/later, by agreement of major contributors
* Node placement / mineral / serialization / iron freq / node_dig callbackKahrl2012-01-22
| | | | | | | | - 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.
* The huge item definition and item namespace unification patch (itemdef), see ↵Kahrl2012-01-12
| | | | http://c55.me/minetest/wiki/doku.php?id=changes:itemdef
* Add node definitions in Lua and do not use content_mapnode_init anymore ↵Kahrl2011-11-29
| | | | (except in test.cpp)
* Make liquid_alternative_* to be stringsPerttu Ahola2011-11-29
|
* Store metadata as metadata name in node definitionPerttu Ahola2011-11-29
|
* Actually fill in the NewNameGetter names to allow map generator operation ↵Perttu Ahola2011-11-29
| | | | and crafting
* Do not expose CONTENT_* stuff in content_mapnode.h and use a name converter ↵Perttu Ahola2011-11-29
| | | | wrapper in old code
* Node definition namesPerttu Ahola2011-11-29
|
* Add name field to ContentFeaturesPerttu Ahola2011-11-29
|
* Remove burn time definitions from FurnaceNodeMetadataPerttu Ahola2011-11-29
|
* Move cook result properly to ContentFeaturesPerttu Ahola2011-11-29
|
* Saner sized saplingPerttu Ahola2011-11-29
|
* Clean nodefeat and content_mapnode a bitPerttu Ahola2011-11-29
|
* Fix NDT_PLANTLIKE scaling to always keep the bottom at ground levelPerttu Ahola2011-11-29
|
* Clean mapnode.h and fix other files accordinglyPerttu Ahola2011-11-29
|
* Completely generalized mesh generation; ContentFeatures serializationPerttu Ahola2011-11-29
|
* Remove commented out codePerttu Ahola2011-11-29
|
* Prepare more for node definition serializationPerttu Ahola2011-11-29
|
* Better node texture generationPerttu Ahola2011-11-29
|
* Make fence post selection box smaller and create code to allow node ↵Perttu Ahola2011-11-29
| | | | placement to the side of a static box
* Tune gravel and picksPerttu Ahola2011-11-29
|
* GameDef compilesPerttu Ahola2011-11-29
|
* Create framework for getting rid of global definitions of ↵Perttu Ahola2011-11-29
| | | | node/tool/item/whatever types
* Tune the tool speed thingPerttu Ahola2011-11-29
|
* New kind of tool speed and wear calculation thingyPerttu Ahola2011-11-29
|
* Generalize selection boxesPerttu Ahola2011-11-29
|
* Move ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuffPerttu Ahola2011-11-29
|
* Fix water-glass and water-lava surfacesPerttu Ahola2011-11-08
|
* Add option to set water opaque (mainly for stylistic choice)Perttu Ahola2011-11-03
|
* Improve rendering and fix tiling in mesh generationPerttu Ahola2011-10-18
|
* Automate texture listing for texture atlas makingPerttu Ahola2011-10-18
|
* Header file tweaking; mainly for speedPerttu Ahola2011-10-12
|
* Merge remote-tracking branch 'marktraceur/master'Perttu Ahola2011-09-26
|\
| * Fixed merge issues with saplings, ready to pull now!Mark Holmquist2011-09-23
| |
| * Adding (most) of the sapling functionality. It has yet to work, since ↵Mark Holmquist2011-09-23
| | | | | | | | MEET_OTHER was not implemented at the time of this commit. Hopefully it will work when merged with celeron's latest.
* | Merge branch 'view_bobbing_and_vielded_tool'Perttu Ahola2011-09-26
|\ \
| * | Wielded tool updates, leaves and glass work nowKahrl2011-09-19
| | |
| * | Removed unused camera_position and camera_direction fields from Client. ↵Kahrl2011-09-07
| | | | | | | | | | | | Moved ClientEnvironment::drawPostFx to ClientMap::renderPostFx -- this will make the camera management classes easier to write, as ClientMap already knows the camera position but ClientEnvironment doesn't and has to be told about it. This also eliminates the need for Client::getEnv(). Made the post effect color a content feature defined in content_mapnode.h.