aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu/dlg_rename_modpack.lua
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2017-11-04 22:19:27 +0100
committersfan5 <sfan5@live.de>2017-11-04 22:19:27 +0100
commit21f3237fe95a18e97421ea80762f989c7841a181 (patch)
treed814bd1ccefb79c31174e6f2a4c0ccbe64261b7f /builtin/mainmenu/dlg_rename_modpack.lua
parent28841961ba91b943b7478704181604fa3e24e81e (diff)
downloadminetest-21f3237fe95a18e97421ea80762f989c7841a181.tar.gz
minetest-21f3237fe95a18e97421ea80762f989c7841a181.tar.bz2
minetest-21f3237fe95a18e97421ea80762f989c7841a181.zip
httpfetch: Enable gzip support
Diffstat (limited to 'builtin/mainmenu/dlg_rename_modpack.lua')
0 files changed, 0 insertions, 0 deletions
ny later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef GUIMAINMENU_HEADER #define GUIMAINMENU_HEADER #include "irrlichttypes_extrabloated.h" #include "modalMenu.h" #include <string> #include <list> #include "subgame.h" 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; std::wstring name; std::wstring password; bool fancy_trees; bool smooth_lighting; bool clouds_3d; bool opaque_water; // Server options bool creative_mode; bool enable_damage; int selected_world; bool simple_singleplayer_mode; // Actions std::wstring create_world_name; std::string create_world_gameid; bool only_refresh; std::vector<WorldSpec> worlds; std::vector<SubgameSpec> games; MainMenuData(): // Generic selected_tab(0), // Client opts fancy_trees(false), smooth_lighting(false), // Server opts creative_mode(false), enable_damage(false), selected_world(0), simple_singleplayer_mode(false), // Actions only_refresh(false) {} }; class GUIMainMenu : public GUIModalMenu { public: GUIMainMenu(gui::IGUIEnvironment* env, gui::IGUIElement* parent, s32 id, IMenuManager *menumgr, MainMenuData *data,