Add 'plantlike_rooted' drawtype
authornumber Zero <silverunicorn2011@yandex.ru>
Thu, 11 May 2017 20:24:12 +0000 (23:24 +0300)
committerparamat <mat.gregory@virginmedia.com>
Tue, 11 Jul 2017 00:02:22 +0000 (01:02 +0100)
commitef285b2815962a7a01791059ed984cb12fdba4dd
treec004c7033590c15532ac4c66ac818b86ebc1f91f
parentf871852f13db6072b3bffe25826d7520ef031ec0
Add 'plantlike_rooted' drawtype

Useful for underwater plants.
Node consists of a base cube plus a plantlike extension that can pass through
liquid nodes above without creating air bubbles or interfering with liquid flow.
Uses paramtype2 'leveled', param2 defines height of plantlike extension.
doc/lua_api.txt
src/content_mapblock.cpp
src/content_mapblock.h
src/nodedef.cpp
src/nodedef.h
src/script/common/c_content.cpp
src/script/cpp_api/s_node.cpp
src/shader.cpp
src/wieldmesh.cpp