+ int selected_world;
+ bool simple_singleplayer_mode;
+ // Actions
+ std::wstring create_world_name;
+ std::string create_world_gameid;
+ bool only_refresh;
+
+ std::vector<WorldSpec> worlds;
+ std::vector<SubgameSpec> games;
+
+ MainMenuData():
+ // Generic
+ selected_tab(0),
+ // Client opts
+ fancy_trees(false),
+ smooth_lighting(false),
+ // Server opts
+ creative_mode(false),
+ enable_damage(false),
+ selected_world(0),
+ simple_singleplayer_mode(false),
+ // Actions
+ only_refresh(false)
+ {}