mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
set_sky improvements, set_sun, set_moon and set_stars
This commit is contained in:
parent
580e7e8eb9
commit
946c03c69b
19 changed files with 1525 additions and 400 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue