1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-30 19:22:14 +00:00
This commit is contained in:
ZenonSeth 2025-09-30 11:40:22 -07:00 committed by GitHub
commit 6282b6514e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 119 additions and 35 deletions

View file

@ -63,8 +63,6 @@ public:
class RenderingEngine
{
public:
static const video::SColor MENU_SKY_COLOR;
RenderingEngine(MyEventReceiver *eventReceiver);
~RenderingEngine();
@ -137,6 +135,11 @@ public:
return m_device->run();
}
void setMenuSkyColor(video::SColor &color);
void setMenuCloudsColor(video::SColor &color);
const video::SColor getMenuSkyColor();
const video::SColor getMenuCloudsColor();
// FIXME: this is still global when it shouldn't be
static ShadowRenderer *get_shadow_renderer()
{
@ -157,6 +160,9 @@ public:
}
private:
video::SColor m_menu_sky_color = video::SColor(255, 140, 186, 250);
video::SColor m_menu_clouds_color = video::SColor(255, 240, 240, 255);
static void settingChangedCallback(const std::string &name, void *data);
v2u32 _getWindowSize() const;