minetest/src/script/common
Auke Kok 37b4f0d34c Allow nodes to specify which sides to connect to.
NDT_CONNECTED attempts to connect to any side of nodes that it can
connect to, which is troublesome for FACEDIR type nodes that generally
may only have one usable face, and can be rotated.

We introduce a node parameter `connect_sides` that is valid for
any node type. If specified, it lists faces of the node (in "top",
"bottom", "front", "left", "back", "right", form, as array) that
connecting nodeboxes can connect to. "front" corresponds to the south
facing side of a node with facedir = 0.

If the node is rotatable using *simple* FACEDIR, then the attached
face is properly rotated before checking. This allows e.g. a chest
to be attached to only from the rear side.
2016-03-12 12:08:17 -05:00
..
c_content.cpp Allow nodes to specify which sides to connect to. 2016-03-12 12:08:17 -05:00
c_content.h Fix tiling issues for PLANTLIKE and FIRELIKE with FSAA 2015-08-05 22:52:32 +02:00
c_converter.cpp Add Lua interface to HTTPFetchRequest 2016-02-22 15:39:41 +01:00
c_converter.h Add Lua interface to HTTPFetchRequest 2016-02-22 15:39:41 +01:00
c_internal.cpp Fix crash regression when invsize formspec gets used 2015-10-17 01:29:05 +02:00
c_internal.h Push error handler afresh each time lua_pcall is used 2015-08-27 01:56:06 +02:00
c_types.cpp Remove lua_State parameter from LuaError::LuaError 2014-03-15 16:28:59 -04:00
c_types.h Fix server crashing on Lua errors 2015-10-31 13:28:58 -04:00
CMakeLists.txt Clean up and tweak build system 2015-03-27 15:00:48 -04:00