Commit Graph

212 Commits

Author SHA1 Message Date
ChimneySwift 6c42ebfafa Escape special characters when searching the server list (#7842)
Simple fix to stop searching for "[" or other special characters causing a crash.
2018-11-10 14:46:51 +01:00
Muhammad Rifqi Priyo Susanto 57a2f3e4c4 Conf.example generation: Remove quotation marks from noise flags (#7844) 2018-11-09 00:24:36 +00:00
random-geek bd81b5e4c8 Improve content store layout (#7806) 2018-11-08 21:55:38 +00:00
Paramat 0d54399be2
Advanced settings: Fix noise parameter flags (#7819)
Populate the 'checkboxes' table with bools when creating the editing formspec.
2018-10-28 20:53:08 +00:00
SmallJoker ff35bffe18
Mainmenu: Clean up and improve advanced settings dialogues (#7802)
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-20 19:14:34 +02:00
Paramat 4e6b8062ec
Advanced settings tree menu: Resize, fix clipped values (#7790) 2018-10-18 05:42:15 +01:00
Paramat b6adb7f09e
Advanced settings menu: Centre setting edit box (#7778) 2018-10-11 05:09:03 +01:00
Paramat d6f2a1c4b8
Various grammar improvements (#7769)
In builtin//pkgmgr.lua, README.md and settingtypes.txt.
Based on 2 pull requests by comradekingu.
2018-10-06 03:43:26 +01:00
SmallJoker a29bc8e8ba
Remove settings properly (#7676) 2018-09-30 19:57:31 +02:00
SmallJoker 6ed9c6fb3a Menu content tab: Fix clipped description and missing depends (#7703) 2018-09-07 02:46:58 +01:00
Paramat 34f940dcca
Content tab: Fix clipped text in texture pack button (#7667)
Wider buttons to not clip 'Disable Texture Pack' text when using a
small game window (1024x600, the default).
2018-08-22 21:36:56 +01:00
HybridDog 4937c5007f World config: Add modpack descriptions and remove dependencies there (#7397)
* Allow adding descriptions to modpacks using description.txt
* Use a proper multiline formspec element: textarea
2018-08-17 20:34:08 +02:00
texmex 6afbb06c7e Make the primary, flow-advancing action the right-most (#7594) 2018-07-31 22:00:42 +02:00
Vitaliy c022ddce4b Disable shaders GUI on unsupported drivers (#7563)
* Disable shaders GUI on unsupported drivers (#2060)

* Disable shaders if unavailable
2018-07-21 09:26:40 +02:00
rubenwardy ca502fc274
Update to new ContentDB API 2018-06-18 20:47:38 +01:00
nOOb3167 10634f0443 Make os.tempfolder work correctly for MinGW & MSVC (#7443) 2018-06-13 13:22:17 +02:00
nOOb3167 a2de439a91 Fix builtin lua function os.tempfolder (#7368)
* Fix builtin lua function os.tempfolder
2018-06-05 23:08:10 +02:00
you 7f7678e4e3 Tidy up dlg_config_world.lua (#5351)
Move code to pkgmgr
2018-05-29 18:37:51 +02:00
rubenwardy 122eed7a34
Add screenshots to online content browser 2018-05-20 00:25:17 +01:00
rubenwardy 3eb363f813
Add updating to online content browser 2018-05-16 21:52:12 +01:00
rubenwardy f23dd62e2f
Fix description wrapping in browse online content 2018-04-26 00:19:05 +01:00
rubenwardy 87ad4d8e7f
Add online content repository
Replaces mods and texture pack tabs with a single content tab
2018-04-19 20:14:53 +01:00
Andrew Ward 71b2570f09
Load dependencies and description from mod.conf 2018-03-28 22:14:16 +01:00
paramat 92ca9dda54 Rename 'subgame' to 'game' 2018-03-13 03:54:52 +00:00
Muhammad Rifqi Priyo Susanto 0f015b28a3 Delete world dialog: Move buttons to avoid double click deletion
Move confirmation delete button to never overlap initial delete button,
to avoid world deletion by accidental double click.
2018-02-20 15:21:59 +00:00
Tre 5ef9056e89 Add a refresh button to the serverlist (#6957)
* add refresh button

* Make search and refresh buttons smaller

* Change to image button
2018-02-19 08:25:57 +01:00
PorygonZRocks 0e4c467a82 Add main_menu_style setting 2018-02-08 15:38:24 +01:00
Tre 3a5959ae6b Main menu: Change tabs to 'Start Game' and 'Join Game' (#6955) 2018-01-25 20:59:24 +01:00
Muhammad Rifqi Priyo Susanto 4e652ea9dd Advanced settings: Add range check for float type 2017-12-26 21:55:58 +00:00
nOOb3167 8037eda42c Fix error if setting menu_last_game is not a valid game 2017-12-22 10:39:51 +00:00
Ezhh 649eef9e4f Give subgames the ability to disallow specific mapgens (#6792) 2017-12-16 17:02:08 +01:00
Tre fd71a7c163 Change Normal Map setting to be less ambigous 2017-12-16 04:05:36 +00:00
ezhh c655984849 Mainmenu: Improve button alignment 2017-11-19 00:24:40 +00:00
ezhh 8ea86338ab Mainmenu: Make capitalisation consistent in mainmenu and advanced settings 2017-11-14 00:39:04 +00:00
ezhh 5b7687c08c Improve Settings tab button alignments 2017-11-13 03:40:20 +00:00
Ezhh a07d2594e3 Fix Settings tab formspec alignment (#6585) 2017-11-05 11:15:32 +01:00
Muhammad Rifqi Priyo Susanto a1e1a19ac3 Improvements/fixes for noise parameter input in advanced settings
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-10-23 01:28:13 +01:00
adrido e6e5fa3bf8
Formspec: textarea with scrollbar improvements
Increase scrollrate depending on fontsize

Scroll on mousewheel

Allow scrolling and marking text on non writable textareas

Update lua api about readonly mode

Show scrollbar if text overflows
2017-10-09 08:11:03 +02:00
sfan5 6fa2f6b4aa Fix core.wrap_text and make its behaviour consistent with the docs
Code based on initial implementation by @dsohler.
2017-09-12 19:33:00 +02:00
lisacvuk d1a39f0140 Make world creation menu automatically generate a random world name (#6257)
* Make world creation menu automatically generate a name.

* Name is now initialy empty, and generated if player tries to create a world without a name.
2017-08-18 19:39:44 +02:00
paramat 940bd93e88 Advanced settings: Re-organise mapgen settings for ease of use
Add a comment about the auto-generated minetest.conf.example possibly
appearing in the bin folder.
2017-08-14 12:53:12 +01:00
Wuzzy fa7fe40509 Add short description for disabled texture packs 2017-08-13 21:35:53 +01:00
Zeno- b9ab51dd81 Update credits (#6228) 2017-08-09 00:11:41 +10:00
Elijah Duffy dc3ca09e0e Remove remaining modstore code (#6120) 2017-07-14 20:37:58 +02:00
paramat 0b3a8deb2c Advanced settings: Reformat noise parameter format example
Previously the example ran off the edge of the formspec.
Also include 'lacunarity' in the format instead of treating it as an option.
2017-07-11 01:15:01 +01:00
red-001 f3ad75691a Create a filesystem abstraction layer for CSM and only allow accessing files 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-30 20:14:39 +02:00
Vincent Glize 367d218f2b Change the server description after a search (#6074) 2017-06-29 07:53:44 +02:00
red-001 26e2eb019a Improve the path select GUI (#5852)
- 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-06-11 09:43:31 +02:00
Elijah Duffy a9f02ab51c Menu: Do not use textlist for shaders in settings tab (#5820)
Replace the textlist used if the shaders checkbox is unchecked in the settings tab of the main menu with labels. This makes the formspec feel more consistent as the items do not move when shaders is unchecked but only change colour and the checkboxes beside them disappear.
2017-06-10 20:14:26 +02:00
DS 00dfced195 make ret variable in /builtin/mainmenu/tab_credits.lua local (#5942) 2017-06-07 19:11:28 +02:00