]> git.lizzy.rs Git - minetest.git/blobdiff - src/guiMainMenu.h
changed water color in farmesh
[minetest.git] / src / guiMainMenu.h
index 8060f511d75a6ebf61f71a1e3cf306a0ab92f51d..edd519024fb6a56879538d6cf144183f92f4c18b 100644 (file)
@@ -29,11 +29,31 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 struct MainMenuData
 {
+       MainMenuData():
+               // Client opts
+               fancy_trees(false),
+               smooth_lighting(false),
+               // Server opts
+               creative_mode(false),
+               enable_damage(false),
+               // Actions
+               delete_map(false)
+       {}
+
        // These are in the native format of the gui elements
+       
+       // Client options
        std::wstring address;
        std::wstring port;
        std::wstring name;
+       std::wstring password;
+       bool fancy_trees;
+       bool smooth_lighting;
+       // Server options
        bool creative_mode;
+       bool enable_damage;
+       // If map deletion is requested, this is set to true
+       bool delete_map;
 };
 
 class GUIMainMenu : public GUIModalMenu