aboutsummaryrefslogtreecommitdiff
path: root/src/nodedef.h
Commit message (Collapse)AuthorAge
* Fix backface culling when connecting to new servers.Auke Kok2016-02-10
| | | | | | | | | | | | | | | Introduce a new contentfeatures version (8). When clients connect using v27 protocol version, they can assume that the tiledef.backface_culling is trustable, but if clients connect to servers providing contentfeatures version 7, then the v27 clients know that backface culling settings provided by the server in tiledefs are bogus for mesh, plantlike, firelike or liquid drawtype nodes. thanks to hmmmm, est31, nerzhul. Tested on new client - new server, new client - old server old client - new server.
* Backface culling: Ignore setting in tiledef from old servers.Auke Kok2016-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | Outdated servers are always sending tiledefs with culling enabled no matter what, as the value was previously entirely ignored. To compensate, we must (1) detect that we're running against an old server with a new client, and (2) disable culling for mesh, plantlike, firelike and liquid draw types no matter what the server is telling us. In order to achieve this, we need to bump the protocol version since we cannot rely on the tiledef version, and test for it being older. I've bumped the protocol version, although that should have likely happened in the actual change that introduced the new backface_culling PR #3578. Fortunately that's only 2 commits back at this point. We also explicitly test for the drawtype to assure we are not changing the culling value for other nodes, where it should remain enabled. This was tested against various pub servers, including 0.4.13 and 0.4.12. Fixes #3598
* Liquids: Flow into and destroy 'floodable' nodesparamat2016-01-07
| | | | | Add new node property 'floodable', default false Define "air" as floodable = true in C++ and lua
* Add new ContentParamType2 "CPT2_DEGROTATE"est312015-10-04
| | | | | | | | | This might break some mods, but it is important for all uses of the param2 to be documented. This doesn't need a serialisation version or network protocol version change, as old clients will still work on new servers, and it is bearable to have new clients getting non rotated plants on old servers.
* Fix relief mapping issuesRealBadAngel2015-07-16
|
* Add minimap featureRealBadAngel2015-06-27
|
* Add texture overridingrubenwardy2015-05-19
|
* Fix compilation for non-client builds, and fix signed comparison warningkwolekr2015-05-08
|
* NodeResolver: Remove NodeResolveMethodkwolekr2015-05-07
| | | | This simplifies NodeResolver logic and makes some interfaces cleaner.
* NodeDefManager: Improve const-correctness of interfaceskwolekr2015-05-05
| | | | | | - Add ability to explicitly reset NodeResolve state (useful for unittesting) - Remove non-essential NodeResolve methods modifying state from INodeDefManager - Add const qualifier to NodeDefManager and ContentFeatures serialize
* Schematics: Refactor NodeResolver and add NodeResolveMethodkwolekr2015-04-16
| | | | | | | | | NodeResolver name lists now belong to the NodeResolver object instead of the associated NodeDefManager. In addition to minimizing unnecessary abstraction and overhead, this move permits NodeResolvers to look up nodes that they had previously set pending for resolution. So far, this functionality has been used in the case of schematics for serialization/deserialization.
* Revert "Fix issue #2441: crash on respawn, since a conversion std::list to ↵kwolekr2015-03-20
| | | | | | | std::vector on Environment.cpp" This reverts parts of commit 9749d9fee6db99da1ab861dc04ec63ef973db3e0, which breaks node resolver list clearing
* Finer progress bar updates when initializing nodesest312015-03-15
| | | | The bar is only drawn when the user will notice a change, which prevents time overheads that this commit would cause, resulting from useless draws.
* Fix issue #2441: crash on respawn, since a conversion std::list to ↵Loic Blot2015-03-05
| | | | | | | std::vector on Environment.cpp * Also change some std::list to std::vector for ClientMap::renderMap * Remove disabled code in ClientMap::renderMap, disabled since a long time
* Replace std::list to std::vector into tile.cpp (m_texture_trash) and move ↵Loic Blot2015-03-05
| | | | tile.hpp to src/client/
* NodeResolver: Perform callback immediately if node registration phase finishedkwolekr2015-01-04
| | | | Also add NodeResolver callbacks on the client
* Remove freezemelt (the remainder of proller nonsense)kwolekr2015-01-04
|
* Fix crash if NodeResolver destroyed before pending any node resolutionskwolekr2015-01-03
|
* Set fallback content if resolving content vector requires everythingkwolekr2014-12-27
|
* Redefine NodeResolver interface and replace with callback mechanismkwolekr2014-12-27
|
* NodeResolver: Fix some comments and use const references for paramskwolekr2014-12-12
|
* NodeResolver: Fix cancelNode and cancelNodeListkwolekr2014-12-11
|
* Refactor decoration-related codekwolekr2014-10-29
| | | | | Split up ModApiMapgen::l_register_decoration() Define and make use of CONTAINS() and ARRLEN() macros
* Add NodeResolver documentationkwolekr2014-10-28
| | | | | Set content to fallback on AddNode failure Consider node list requests with no results as failed
* Add NodeResolver and clean up node name -> content ID resolution systemkwolekr2014-10-26
|
* Custom collision boxes node property.RealBadAngel2014-10-19
|
* Add meshnode drawtype.RealBadAngel2014-10-18
|
* Add optional framed glasslike drawtypeBlockMen2014-10-02
|
* Add firelike drawtypeTriBlade92014-09-21
|
* Allow use all 6 faces for special tiles.RealBadAngel2014-08-25
| | | | Protocol version bump.
* Unite nodes shaders.RealBadAngel2014-06-15
| | | | | | | Pass drawtype and material type to shaders. Move shaders generation to startup only. Allow assign shaders per tile. Initial code to support water surface shader.
* Shaders rework.RealBadAngel2013-12-03
|
* Add support for different drowning damage and allow drowning in other nodetypesBlockMen2013-08-06
|
* Leveled nodebox backward compatibilityproller2013-08-02
|
* Weather supportproller2013-07-27
|
* Add liquid_range to nodedefPilzAdam2013-07-20
|
* Change ContentFeatures array to a vectorKahrl2013-07-14
|
* Leveled nodeboxproller2013-07-13
|
* Remove texture atlas / AtlasPointer, rename getTextureRaw to getTextureKahrl2013-07-02
|
* Add drowningPilzAdam2013-06-19
|
* Fix compatibility of RBA's NDT_GLASSLIKE_FRAMEDPerttu Ahola2013-04-25
|
* Add new drawtype GLASSLIKE_FRAMEDRealBadAngel2013-04-24
|
* Optimize CNodeDefManager::getIdskwolekr2013-03-30
|
* Include backface_culling flag in serialization format for TileDefsJürgen Doser2013-03-23
| | | | | | | | | | This way flowing liquids actually show the backface when specified to do so. Without this, TileDefs where by default initialized with backface_culling = true and never set otherwise. For backwards compatibility, an old client connected to a new server, or a new client connected to an old server will behave like before i.e., backface_culling is always true.
* Update Copyright YearsSfan52013-02-24
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
|
* Disable placement prediction for nodes that use on_rightclickJeija2013-02-19
|
* Support serialization of protocol 13 ContentFeaturesPerttu Ahola2012-11-29
|
* Add liquid_renewable property.Ilya Zhuravlev2012-09-07
|
* Custom boxy nodes (stairs, slabs) and collision changesKahrl2012-06-17
|