SERVERLIST_PUBLIC,
};
+enum
+{
+ TAB_SINGLEPLAYER=0,
+ TAB_MULTIPLAYER,
+ TAB_ADVANCED,
+ TAB_SETTINGS,
+ TAB_CREDITS
+};
+
struct MainMenuData
{
// These are in the native format of the gui elements
// Generic
int selected_tab;
+ std::string selected_game;
+ std::string selected_game_name;
// Client options
std::string servername;
std::string serverdescription;
MainMenuData():
// Generic
selected_tab(0),
+ selected_game("minetest"),
+ selected_game_name("Minetest"),
// Client opts
fancy_trees(false),
smooth_lighting(false),
s32 id;
IMenuManager *menumgr;
+ std::vector<int> m_world_indices;
+
bool m_is_regenerating;
v2s32 m_topleft_client;
v2s32 m_size_client;