aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2017-03-29 03:40:30 +0100
committerparamat <mat.gregory@virginmedia.com>2017-03-30 04:52:54 +0100
commitea549bbae3650d246db7b70a2b07485a4b404409 (patch)
tree0f70b68d6f5f26c83050549562d1077418dd72b0 /src/script
parentfbc1432fe8e821f58e97a5f35340efb2f46f93e4 (diff)
downloadminetest-ea549bbae3650d246db7b70a2b07485a4b404409.tar.gz
minetest-ea549bbae3650d246db7b70a2b07485a4b404409.tar.bz2
minetest-ea549bbae3650d246db7b70a2b07485a4b404409.zip
Paramtype2: Add missing type CPT2_GLASSLIKE_LIQUID_LEVEL
Add the missing paramtype2 for param2 controlling the liquid level inside the glasslike_framed drawtype. Add missing documentation of the feature to lua_api.txt. Update and improve comments for drawtype enumerations in nodedef.h.
Diffstat (limited to 'src/script')
-rw-r--r--src/script/cpp_api/s_node.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/cpp_api/s_node.cpp b/src/script/cpp_api/s_node.cpp
index 23c8f43b9..adad01e45 100644
--- a/src/script/cpp_api/s_node.cpp
+++ b/src/script/cpp_api/s_node.cpp
@@ -62,6 +62,7 @@ struct EnumString ScriptApiNode::es_ContentParamType2[] =
{CPT2_COLOR, "color"},
{CPT2_COLORED_FACEDIR, "colorfacedir"},
{CPT2_COLORED_WALLMOUNTED, "colorwallmounted"},
+ {CPT2_GLASSLIKE_LIQUID_LEVEL, "glasslikeliquidlevel"},
{0, NULL},
};