mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
set_sky improvements, set_sun, set_moon and set_stars
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user