mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
Merge 8d6d1ff6ac
into 499f2284bd
This commit is contained in:
commit
6282b6514e
13 changed files with 119 additions and 35 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue