diff options
| author | Wuzzy <Wuzzy@disroot.org> | 2022-07-02 18:57:48 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-02 19:57:48 +0100 |
| commit | 142928e944db089cccce6c0ea32a89b32300b3d1 (patch) | |
| tree | 666fa8664a4a0a4d2d365d24ff61448e257759cc /src/client/sky.h | |
| parent | b095dc4f2bf2a1ace010dfae0ead69654b0ca3ac (diff) | |
| download | minetest-142928e944db089cccce6c0ea32a89b32300b3d1.tar.xz | |
Allow to set maximum star opacity at daytime (#11663)
Diffstat (limited to 'src/client/sky.h')
| -rw-r--r-- | src/client/sky.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/sky.h b/src/client/sky.h index e03683f12..cbb1186aa 100644 --- a/src/client/sky.h +++ b/src/client/sky.h @@ -82,6 +82,7 @@ public: void setStarCount(u16 star_count); void setStarColor(video::SColor star_color) { m_star_params.starcolor = star_color; } void setStarScale(f32 star_scale) { m_star_params.scale = star_scale; updateStars(); } + void setStarDayOpacity(f32 day_opacity) { m_star_params.day_opacity = day_opacity; } bool getCloudsVisible() const { return m_clouds_visible && m_clouds_enabled; } const video::SColorf &getCloudColor() const { return m_cloudcolor_f; } |
