summaryrefslogtreecommitdiff
path: root/src/guiMainMenu.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-15 14:17:05 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-15 14:17:05 +0200
commit899004207d35350117611aaa2ee2130bf2519cd5 (patch)
tree134849b25d664b785a14974174f9294bb44353d1 /src/guiMainMenu.h
parent2b200d481fd919752bdb786142e5eb41c3932537 (diff)
downloadminetest-899004207d35350117611aaa2ee2130bf2519cd5.tar.gz
minetest-899004207d35350117611aaa2ee2130bf2519cd5.tar.bz2
minetest-899004207d35350117611aaa2ee2130bf2519cd5.zip
Save selected tab
Diffstat (limited to 'src/guiMainMenu.h')
-rw-r--r--src/guiMainMenu.h4
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),