Commit Graph

222 Commits

Author SHA1 Message Date
paramat b2eb5fca5b
Remove 'Reset singleplayer world' button from full menu on Android (#8017)
Make button appearence dependent on menustyle not platform.
Button only functions with simple menu.
2022-05-21 16:16:35 +02:00
SmallJoker 24fb09eb40
Fix ignored mod.conf mod name for world.mt (broken by e8eaab6)
Patch supplied by @pgimeno. Thank you.
2022-05-21 16:16:35 +02:00
rubenwardy caa02f7b10
Fix ContentDB packages timing out by using download_file instead (#7891) 2022-05-21 16:16:34 +02:00
random-geek bf317a486d
Content store: Fix missing screenshot in package view dialog 2022-05-21 16:16:34 +02:00
paramat d36ff1f24d
Main menu style: Set to 'full' for Android, remove 'auto' option (#7936) 2022-05-21 16:16:33 +02:00
rubenwardy 44fb7e708e
Disable game bar and header on Android (#7940) 2022-05-21 16:16:32 +02:00
Paul Ouellette 43ddecfffd
Improve world configure menu (#7922)
Replace `Subgame mods` with <game name> mods.
Display game description on left instead of dependencies.
Fix double DIR_DELIM in some paths.
2022-05-21 16:16:31 +02:00
ANAND d86b78a903
Content store: Hide navigation buttons when there's no packages 2022-05-21 16:16:29 +02:00
stujones11 b42a49f264
Android: Improve UI scaling on smaller high-density displays (#7834)
* Android: Improve UI scaling on smaller high-density displays
2022-05-21 16:16:27 +02:00
ANAND 400811345e
dlg_contentstore.lua: Various fixes and improvements (#7612)
Add missing 'core.formspec_escape' to 'get_screenshot'.
Add warning label when no packages fetched.
Internal name of the "Update" button was the same as "Install". Rename to 'update_'.
2022-05-21 16:16:26 +02:00
ChimneySwift 0b17717cdb
Escape special characters when searching the server list (#7842)
Simple fix to stop searching for "[" or other special characters causing a crash.
2022-05-21 16:16:25 +02:00
srfqi 27a428dc8a
Conf.example generation: Remove quotation marks from noise flags (#7844) 2022-05-21 16:16:25 +02:00
random-geek 732605b7c6
Improve content store layout (#7806) 2022-05-21 16:16:24 +02:00
paramat b72c46443f
Advanced settings: Fix noise parameter flags (#7819)
Populate the 'checkboxes' table with bools when creating the editing formspec.
2022-05-21 16:16:23 +02:00
SmallJoker 622db08246
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
2022-05-21 16:16:22 +02:00
paramat 8c0937caee
Advanced settings tree menu: Resize, fix clipped values (#7790) 2022-05-21 16:16:22 +02:00
paramat 62f9d15714
Advanced settings menu: Centre setting edit box (#7778) 2022-05-21 16:16:21 +02:00
paramat 1dba8b8933
Various grammar improvements (#7769)
In builtin//pkgmgr.lua, README.md and settingtypes.txt.
Based on 2 pull requests by comradekingu.
2022-05-21 16:16:19 +02:00
SmallJoker 19e83f39db
Remove settings properly (#7676) 2022-05-21 16:16:19 +02:00
SmallJoker faeb4bbc5f
Menu content tab: Fix clipped description and missing depends (#7703) 2022-05-21 16:16:18 +02:00
paramat 2d06c7f22c
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).
2022-05-21 16:16:17 +02:00
HybridDog a269d45a3b
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
2022-05-21 16:16:16 +02:00
texmex a96e24cb15
Make the primary, flow-advancing action the right-most (#7594) 2022-05-21 16:16:14 +02:00
numzero e996c3af5f
Disable shaders GUI on unsupported drivers (#7563)
* Disable shaders GUI on unsupported drivers (#2060)

* Disable shaders if unavailable
2022-05-21 16:16:13 +02:00
rubenwardy 76fc93c91d
Update to new ContentDB API 2022-05-21 16:16:05 +02:00
nOOb3167 4f676807e2
Make os.tempfolder work correctly for MinGW & MSVC (#7443) 2022-05-21 16:16:04 +02:00
nOOb3167 738d5dfd3b
Fix builtin lua function os.tempfolder (#7368)
* Fix builtin lua function os.tempfolder
2022-05-21 16:16:01 +02:00
HybridDog 0a09472aee
Tidy up dlg_config_world.lua (#5351)
Move code to pkgmgr
2022-05-21 16:16:00 +02:00
rubenwardy 595d45bc57
Add screenshots to online content browser 2022-05-21 16:15:59 +02:00
rubenwardy de55f24677
Add updating to online content browser 2022-05-21 16:15:59 +02:00
rubenwardy 149a82de6b
Fix description wrapping in browse online content 2022-05-21 16:15:58 +02:00
rubenwardy b744f1d46f
Add online content repository
Replaces mods and texture pack tabs with a single content tab
2022-05-21 16:15:57 +02:00
rubenwardy fc13f12584
Load dependencies and description from mod.conf 2022-05-21 16:15:53 +02:00
paramat f883baa51e
Rename 'subgame' to 'game' 2022-05-21 16:15:52 +02:00
srfqi 77f9da1c8a
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.
2022-05-21 16:15:50 +02:00
Tre d08af64363
Add a refresh button to the serverlist (#6957)
* add refresh button

* Make search and refresh buttons smaller

* Change to image button
2022-05-21 16:15:49 +02:00
PorygonZRocks 854202903f
Add main_menu_style setting 2022-05-21 16:15:46 +02:00
Tre b471d21427
Main menu: Change tabs to 'Start Game' and 'Join Game' (#6955) 2022-05-21 16:15:43 +02:00
srfqi 1c624759bb
Advanced settings: Add range check for float type 2022-05-21 16:15:40 +02:00
nOOb3167 a7436a3bd4
Fix error if setting menu_last_game is not a valid game 2022-05-21 16:15:40 +02:00
Ezhh 5849b6fc97
Give subgames the ability to disallow specific mapgens (#6792) 2022-05-21 16:15:38 +02:00
Tre 4ed4d02f93
Change Normal Map setting to be less ambigous 2022-05-21 16:15:38 +02:00
Ezhh 5fdad16377
Mainmenu: Improve button alignment 2022-05-21 16:15:32 +02:00
Ezhh eaad3edd8d
Mainmenu: Make capitalisation consistent in mainmenu and advanced settings 2022-05-21 16:15:32 +02:00
Ezhh 93e0d1b036
Improve Settings tab button alignments 2022-05-21 16:15:31 +02:00
Ezhh 3838b9c096
Fix Settings tab formspec alignment (#6585) 2022-05-21 16:15:29 +02:00
srfqi cccbbc2187
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.
2022-05-21 16:15:28 +02:00
adrido a06be5551d
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
2022-05-21 16:15:26 +02:00
sfan5 10fbc96971
Fix core.wrap_text and make its behaviour consistent with the docs
Code based on initial implementation by @dsohler.
2022-05-21 16:15:19 +02:00
lisacvuk 2113286d2c
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.
2022-05-21 16:15:09 +02:00