diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-15 14:17:05 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-15 14:17:05 +0200 |
commit | 899004207d35350117611aaa2ee2130bf2519cd5 (patch) | |
tree | 134849b25d664b785a14974174f9294bb44353d1 /src/guiMainMenu.h | |
parent | 2b200d481fd919752bdb786142e5eb41c3932537 (diff) | |
download | minetest-899004207d35350117611aaa2ee2130bf2519cd5.tar.gz minetest-899004207d35350117611aaa2ee2130bf2519cd5.tar.bz2 minetest-899004207d35350117611aaa2ee2130bf2519cd5.zip |
Save selected tab
Diffstat (limited to 'src/guiMainMenu.h')
-rw-r--r-- | src/guiMainMenu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/guiMainMenu.h b/src/guiMainMenu.h index 397c2f7ce..5cb0f8e2b 100644 --- a/src/guiMainMenu.h +++ b/src/guiMainMenu.h @@ -30,6 +30,8 @@ class IGameCallback; struct MainMenuData { // These are in the native format of the gui elements + // Generic + int selected_tab; // Client options std::wstring address; std::wstring port; @@ -52,6 +54,8 @@ struct MainMenuData std::vector<SubgameSpec> games; MainMenuData(): + // Generic + selected_tab(0), // Client opts fancy_trees(false), smooth_lighting(false), |