aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu
AgeCommit message (Collapse)Author
2016-04-28Mainmenu: Standardize the menu button order and sizesSmallJoker
2016-04-22Fix mainmenu code downloading the public serverlist twice.Ekdohibs
Also, fix a nil error that can happen sometimes in menu_handle_key_up_down
2016-04-21Textures: Replace menu background fallback dirt_bg.png with empty sky textureparamat
2016-04-20Mainmenu: Code cleaningkilbith
2016-04-20Mainmenu: Unify favorite servers with main serverlistkilbith
2016-04-15Mainmenu: Still support favorites if send_pre_v25_init is disabledest31
@SmallJoker has noted a bug that servers from the (local) main menu favorites list can't be opened. This commit fixes the bug by disabling any main menu based protocol checks for servers from the favorite list. Also, it fixes a second bug that happens when a server from the public serverlist doesn't send its supported protocol versions, most likely because its running a minetest older than commit [1]. Then we have shown an error msg that the server has enforced one specific protocol version. This was most likely not the case. Of course, we can't do anything better than do an assumption on the protocol versions if they are not known. That assumption should however be closest to the most often occuring case as possible. Also, some little cleanups. [1]: 5a0ed780f56a5225b3d7c5f64099586e390e5f39 "Server: announce MIN/MAX protocol version supported to serverlist. Client: check serverlist"
2016-04-15mainmenu: Tidy up logic in is_server_protocol_compat() (#3997)SmallJoker
Apply de morgan to simplify the logic.
2016-04-08Mainmenu: Refactor tab UI codeRui914
- Use local variables for tabs in place of globals - Merge together if statements where possible - Replace manual table searching code with indexof where possible
2016-03-31Mainmenu: Move description.txt textbox downRui914
Additionally, fix misc. code style issues
2016-03-24Credits: Make that easy to add/removeRui
2016-03-15Add option to not send pre v25 init packetest31
The legacy init packet (pre v25) sends information about the client's password that a server could use to log in to other servers if the username and password are the same. All the other benefits of SRP of protocol v25 are missed if the legacy init packet is still sent during connection creation. This patch adds an option to not send the v25 init packet. Not sending the v25 packet means breaking compat with pre v25 servers, but as the option is not enabled by default, no servers are affected unless the user explicitly flips the switch. More than 90% of the servers on the serverlist support post v25 protocols. The patch also fixes a bug with greying out of non compliant servers being done wrongly, the min and max params were mixed.
2016-03-06Settings Tab: Regroup dropdown datas in tablesJean-Patrick Guerrero
2016-03-06Faster insertion into tableRui914
2016-03-05Update settings tab + some misc. clean-upJean-Patrick Guerrero
2016-02-27Don't generate trailing spaces in minetest.conf.exampleest31
If the default value of a setting was empty, it previously generated a trailing space.
2016-02-21Restore simple settings tab and add advanced settings as dialogBlockMen
2016-01-23Fix world config menu ignoring `name` in `mod.conf`.Diego Martinez
2016-01-16Fix error message in settings tab overlapping 'save' buttonRogier
The save button is now fully functional again when an error message is shown. After an invalid value is entered in the settings tab dialog, the GUI label for the error message that is shown was partly overlapping the 'save' button, so that the top half of the button could not be clicked on.
2016-01-10Fix the checking of flags values in the settings tabRogier
Changes: - Accept setting an empty flags-type value in the settings tab if the variable specification permits it - Don't accept substrings of flag values E.g. with values: 'one,two,three', 'hree', 'w', etc. used to be accepted. Not any more - Don't accept flags with random pattern-matching special characters E.g. with values: 'one,two,three', 'on.', '(o)[n]e*' etc. used to be accepted. Not any more.
2016-01-10Improve parsing of setting types from settingtypes.txt for settings tabRogier
- Accept numbers prefixed with '+' - Accept multiple spaces instead of just a single one where spaces are expected - Allow flags to have an empty default value
2015-12-26Alphabetical sorting of texture packs in menu (fixes #3487)jeanpatrick.guerrero@gmail.com
2015-11-08Settings tab: add v3f typeest31
Add the v3f type, currently is just a nice placeholder for string. Currently undocumented, on wish of @PilzAdam, to support future changes.
2015-10-31minetest. to core.Rui914
2015-10-25Fix parameter passing to gettext callPilzAdam
2015-10-25Credits: Remove my nameRui
2015-10-25Escape " in generated settings_translation_file.cppPilzAdam
2015-10-24Fix setting commentsPilzAdam
2015-10-24Don't allow games or mods to add secure. settingsPilzAdam
2015-10-24Better gettext support for protocol version mismatch messagesest31
Previously, xgettext failed to resolve the dynamic call. Thanks to @JakubVanek for pointing this out.
2015-10-24Improve Lua settings menuPilzAdam
* Add key settings to setting table and ignore them later This way they are added to the auto-generated minetest.conf.example * Add flags type * Add input validation for int, float and flags * Break in-game graphic settings into multiple sections * Parse settingtpes.txt in mods and games * Improve description for a lot of settings * Fix typos and wording in settingtypes.txt * Convert language setting to an enum
2015-10-18Display sane output for empty descriptionsest31
According to its man page, the function gettext(3) "may return a nonempty string" when msgid is "". This commit fixes a bug where the comment "" for some settings caused gettext to return a "nonempty string", in this case header info of the po file.
2015-10-17New settings tab contain all possible settingsPilzAdam
Settings are automatically parsed from builtin/settingtypes.txt The edit dialog automatically adjust based on the type of setting
2015-10-06Add viewing range GUI settingkilbith
2015-09-14Minor tweaks handle_settings_buttonsRui914
2015-09-03Change my emailRui914
2015-08-31Credits tab: fix accidental merger of two contributorsest31
Fixes #3125
2015-08-25Use gettext to "None" of texture pack listRui914
2015-08-19Remove some emails from credits tabkwolekr
2015-08-19Update credits tabkwolekr
2015-08-19Client: disable mmdb modstoreest31
The service isn't online, and on the long term, mmdb will likekly be replaced with other services from the modding community.
2015-08-14Don't do formspec escaping twice for loading descriptionest31
2015-07-25Fix FSAA dropdown option reset after changing another dropdown optionjeanpatrick.guerrero@gmail.com
2015-07-25Remove drivers dropdown in the settings tabkilbith
2015-07-24Update my nameNovatux
2015-07-21Fix crash in mainmenu when loaded subgame does not have a "menu" directorysfan5
2015-07-21Allow random menu images for subgamessfan5
2015-07-18Add antialiasing UI settingMark Schreiber
The Irrlicht engine supports antialiasing, and Minetest already supports saving an antialiasing setting in its configuration file. However, Minetest lacked UI elements to set this setting, and previously the only way to enable the feature was by hand-editing the configuration file. Add a drop-down menu that can enable antialiasing.
2015-07-18Change texture pack description file nameExcaliburZero
Change the name for texture pack description files from "info.txt" to "description.txt" in order to keep the naming consistent between description files for both mods and texture packs. Also add backwards compatibility for texture packs that use "info.txt", and note in the log that "info.txt" is depreciated.
2015-07-10Fix remnant bugs on mainmenujp
- Stop attempting to start a world when no world's created/selected in server tab - Better world's indexes handling between subgames lists
2015-07-08Add new leaves style - simple (glasslike drawtype)RealBadAngel