aboutsummaryrefslogtreecommitdiff
path: root/src/guiMainMenu.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-15 15:20:20 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-15 15:20:20 +0200
commit6298878bfa996754fad0e530a209411f72cfdfac (patch)
tree06aa74e9f540e4951f350893586fd45359170611 /src/guiMainMenu.h
parent899004207d35350117611aaa2ee2130bf2519cd5 (diff)
downloadminetest-6298878bfa996754fad0e530a209411f72cfdfac.tar.gz
minetest-6298878bfa996754fad0e530a209411f72cfdfac.tar.bz2
minetest-6298878bfa996754fad0e530a209411f72cfdfac.zip
Add "simple singleplayer mode"; Fix a number of GUI things
Diffstat (limited to 'src/guiMainMenu.h')
-rw-r--r--src/guiMainMenu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/guiMainMenu.h b/src/guiMainMenu.h
index 5cb0f8e2b..5f9e73f62 100644
--- a/src/guiMainMenu.h
+++ b/src/guiMainMenu.h
@@ -45,6 +45,7 @@ struct MainMenuData
bool creative_mode;
bool enable_damage;
int selected_world;
+ bool simple_singleplayer_mode;
// Actions
WorldSpec delete_world_spec;
std::wstring create_world_name;
@@ -62,7 +63,8 @@ struct MainMenuData
// Server opts
creative_mode(false),
enable_damage(false),
- selected_world(0)
+ selected_world(0),
+ simple_singleplayer_mode(false)
{}
};