diff options
author | Jordach <jordach.snelling@gmail.com> | 2019-08-21 21:47:45 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2020-03-05 20:12:19 +0100 |
commit | 946c03c69bfdde7dc91295692479f8e81bdf79e9 (patch) | |
tree | 0ee299c2fc1d424bdbe7bd03964c2ced47bf9b7e /src/script/lua_api/l_object.h | |
parent | 580e7e8eb902ae2faed36b4982e7e751e35f5201 (diff) | |
download | minetest-946c03c69bfdde7dc91295692479f8e81bdf79e9.tar.xz |
set_sky improvements, set_sun, set_moon and set_stars
Diffstat (limited to 'src/script/lua_api/l_object.h')
-rw-r--r-- | src/script/lua_api/l_object.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h index e817e1d33..a75c59fd9 100644 --- a/src/script/lua_api/l_object.h +++ b/src/script/lua_api/l_object.h @@ -324,12 +324,33 @@ private: // hud_get_hotbar_selected_image(self) static int l_hud_get_hotbar_selected_image(lua_State *L); - // set_sky(self, bgcolor, type, list, clouds = true) + // set_sky({base_color=, type=, textures=, clouds=, sky_colors={}}) static int l_set_sky(lua_State *L); // get_sky(self) static int l_get_sky(lua_State *L); + // get_sky_color(self) + static int l_get_sky_color(lua_State* L); + + // set_sun(self, {visible, texture=, tonemap=, sunrise=, rotation=, scale=}) + static int l_set_sun(lua_State *L); + + // get_sun(self) + static int l_get_sun(lua_State *L); + + // set_moon(self, {visible, texture=, tonemap=, rotation, scale=}) + static int l_set_moon(lua_State *L); + + // get_moon(self) + static int l_get_moon(lua_State *L); + + // set_stars(self, {visible, count=, starcolor=, rotation, scale=}) + static int l_set_stars(lua_State *L); + + // get_stars(self) + static int l_get_stars(lua_State *L); + // set_clouds(self, {density=, color=, ambient=, height=, thickness=, speed=}) static int l_set_clouds(lua_State *L); |