summaryrefslogtreecommitdiff
path: root/src/guiMainMenu.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-01-26 00:40:33 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-01-26 00:40:33 +0200
commit035345f13d2da9eced87a426a671d3bc4df392b5 (patch)
tree2dc97552164a7bcfab6359fbb9af6caf9652a827 /src/guiMainMenu.h
parentd3a6a12baea7317f6765ae7541cbc453f83d7928 (diff)
downloadminetest-035345f13d2da9eced87a426a671d3bc4df392b5.tar.gz
minetest-035345f13d2da9eced87a426a671d3bc4df392b5.tar.bz2
minetest-035345f13d2da9eced87a426a671d3bc4df392b5.zip
Map deletion button
Diffstat (limited to 'src/guiMainMenu.h')
-rw-r--r--src/guiMainMenu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/guiMainMenu.h b/src/guiMainMenu.h
index 8060f511d..010d0bf6d 100644
--- a/src/guiMainMenu.h
+++ b/src/guiMainMenu.h
@@ -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