Commit Graph

16 Commits

Author SHA1 Message Date
HybridDog 6be225b9fd
World config: Make depends easier to read (#7396)
* Do not always show every depends textfieds

When there are no dependencies, it does not longer show an empty list.

* Adjust the list height to avoid a scrollbar when possible

* change minimum height and no dependencies message

* Do not get depends for modpacks
2022-05-21 16:16:55 +02:00
Paul Ouellette 86a724a406
Fix some misspellings (#8104) 2022-05-21 16:16:41 +02:00
SmallJoker 338465899e
world.mt: Only accept true/false/nil values (#8055)
This patch will make distinguishable mods in modpacks possible in the future
`nil` checks are required to provide backwards-compatibility for fresh configured worlds
2022-05-21 16:16:41 +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
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
HybridDog 0a09472aee
Tidy up dlg_config_world.lua (#5351)
Move code to pkgmgr
2022-05-21 16:16:00 +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
SmallJoker 3d73357885
Mainmenu: Fix issues while trying to enable all mods (#5770) 2022-05-21 16:14:48 +02:00
ShadowNinja 5030ce5f4b
Use a settings object for the main settings
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.
2022-05-21 16:14:45 +02:00
rubenwardy a41241456a
Use tree to list mods rather than textlist 2022-05-21 16:14:20 +02:00
Wuzzy 67fbbcec71
Separate optional from required mod dependencies in main menu (#4721)
* Separate optional from require dep's in main menu

* Simplify modmgr mod dependency listing code
2022-05-21 16:13:59 +02:00
red-001 db4234d742
Add a button for disabling all mods to world config. (#3900) 2022-05-21 16:13:54 +02:00
SmallJoker 0939c871cf
Mainmenu: Standardize the menu button order and sizes 2022-05-21 16:13:35 +02:00
Nathanaël Courant b7db67f168
Add modname convention checking
Fixes #2037
2022-05-21 16:12:26 +02:00
fz72 5d11429074
MainMenu: Save 'hide gamemods' and 'hide modpack contents' checkbox state (fixes #1960) 2022-05-21 16:12:10 +02:00
sapier c2df20263f
Add formspec toolkit and refactor mainmenu to use it Fix crash on using cursor keys in client menu without selected server Add support for non fixed size tabviews 2022-05-21 16:11:42 +02:00