-class GUIMainMenu : public GUIModalMenu
-{
-public:
- GUIMainMenu(gui::IGUIEnvironment* env,
- gui::IGUIElement* parent, s32 id,
- IMenuManager *menumgr,
- MainMenuData *data,
- IGameCallback *gamecallback);
- ~GUIMainMenu();
-
- void removeChildren();
- /*
- Remove and re-add (or reposition) stuff
- */
- void regenerateGui(v2u32 screensize);
-
- void drawMenu();
-
- void acceptInput();
+struct MainMenuData {
+ // Client options
+ std::string servername;
+ std::string serverdescription;
+ std::string address;
+ std::string port;
+ std::string name;
+ std::string password;
+ // Whether to reconnect
+ bool do_reconnect = false;