]> git.lizzy.rs Git - minetest.git/blobdiff - src/guiMainMenu.h
Grow dirt_with_snow instead of dirt_with_grass if snow is above it
[minetest.git] / src / guiMainMenu.h
index 558a05d59b54221f56e6ea6034ded69133c69c98..a594ccd418bac8c2b9a052b5740ab6ccc1245440 100644 (file)
@@ -1,6 +1,6 @@
 /*
-Minetest-c55
-Copyright (C) 2010-2012 celeron55, Perttu Ahola <celeron55@gmail.com>
+Minetest
+Copyright (C) 2010-2013 celeron55, Perttu Ahola <celeron55@gmail.com>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License as published by
@@ -29,6 +29,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 class IGameCallback;
 
+enum {
+       SERVERLIST_FAVORITES,
+       SERVERLIST_PUBLIC,
+};
+
 struct MainMenuData
 {
        // These are in the native format of the gui elements
@@ -52,6 +57,7 @@ struct MainMenuData
        int enable_shaders;
        bool preload_item_visuals;
        bool enable_particles;
+       bool liquid_finite;
        // Server options
        bool creative_mode;
        bool enable_damage;
@@ -63,7 +69,7 @@ struct MainMenuData
        std::string create_world_gameid;
        bool only_refresh;
 
-       bool serverlist_show_available; // if false show local favorites only
+       int selected_serverlist;
 
        std::vector<WorldSpec> worlds;
        std::vector<SubgameSpec> games;
@@ -84,7 +90,7 @@ struct MainMenuData
                // Actions
                only_refresh(false),
 
-               serverlist_show_available(false)
+               selected_serverlist(SERVERLIST_FAVORITES)
        {}
 };