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

Revert "Get rid of global guienv variable"

This reverts commit 16da954bd7.
This commit is contained in:
Desour 2023-08-22 19:20:49 +02:00 committed by DS
parent f98726c516
commit 7e4dccb3b5
8 changed files with 37 additions and 29 deletions

View file

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