summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_object.h
diff options
context:
space:
mode:
authorBen Deutsch <ben@bendeutsch.de>2017-03-17 10:39:47 +0100
committerparamat <mat.gregory@virginmedia.com>2017-04-30 00:06:13 +0100
commitf1d7a26b7c341b468f34325cec5c3d495f175a8f (patch)
tree9926a816208ec7b9384ba718be739953d9d3d773 /src/script/lua_api/l_object.h
parent95409da87d009c352f27c737621972c2225796c9 (diff)
downloadminetest-f1d7a26b7c341b468f34325cec5c3d495f175a8f.tar.gz
minetest-f1d7a26b7c341b468f34325cec5c3d495f175a8f.tar.bz2
minetest-f1d7a26b7c341b468f34325cec5c3d495f175a8f.zip
Add clouds API
Diffstat (limited to 'src/script/lua_api/l_object.h')
-rw-r--r--src/script/lua_api/l_object.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h
index 98f5c2b11..0912a1c49 100644
--- a/src/script/lua_api/l_object.h
+++ b/src/script/lua_api/l_object.h
@@ -289,6 +289,12 @@ private:
// get_sky(self, type, list)
static int l_get_sky(lua_State *L);
+ // set_clouds(self, {density=, color=, ambient=, height=, thickness=, speed=})
+ static int l_set_clouds(lua_State *L);
+
+ // get_clouds(self)
+ static int l_get_clouds(lua_State *L);
+
// override_day_night_ratio(self, type)
static int l_override_day_night_ratio(lua_State *L);