mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Display background & moving progress bar on shutdown screen (#14597)
Co-authored-by: Gregor Parzefall <gregor.parzefall@posteo.de>
This commit is contained in:
parent
36d236c5e0
commit
ab783b9bb2
3 changed files with 31 additions and 21 deletions
|
@ -137,9 +137,11 @@ public:
|
|||
return m_device->getGUIEnvironment();
|
||||
}
|
||||
|
||||
// If "indef_pos" is given, the value of "percent" is ignored and an indefinite
|
||||
// progress bar is drawn.
|
||||
void draw_load_screen(const std::wstring &text,
|
||||
gui::IGUIEnvironment *guienv, ITextureSource *tsrc,
|
||||
float dtime = 0, int percent = 0, bool sky = true);
|
||||
float dtime = 0, int percent = 0, float *indef_pos = nullptr);
|
||||
|
||||
void draw_scene(video::SColor skycolor, bool show_hud,
|
||||
bool draw_wield_tool, bool draw_crosshair);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue