mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Map deletion button
This commit is contained in:
parent
d3a6a12bae
commit
035345f13d
5 changed files with 157 additions and 9 deletions
|
@ -29,11 +29,17 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
|
||||
struct MainMenuData
|
||||
{
|
||||
MainMenuData():
|
||||
creative_mode(false),
|
||||
delete_map(false)
|
||||
{}
|
||||
// These are in the native format of the gui elements
|
||||
std::wstring address;
|
||||
std::wstring port;
|
||||
std::wstring name;
|
||||
bool creative_mode;
|
||||
// If map deletion is requested, this is set to true
|
||||
bool delete_map;
|
||||
};
|
||||
|
||||
class GUIMainMenu : public GUIModalMenu
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue