1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Get rid of global guienv variable

(It can already be accessed via the renderingengine.)
This commit is contained in:
Desour 2023-08-09 02:55:42 +02:00 committed by sfan5
parent 45e7a80057
commit 16da954bd7
8 changed files with 29 additions and 37 deletions

View file

@ -110,8 +110,7 @@ public:
return m_device->getGUIEnvironment();
}
void draw_load_screen(const std::wstring &text,
gui::IGUIEnvironment *guienv, ITextureSource *tsrc,
void draw_load_screen(const std::wstring &text, ITextureSource *tsrc,
float dtime = 0, int percent = 0, bool sky = true);
void draw_scene(video::SColor skycolor, bool show_hud,