aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu/dlg_settings_advanced.lua
AgeCommit message (Collapse)Author
2022-09-12Mainmenu: Properly sort mods and games (#12758)SmallJoker
This also removes trivial and unused pkgmgr functions Fixes a bug caused by sorting in 2133fc8
2022-08-02Add `minetest.settings` to CSM API and allow CSMs to provide ↵AFCMS
`settingtypes.txt` (#12131) Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2022-06-30Reorganise settingtypes.txt (#12490)rubenwardy
This organises the settingstype.txt file to use a logical/user-friendly structure. Advanced settings are also demoted to an advanced section at the end. At most 3 levels of hierarchy are used, as that's the most allowed by the settings redesign
2022-04-24Use mod names/titles instead of technical names (#12192)olive
2022-02-08Noise params serialization fixupGaël C
2022-02-04Fix types of get_mapgen_setting_noiseparams (#12025)Lars Müller
2022-01-30Use virtual paths to specify exact mod to enable (#11784)rubenwardy
2021-06-21Strip carriage returns from lines in settingtypes.txt (#11338)William L. DeRieux IV
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2021-06-21Fix some typos in builtin (#11370)Wuzzy
2020-03-20Add comments for translators (#9510)Wuzzy
* Add translator comments for "special" strings * Add translator comments for some "tricky" strings
2019-09-27All settings: Fix missing flags checkbox caused by 'possible flags' order ↵Muhammad Rifqi Priyo Susanto
(#8997) Previously, the 'rivers' checkbox was missing for mgcarpathian, caused by the 'possible flags' order: 'caverns,nocaverns,rivers,norivers'. Also reorder mgcarpathian 'possible flags', but only for consistency.
2019-09-01'All Settings': Don't use checkboxes for 'no...' mapgen flags (#7847)Muhammad Rifqi Priyo Susanto
2019-08-06Add luacheck to check builtin (#7895)rubenwardy
2019-02-23Update minetest.conf.example and settings_translation_file.cpp (#8278)Paramat
2019-01-20Make advanced settings noiseparams strings translatable (#8062)Wuzzy
Various minor language improvements in settingtypes.txt.
2019-01-19Advanced settings noiseparams: No tailing comma for empty flagssrifqi
Previously, when editing noiseparams and disabling all the noise flags, the noiseparam is displyed in advanced settings with a tailing comma.
2018-10-28Advanced settings: Fix noise parameter flags (#7819)Paramat
Populate the 'checkboxes' table with bools when creating the editing formspec.
2018-10-20Mainmenu: Clean up and improve advanced settings dialogues (#7802)SmallJoker
Improvements: 1. Formspec size and description box are calculated last 2. Width and height are now adjustable per setting type 3. Error message (dialogdata.error_message) shortens the description field and is placed below 4. Add more spacing for larger fonts 5. More comments and extensible by setting different height and width values
2018-10-18Advanced settings tree menu: Resize, fix clipped values (#7790)Paramat
2018-10-11Advanced settings menu: Centre setting edit box (#7778)Paramat
2018-09-30Remove settings properly (#7676)SmallJoker
2018-04-19Add online content repositoryrubenwardy
Replaces mods and texture pack tabs with a single content tab
2017-12-26Advanced settings: Add range check for float typeMuhammad Rifqi Priyo Susanto
2017-10-23Improvements/fixes for noise parameter input in advanced settingsMuhammad Rifqi Priyo Susanto
Formspec input for each individual noise parameter and flag. Allow noise flags to be set in advanced settings, previously only settable in minetest.conf. Standardise 'group format' for noise parameters set in minetest.conf, as only these support noise flags. However the older 'single line' format is still accepted to support existing minetest.conf files. Therefore auto-generate minetest.conf.example with noise parameters in 'group format'. Setting 'type' in settingtypes.txt is now either 'noise_params_2D' or 'noise_params_3D', the dimension number is displayed in the advanced settings edit page.
2017-08-14Advanced settings: Re-organise mapgen settings for ease of useparamat
Add a comment about the auto-generated minetest.conf.example possibly appearing in the bin folder.
2017-07-11Advanced settings: Reformat noise parameter format exampleparamat
Previously the example ran off the edge of the formspec. Also include 'lacunarity' in the format instead of treating it as an option.
2017-06-30Create a filesystem abstraction layer for CSM and only allow accessing files ↵red-001
that are scanned into it. (#5965) * Load client-side mods into memory before executing them. This removes the remaining filesystem access that client-sided mods had and it will hopefully make then more secure. * Lua Virtual filesystem: don't load the files into memory just scan the filenames into memory. * Fix the issues with backtrace * fix most of the issues * fix code style. * add a comment
2017-06-11Improve the path select GUI (#5852)red-001
- Allow lua to chose whatever directories or files can be selected - Fix selecting directories - Rename dialog to `guiPathSelectMenu` from `guiFileSelectMenu` - Rename lua function for opening the menu from `show_file_open_dialog` to `show_path_select_dialog` - Remove duplicate code and fix code style. Related changes - fix `clang-format` whitelist. - Regenerate minetest.conf.example
2017-05-06Use a settings object for the main settingsShadowNinja
This unifies the settings APIs. This also unifies the sync and async registration APIs, since the async registration API did not support adding non-functions to the API table.
2017-04-19Conf.example: Move some lines to minetest.conf.example.extraparamat
Some information in conf.example cannot be generated from settingtypes.txt, moving it to a new file makes generating conf.example while preserving that information easier. Regenerate conf.example from settingtypes.txt.
2017-01-18Add search to advanced settings (#4806)rubenwardy
* Add search to advanced settings * Press enter again to go to next result * Use keyword based search, auto select best option
2017-01-13Main menu tweaksShadowNinja
2017-01-07Make column alignment consistent in advanced settings (#5004)Ezhh
2016-12-12Setting limits: Fix message text in advanced settings tabRogier
It would complain that the value should be higher than the lower bound, when it should be higher than or equal to the lower bound. Similar issue for the upper bound.
2016-09-23Conf.example: Re-add deleted noise parameter documentationparamat
Re-add documentation of noise parameter formats. Re-add 'mgv5_np_ground' noise parameters in group format. Both these were deleted through auto-generation of conf.example. Add note to builtin/mainmenu/dlg_settings_advanced.lua that this documentation must be preserved.
2016-08-20Move generation from settingtypes out of dlg_settings_advancedTim
Avoids unreachable code linter warning by moving generation code (of minetest.conf.example and settings_translation_file.cpp) out of dlg_settings_advanced. Due to passing the settings, also it avoids reading the settings file twice. Instead of activating the code by changing the active if-clauses, its activation is now done by uncommenting the loadfile() statement.
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