mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
refacto: remove get_gui_env & draw_load_screen from RenderingEngine singleton
This commit is contained in:
@@ -152,6 +152,7 @@ public:
|
||||
gui::IGUIElement* parent, s32 id,
|
||||
IMenuManager *menumgr,
|
||||
Client *client,
|
||||
gui::IGUIEnvironment *guienv,
|
||||
ISimpleTextureSource *tsrc,
|
||||
ISoundManager *sound_manager,
|
||||
IFormSource* fs_src,
|
||||
@@ -162,8 +163,9 @@ public:
|
||||
~GUIFormSpecMenu();
|
||||
|
||||
static void create(GUIFormSpecMenu *&cur_formspec, Client *client,
|
||||
JoystickController *joystick, IFormSource *fs_src, TextDest *txt_dest,
|
||||
const std::string &formspecPrepend, ISoundManager *sound_manager);
|
||||
gui::IGUIEnvironment *guienv, JoystickController *joystick, IFormSource *fs_src,
|
||||
TextDest *txt_dest, const std::string &formspecPrepend,
|
||||
ISoundManager *sound_manager);
|
||||
|
||||
void setFormSpec(const std::string &formspec_string,
|
||||
const InventoryLocation ¤t_inventory_location)
|
||||
|
Reference in New Issue
Block a user