Commit Graph

354 Commits

Author SHA1 Message Date
rubenwardy
b390bd2ea5 pkgmgr: Fix crash when .conf release field is invalid
Fixes #10942
2021-02-28 17:11:41 +00:00
Yaman Qalieh
d51d0d77c4
Allow toggling of texture pack by double clicking 2021-02-24 11:50:19 +01:00
sfan5
35b476c65d Update credits tab and mailmap 2021-02-23 19:40:44 +01:00
rubenwardy
4db7fb4a3b Replace 'minetest.' with 'core.' in builtin 2021-02-11 10:18:22 +00:00
rubenwardy
b28749057a Fix crash in tab_online when cURL is disabled 2021-02-09 12:41:11 +00:00
rubenwardy
3a8c37181a
Use consistent temp folder path (#10892) 2021-02-07 15:27:24 +00:00
rubenwardy
82deed2d7d
ContentDB: Order installed content first (#10864) 2021-01-28 11:24:36 +00:00
rubenwardy
67aa75d444
Use JSON for favorites, move server list code to Lua (#10085)
Co-authored-by: sfan5 <sfan5@live.de>
2021-01-22 15:08:57 +00:00
Zughy
8ff209c412
Load system-wide texture packs too (#10791)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2021-01-21 19:01:37 +00:00
Zughy
eb8af614a5
Local tab: rename 'Configure' to 'Select Mods' (#10779)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-01-20 22:32:18 +00:00
rubenwardy
5e6df0e7be ContentDB: Ignore content not installed from ContentDB 2021-01-16 17:51:49 +00:00
Zughy
fcb3ed840a
Sanitize server IP field in mainmenu (#10793) 2021-01-10 20:10:12 +01:00
rubenwardy
edd0836011
ContentDB: Add overwrite dialog when content is already installed (#10768) 2021-01-04 15:18:31 +00:00
Zughy
92aac69b36
"Browse online content" formspec improvement (#10756) 2021-01-02 15:13:02 +01:00
Zughy
55dba1bc6d
Display Minetest header when menu_last_game value isn't available anymore (#10751) 2020-12-28 13:56:58 +01:00
rubenwardy
d2bbf13dfe
Add dependency resolution to ContentDB (#9997) 2020-12-23 14:42:18 +00:00
Andrey
5066fe7583
MainMenu: Add clear button and icon for search input (#10363) 2020-12-19 22:00:20 +01:00
rubenwardy
664f5ce960
Add open user data button to main menu (#10579) 2020-12-19 13:27:15 +00:00
Vitaliy
707c8c1e95
Shaders for Android (GLES 2) (#10506)
Shader support for OpenGL ES 2 devices (Android)

Co-authored-by: sfan5 <sfan5@live.de>
2020-10-25 18:01:03 +01:00
Lars
ed22260822 Remove all bump mapping and parallax occlusion related code. 2020-10-17 13:09:16 -07:00
Paramat
d671102546
Give unnamed world names incrementing numbers. Format 'world<number>' (#10247)
Code created with help from GitHub users sirrobzeroone and pauloue, thank you.
2020-10-13 00:52:53 +01:00
Paramat
a69bc67ce2
Improve layout of main menu 'local' tab (#10366) 2020-09-29 23:37:03 +01:00
hecks
fcff9f2911
Remove "generate normal maps" feature (#10313)
Erase all traces of normal "generation" from fragment shaders
Remove the "feature" from the engine and default config
Remove any leftover documentation of it
2020-09-14 19:27:25 +02:00
Maksim
788f297595
Android: drop simple MainMenu (#10227)
The default (PC-style) MainMenu works great on Android. Provides access to ContentDB and allows players to create many worlds in a few clicks.
Makes the interface consistent and eliminates player confusion.
2020-08-27 21:46:57 +02:00
rubenwardy
7242de1d4b
ContentDB: Add Update All and download queuing (#9995) 2020-08-17 19:09:33 +01:00
Paramat
f92a393f6f
Mapgen Flat: Add caverns, disabled by default (#9913)
Add the caverns used in V5, V7, Valleys, Carpathian.
Disabled by default to not be force-enabled in existing worlds.
2020-08-05 05:00:00 +01:00
rubenwardy
f948e2c585 Fix incorrect view URL for games
package.id is a sanitised combination of author and basename, used to
compare remote and local content. Minetest ignores `_game` when comparing
game names, so package.id has `_game` removed. This meant that the wrong
URL was being generated for View.
2020-07-28 17:02:32 +01:00
sfan5
21de17e3b6 Fix ContentDB menu icons not appearing on Windows 2020-07-08 23:37:14 +02:00
rubenwardy
36099ba947 Fix incorrect extension used for ContentDB thumbnails 2020-06-06 18:31:39 +01:00
rubenwardy
60bab8b2d7
Add HTTP API to main menu (#9998) 2020-06-06 17:17:08 +01:00
rubenwardy
850af80089
Add buttons to ContentDB in game bar and configure world (#9944) 2020-06-04 21:53:26 +01:00
rubenwardy
9a64a9fd94
Update ContentDB dialog (#9949) 2020-05-29 00:52:48 +01:00
rubenwardy
f90ca96c73
Make ContentDB downloads not block the UI (#9948) 2020-05-27 17:02:09 +01:00
Wuzzy
083b285f43
Rename “Minimal development test” to “Development Test” (#9928) 2020-05-26 00:17:52 +02:00
rubenwardy
b3c79906d4
Add engine version string to ContentDB API request (#9890) 2020-05-24 14:46:50 +01:00
sfan5
11723cffe0 builtin: Move common/async_event.lua to mainmenu/async_event.lua
It only works in the context of the mainmenu.
2020-05-17 21:37:01 +02:00
rubenwardy
a9c3a42323
Add core.open_url() to main menu API (#8592) 2020-05-17 19:09:10 +01:00
Wuzzy
7ec76e530d
Add mapgen settings to world creation dialog (#9254) 2020-05-12 02:52:52 +01:00
rubenwardy
3833396cfa Fix delayed error message in start game tab 2020-04-12 00:12:18 +01:00
Wren Turkal
f91124a0c0
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.
2020-04-06 16:06:16 +02:00
rubenwardy
09b8f5d1be
Update credits for 5.2.0 (#9593) 2020-04-05 18:30:44 +02:00
Wuzzy
625b100593
Add comments for translators (#9510)
* Add translator comments for "special" strings

* Add translator comments for some "tricky" strings
2020-03-20 09:41:07 +01:00
Wuzzy
ce8cdc0333
Cleanup global namespace pollution in builtin (#9451) 2020-03-06 20:19:14 +00:00
rubenwardy
d3255f92d7 Fix luacheck errors 2019-12-07 23:50:12 +01:00
Muhammad Rifqi Priyo Susanto
b79741c90f 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.
2019-09-27 19:13:08 +01:00
HybridDog
9e95bac75d Automatically enable depends of mods when enabling the mods in the world config menu (#3473) 2019-09-26 21:03:54 +02:00
Muhammad Rifqi Priyo Susanto
cd1d01b8b4 'All Settings': Don't use checkboxes for 'no...' mapgen flags (#7847) 2019-09-01 22:43:41 +01:00
DS
082066e813 Fix undeclared global warning because of _ (#8798) 2019-08-14 23:35:47 +02:00
rubenwardy
8e757859d6
Add luacheck to check builtin (#7895) 2019-08-06 19:30:18 +01:00
rubenwardy
9541165752 Add styles to most elements 2019-08-03 19:36:30 +01:00
rubenwardy
ec3795a55c Add style[] tag with button support 2019-08-03 19:36:30 +01:00
Paul Ouellette
4c11574e9d Use CDB author and name in installed package's config (#8550)
They are used for tracking the package, so should match ContentDB.
2019-06-10 19:49:00 +02:00
DS
2ba6785f09 Remove modstore leftovers. Fix core.show_path_select_dialog documentation (#8572)
This was forgotten in #5852.
2019-06-07 22:12:20 +02:00
Paramat
42e1a12714
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.
2019-03-27 00:18:43 +00:00
HybridDog
3066d76e33 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
2019-03-07 08:23:03 +01:00
rubenwardy
5d2624ab82 Hide uninstall package button on unmodifiable paths (#8255) 2019-03-05 08:12:58 +01:00
Paramat
ae1caba6aa
Update minetest.conf.example and settings_translation_file.cpp (#8278) 2019-02-23 20:24:59 +00:00
rubenwardy
85389ad994 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'.
2019-02-22 03:19:52 +00:00
Paul Ouellette
0ad96cc73f Update gamebar on tab enter (#8192) 2019-02-18 21:04:43 +00:00
rubenwardy
57517628f0 Fix games not updating on deletion
As reported by @random-geek
2019-02-18 16:39:28 +00:00
Paul Ouellette
cc9bed9321 Fix content store crash (#8244) 2019-02-18 12:46:55 +01:00
rubenwardy
568540f8e9 Update credits (#8162) 2019-02-16 00:41:30 +00:00
SmallJoker
a809f7361e Builtin: Fix grayed-out but enabled modpacks 2019-02-09 21:54:39 +01:00
Wuzzy
705b454026 Remove fgettext("") in builtin
This call is useless and wrong, the empty string has a special meaning in Gettext.
2019-02-09 20:12:56 +01:00
rubenwardy
5b965e08bd Content store: Fix assertion failed on unsuccessful package list fetch
Fixes #8168
2019-02-03 19:54:50 +00:00
rubenwardy
626b0b7e6a
Add setting to hide mature content from ContentDB 2019-02-03 17:54:56 +00:00
rubenwardy
809cb9fc0b Fix rename modpack dialog not appearing to take affect 2019-02-03 13:43:00 +00:00
number Zero
7c239767ff Fix modpack rename dialog selecting the wrong mod 2019-02-03 12:40:39 +00:00
rubenwardy
3c7e92049d Content store: Fix overlapping labels 2019-02-03 01:14:15 +00:00
rubenwardy
572ba83b30 Content store: Fix storage leak by storing screenshots in cache (#8137) 2019-01-31 16:35:55 +00:00
rubenwardy
944e9f5acb Content store: Use composite key to track installations (#8054)
Fixes #7967 'Package manager doesn't track content reliably'.
2019-01-30 16:43:28 +00:00
Paramat
15110864c8 Rename 'Advanced Settings' button to 'All Settings' (#8131) 2019-01-26 14:14:06 +01:00
Wuzzy
df6670b28a Make advanced settings noiseparams strings translatable (#8062)
Various minor language improvements in settingtypes.txt.
2019-01-20 18:49:17 +00:00
srifqi
9512c2986e 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.
2019-01-19 18:37:19 +00:00
Paul Ouellette
3fce27ece5 Fix some misspellings (#8104) 2019-01-16 13:39:13 +01:00
SmallJoker
ed1415f78d
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
2019-01-13 16:22:32 +01:00
rubenwardy
4b04268304 pkgmgr: Fix games list not being updated after game install
Fixes #8074
2019-01-09 13:14:33 +00:00
rubenwardy
6169ecaa4a Content store: Disable more details dialog for now (#8060)
* Content store: Disable more details dialog for now
2019-01-06 16:54:22 +01:00
rubenwardy
f5de187b6c Content store: Fix update button not working 2019-01-06 13:18:40 +00:00
rubenwardy
70bf3439ab Deprecate modpack.txt and use modpack.conf instead (#7892)
* Deprecate modpack.txt and use modpack.conf instead
2019-01-06 10:23:35 +01:00
rubenwardy
7d7ccf5c0f Fix installed modpacks not being found correctly 2018-12-30 12:26:44 +00:00
rubenwardy
f12d374956 Content store: Fix bugs relating to packages list size 2018-12-26 12:47:32 +00:00
Paramat
9080d7c990
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.
2018-12-23 23:49:08 +00:00
SmallJoker
7efb407872 Fix ignored mod.conf mod name for world.mt (broken by e8eaab6)
Patch supplied by @pgimeno. Thank you.
2018-12-15 09:01:00 +01:00
rubenwardy
f318366c20 Fix ContentDB packages timing out by using download_file instead (#7891) 2018-12-11 04:43:14 +00:00
random-geek
98fa8a154d Content store: Fix missing screenshot in package view dialog 2018-12-10 20:25:56 +00:00
Paramat
f0dca284b3
Main menu style: Set to 'full' for Android, remove 'auto' option (#7936) 2018-12-06 23:52:11 +00:00
rubenwardy
0c6933bdf7 Disable game bar and header on Android (#7940) 2018-12-06 23:32:15 +00:00
Paul Ouellette
e8eaab64a0 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.
2018-12-02 23:41:05 +00:00
ClobberXD
8ba64e43fe Content store: Hide navigation buttons when there's no packages 2018-11-26 18:47:33 +00:00
stujones11
3b11288989 Android: Improve UI scaling on smaller high-density displays (#7834)
* Android: Improve UI scaling on smaller high-density displays
2018-11-18 11:31:19 +01:00
ClobberXD
657a3d1e05 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_'.
2018-11-13 02:26:59 +00:00
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