Commit Graph

9 Commits

Author SHA1 Message Date
Auke Kok 54235f3276 Xpanes: Convert to connected nodeboxes
I've rewritten this to use connected nodeboxes, but with a caveat. In
order to make flat nodes look better, I'm keeping one non-connected
pane that is flat around to convert flat sections to the flat nodes
instead of connected, as these look better and are easier to work
with. Once more sides are needed we convert the panes on the fly to
connected nodes and recalculate the shape.

We don't paint any of the half-panes that the previous generation of
xpanes did. There's no need and it's harder to work with. Updating the
nodes also seems more natural and placement and removal works straight
forward.

The conversion of old panes relies on an LBM, and does a reasonable
conversion job, but it's not exact, since the panes behave slightly
different now.

The game API documentation was wrong to begin with. We discard param
nr. 2 of the API entirely, and correct the tile usage text.
2016-09-10 05:18:02 +01:00
Jean-Patrick Guerrero 7f317871d4 Add steel ladder 2016-03-06 01:31:36 +00:00
Rui914 1f85f001f9 Remove ugly def of xpanes 2015-09-29 01:26:02 +01:00
paramat e15fde1624 Fix is_ground_content settings for nodes
Remove line if set to the default of 'true'
2015-06-18 02:25:02 +01:00
BlockMen c95cd8414b Fix xpanes API 2014-09-16 17:11:54 +02:00
BlockMen 955f3cf310 Fix crafting recipe for iron bars 2014-07-08 19:10:55 +02:00
ShadowNinja ca7f6bb97a Convert spaces to tabs and add unknown node checks to xpanes 2014-07-06 21:49:47 -04:00
webdesigner97 7e5dc6c374 Add a minetest_game API documentation 2014-07-06 10:22:20 +02:00
BlockMen 7d63db1703 Add glasspanes and ironbars 2014-07-05 16:02:42 +02:00