aboutsummaryrefslogtreecommitdiff
path: root/src/guiMainMenu.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2013-02-15 21:13:53 +0200
committerPerttu Ahola <celeron55@gmail.com>2013-05-02 19:43:47 +0300
commit084be3599a5ef0acba7c341bfd14a4e9801423a2 (patch)
tree319535075c0eafd482abd32f5418502aefc17ea9 /src/guiMainMenu.h
parentb28734c82cdb88228a12a3cac90f51ab9384b653 (diff)
downloadminetest-084be3599a5ef0acba7c341bfd14a4e9801423a2.tar.gz
minetest-084be3599a5ef0acba7c341bfd14a4e9801423a2.tar.bz2
minetest-084be3599a5ef0acba7c341bfd14a4e9801423a2.zip
Get menu background image from selected game
Diffstat (limited to 'src/guiMainMenu.h')
-rw-r--r--src/guiMainMenu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guiMainMenu.h b/src/guiMainMenu.h
index a594ccd41..b0c9ff24b 100644
--- a/src/guiMainMenu.h
+++ b/src/guiMainMenu.h
@@ -39,6 +39,7 @@ struct MainMenuData
// These are in the native format of the gui elements
// Generic
int selected_tab;
+ std::string selected_game;
// Client options
std::string servername;
std::string serverdescription;
@@ -78,6 +79,7 @@ struct MainMenuData
MainMenuData():
// Generic
selected_tab(0),
+ selected_game("minetest"),
// Client opts
fancy_trees(false),
smooth_lighting(false),