1
0
Fork 0
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:
Perttu Ahola 2011-01-26 00:40:33 +02:00
parent d3a6a12bae
commit 035345f13d
5 changed files with 157 additions and 9 deletions

View file

@ -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