1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

updated menu a bit, and some other small fixes

This commit is contained in:
Perttu Ahola 2011-04-24 15:37:41 +03:00
parent ba88685fab
commit c9967d6d07
9 changed files with 71 additions and 5 deletions

View file

@ -30,14 +30,25 @@ 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;
bool fancy_trees;
bool smooth_lighting;
// Server options
bool creative_mode;
bool enable_damage;
// If map deletion is requested, this is set to true