- // These are in the native format of the gui elements
-
- // Client options
- std::wstring address;
- std::wstring port;
- std::wstring name;
- std::wstring password;
- bool fancy_trees;
- bool smooth_lighting;
- // Server options
- bool creative_mode;
- bool enable_damage;
- // If map deletion is requested, this is set to true
- bool delete_map;
-};
-
-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);