Commit Graph

274 Commits

Author SHA1 Message Date
rubenwardy 6837571319
Add buttons to ContentDB in game bar and configure world (#9944) 2022-05-21 16:17:51 +02:00
rubenwardy a57ab6d2dc
Update ContentDB dialog (#9949) 2022-05-21 16:17:50 +02:00
rubenwardy 051b66728b
Make ContentDB downloads not block the UI (#9948) 2022-05-21 16:17:49 +02:00
Wuzzy e19d0a346e
Rename “Minimal development test” to “Development Test” (#9928) 2022-05-21 16:17:48 +02:00
rubenwardy 2ec7efd0ec
Add engine version string to ContentDB API request (#9890) 2022-05-21 16:17:48 +02:00
sfan5 53647bc8e0
builtin: Move common/async_event.lua to mainmenu/async_event.lua
It only works in the context of the mainmenu.
2022-05-21 16:17:45 +02:00
rubenwardy 3ea6971764
Add core.open_url() to main menu API (#8592) 2022-05-21 16:17:45 +02:00
Wuzzy 659fff44df
Add mapgen settings to world creation dialog (#9254) 2022-05-21 16:17:42 +02:00
rubenwardy 3f7595d6ec
Fix delayed error message in start game tab 2022-05-21 16:17:36 +02:00
Wren Turkal 3c04a4c31d
Add allowed_mapgens option in game.conf. (#9263)
The game.conf has a disallowed_mapgens option. However, some games
require a certain mapgen to be used, like the CTF plugin. This change
adds an option to specify allowed mapgens so that the setting can be
specified in a way that needn't be updated as map generators are added
to Minetest.
2022-05-21 16:17:35 +02:00
rubenwardy 998fdbdaf3
Update credits for 5.2.0 (#9593) 2022-05-21 16:17:34 +02:00
Wuzzy 6a94a59520
Add comments for translators (#9510)
* Add translator comments for "special" strings

* Add translator comments for some "tricky" strings
2022-05-21 16:17:33 +02:00
Wuzzy 3dc79a8569
Cleanup global namespace pollution in builtin (#9451) 2022-05-21 16:17:32 +02:00
rubenwardy db5fed2cd6
Fix luacheck errors 2022-05-21 16:17:24 +02:00
srfqi 4ba095f2fb
All settings: Fix missing flags checkbox caused by 'possible flags' order (#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.
2022-05-21 16:17:16 +02:00
HybridDog a2a8ebd68f
Automatically enable depends of mods when enabling the mods in the world config menu (#3473) 2022-05-21 16:17:16 +02:00
srfqi 39f576f43a
'All Settings': Don't use checkboxes for 'no...' mapgen flags (#7847) 2022-05-21 16:17:12 +02:00
Desour 04ee4e442d
Fix undeclared global warning because of _ (#8798) 2022-05-21 16:17:10 +02:00
rubenwardy d5c162fb03
Add luacheck to check builtin (#7895) 2022-05-21 16:17:08 +02:00
rubenwardy 7c95bad286
Add styles to most elements 2022-05-21 16:17:08 +02:00
rubenwardy bdbc9d2e93
Add style[] tag with button support 2022-05-21 16:17:07 +02:00
Paul Ouellette c44eb57c25
Use CDB author and name in installed package's config (#8550)
They are used for tracking the package, so should match ContentDB.
2022-05-21 16:17:01 +02:00
Desour f23995cb92
Remove modstore leftovers. Fix core.show_path_select_dialog documentation (#8572)
This was forgotten in #5852.
2022-05-21 16:17:01 +02:00
paramat a623a888a7
Require 'waving = 3' in a nodedef to apply the liquid waving shader (#8418)
Makes the liquid waving shader per-nodedef like waving leaves/plants,
instead of being applied to all liquids.
Like the waving leaves/plants shaders, the liquid waving shader can
also be applied to meshes and nodeboxes.

Derived from a PR by t0ny2.
2022-05-21 16:16:58 +02:00
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
rubenwardy f205d99aa7
Hide uninstall package button on unmodifiable paths (#8255) 2022-05-21 16:16:53 +02:00
paramat 17fcbff308
Update minetest.conf.example and settings_translation_file.cpp (#8278) 2022-05-21 16:16:53 +02:00
rubenwardy bd3ee5bc40
Content store: Ignore '_game' in game names in ID generation (#8270)
Fixes 'install' button continuing to be displayed after installing a game whose
name ends with '_game'.
2022-05-21 16:16:52 +02:00
Paul Ouellette 388cba692a
Update gamebar on tab enter (#8192) 2022-05-21 16:16:51 +02:00
rubenwardy f737772867
Fix games not updating on deletion
As reported by @random-geek
2022-05-21 16:16:51 +02:00
Paul Ouellette 8a47eee442
Fix content store crash (#8244) 2022-05-21 16:16:50 +02:00
rubenwardy 73a5a06fae
Update credits (#8162) 2022-05-21 16:16:49 +02:00
SmallJoker 6b883e3ddf
Builtin: Fix grayed-out but enabled modpacks 2022-05-21 16:16:48 +02:00
Wuzzy 8cce78a18b
Remove fgettext("") in builtin
This call is useless and wrong, the empty string has a special meaning in Gettext.
2022-05-21 16:16:48 +02:00
rubenwardy 05191fb0aa
Content store: Fix assertion failed on unsuccessful package list fetch
Fixes #8168
2022-05-21 16:16:47 +02:00
rubenwardy 25d2c1cbb6
Add setting to hide mature content from ContentDB 2022-05-21 16:16:46 +02:00
rubenwardy a69666caa9
Fix rename modpack dialog not appearing to take affect 2022-05-21 16:16:46 +02:00
numzero f153266f8c
Fix modpack rename dialog selecting the wrong mod 2022-05-21 16:16:45 +02:00
rubenwardy 52de9fcd47
Content store: Fix overlapping labels 2022-05-21 16:16:45 +02:00
rubenwardy fb70e83b24
Content store: Fix storage leak by storing screenshots in cache (#8137) 2022-05-21 16:16:44 +02:00
rubenwardy f1675a10d3
Content store: Use composite key to track installations (#8054)
Fixes #7967 'Package manager doesn't track content reliably'.
2022-05-21 16:16:44 +02:00
paramat abbcd8741a
Rename 'Advanced Settings' button to 'All Settings' (#8131) 2022-05-21 16:16:43 +02:00
Wuzzy 889e9039a4
Make advanced settings noiseparams strings translatable (#8062)
Various minor language improvements in settingtypes.txt.
2022-05-21 16:16:42 +02:00
srfqi d808652180
Advanced settings noiseparams: No tailing comma for empty flags
Previously, when editing noiseparams and disabling all the noise
flags, the noiseparam is displyed in advanced settings with a
tailing comma.
2022-05-21 16:16:42 +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
rubenwardy 9275e49a34
pkgmgr: Fix games list not being updated after game install
Fixes #8074
2022-05-21 16:16:40 +02:00
rubenwardy e683cead1c
Content store: Disable more details dialog for now (#8060)
* Content store: Disable more details dialog for now
2022-05-21 16:16:39 +02:00
rubenwardy 18400b1851
Content store: Fix update button not working 2022-05-21 16:16:39 +02:00
rubenwardy c36f81565b
Deprecate modpack.txt and use modpack.conf instead (#7892)
* Deprecate modpack.txt and use modpack.conf instead
2022-05-21 16:16:38 +02:00