Modernize client code (#6250)
[oweals/minetest.git] / src / guiEngine.h
index cf2bade70143b21ecad5b442fc6c88260ef6632e..9f59051e8bc4f1cbd700ea16d58c9c52653bc6b3 100644 (file)
@@ -150,11 +150,9 @@ public:
         * @param smgr scene manager to add scene elements to
         * @param data struct to transfer data to main game handling
         */
-       GUIEngine(irr::IrrlichtDevice *dev,
-                       JoystickController *joystick,
+       GUIEngine(JoystickController *joystick,
                        gui::IGUIElement *parent,
                        IMenuManager *menumgr,
-                       scene::ISceneManager *smgr,
                        MainMenuData *data,
                        bool &kill);
 
@@ -192,8 +190,6 @@ private:
        /** update size of topleftext element */
        void updateTopLeftTextSize();
 
-       /** device to draw at */
-       irr::IrrlichtDevice     *m_device = nullptr;
        /** parent gui element */
        gui::IGUIElement        *m_parent = nullptr;
        /** manager to add menus to */