diff options
Diffstat (limited to 'src/guiMainMenu.h')
-rw-r--r-- | src/guiMainMenu.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/guiMainMenu.h b/src/guiMainMenu.h index a594ccd41..8697344c8 100644 --- a/src/guiMainMenu.h +++ b/src/guiMainMenu.h @@ -34,11 +34,22 @@ enum { 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; @@ -78,6 +89,8 @@ struct MainMenuData MainMenuData(): // Generic selected_tab(0), + selected_game("minetest"), + selected_game_name("Minetest"), // Client opts fancy_trees(false), smooth_lighting(false), @@ -128,6 +141,8 @@ private: s32 id; IMenuManager *menumgr; + std::vector<int> m_world_indices; + bool m_is_regenerating; v2s32 m_topleft_client; v2s32 m_size_client; |