est31
026f0a3e8c
Update credits tab
2022-05-21 16:13:37 +02:00
Rui
4cc9542edb
Mainmenu: Remove space under mod list
2022-05-21 16:13:37 +02:00
Jean-Patrick Guerrero
7c7b72f83d
Android menu: Unified serverlist
2022-05-21 16:13:36 +02:00
SmallJoker
0939c871cf
Mainmenu: Standardize the menu button order and sizes
2022-05-21 16:13:35 +02:00
Nathanaël Courant
d39cdbcf4f
Fix mainmenu code downloading the public serverlist twice.
...
Also, fix a nil error that can happen sometimes in
menu_handle_key_up_down
2022-05-21 16:13:34 +02:00
paramat
bf161fe707
Textures: Replace menu background fallback dirt_bg.png with empty sky texture
2022-05-21 16:13:34 +02:00
Jean-Patrick Guerrero
ee08952a2e
Mainmenu: Code cleaning
2022-05-21 16:13:33 +02:00
Jean-Patrick Guerrero
24d09852ee
Mainmenu: Unify favorite servers with main serverlist
2022-05-21 16:13:33 +02:00
est31
f762820a7e
Mainmenu: Still support favorites if send_pre_v25_init is disabled
...
@SmallJoker has noted a bug that servers from the (local) main menu
favorites list can't be opened.
This commit fixes the bug by disabling any main menu based protocol
checks for servers from the favorite list.
Also, it fixes a second bug that happens when a server from the
public serverlist doesn't send its supported protocol versions,
most likely because its running a minetest older than commit [1].
Then we have shown an error msg that the server has enforced
one specific protocol version. This was most likely not the case.
Of course, we can't do anything better than do an assumption on
the protocol versions if they are not known. That assumption
should however be closest to the most often occuring case as
possible.
Also, some little cleanups.
[1]: 5a0ed780f56a5225b3d7c5f64099586e390e5f39 "Server: announce MIN/MAX protocol version supported to serverlist. Client: check serverlist"
2022-05-21 16:13:32 +02:00
SmallJoker
f4ed603ee0
mainmenu: Tidy up logic in is_server_protocol_compat() ( #3997 )
...
Apply de morgan to simplify the logic.
2022-05-21 16:13:31 +02:00
Rui914
8850a2a73f
Mainmenu: Refactor tab UI code
...
- Use local variables for tabs in place of globals
- Merge together if statements where possible
- Replace manual table searching code with indexof where possible
2022-05-21 16:13:30 +02:00
Rui914
d86bc91f4b
Mainmenu: Move description.txt textbox down
...
Additionally, fix misc. code style issues
2022-05-21 16:13:30 +02:00
Rui
3f4c1bb7b8
Credits: Make that easy to add/remove
2022-05-21 16:13:28 +02:00
est31
eaab9d5586
Add option to not send pre v25 init packet
...
The legacy init packet (pre v25) sends information about the client's
password that a server could use to log in to other servers if the
username and password are the same. All the other benefits of SRP of
protocol v25 are missed if the legacy init packet is still sent during
connection creation.
This patch adds an option to not send the v25 init packet. Not sending
the v25 packet means breaking compat with pre v25 servers, but as the
option is not enabled by default, no servers are affected unless the
user explicitly flips the switch. More than 90% of the servers on the
serverlist support post v25 protocols.
The patch also fixes a bug with greying out of non compliant servers
being done wrongly, the min and max params were mixed.
2022-05-21 16:13:26 +02:00
Jean-Patrick Guerrero
7d23793e05
Settings Tab: Regroup dropdown datas in tables
2022-05-21 16:13:23 +02:00
Rui914
32752d2bc5
Faster insertion into table
2022-05-21 16:13:23 +02:00
Jean-Patrick Guerrero
9f6730de09
Update settings tab + some misc. clean-up
2022-05-21 16:13:22 +02:00
est31
250f67bf2f
Don't generate trailing spaces in minetest.conf.example
...
If the default value of a setting was empty,
it previously generated a trailing space.
2022-05-21 16:13:21 +02:00
BlockMen
ae7b3ec177
Restore simple settings tab and add advanced settings as dialog
2022-05-21 16:13:19 +02:00
Diego Martínez
d10a5cfedb
Fix world config menu ignoring `name` in `mod.conf`.
2022-05-21 16:13:13 +02:00
Rogier
e577c35a3c
Fix error message in settings tab overlapping 'save' button
...
The save button is now fully functional again when an error message
is shown.
After an invalid value is entered in the settings tab dialog, the GUI
label for the error message that is shown was partly overlapping the
'save' button, so that the top half of the button could not be clicked
on.
2022-05-21 16:13:12 +02:00
Rogier
6a3484c135
Fix the checking of flags values in the settings tab
...
Changes:
- Accept setting an empty flags-type value in the settings tab
if the variable specification permits it
- Don't accept substrings of flag values
E.g. with values: 'one,two,three', 'hree', 'w', etc. used to
be accepted. Not any more
- Don't accept flags with random pattern-matching special characters
E.g. with values: 'one,two,three', 'on.', '(o)[n]e*' etc. used
to be accepted. Not any more.
2022-05-21 16:13:11 +02:00
Rogier
4e30d1bb0a
Improve parsing of setting types from settingtypes.txt for settings tab
...
- Accept numbers prefixed with '+'
- Accept multiple spaces instead of just a single one where spaces are expected
- Allow flags to have an empty default value
2022-05-21 16:13:10 +02:00
Jean-Patrick Guerrero
eadd017507
Alphabetical sorting of texture packs in menu ( fixes #3487 )
2022-05-21 16:13:09 +02:00
est31
bf7ed56ddd
Settings tab: add v3f type
...
Add the v3f type, currently is just a nice placeholder for string.
Currently undocumented, on wish of @PilzAdam, to support future changes.
2022-05-21 16:13:03 +02:00
Rui914
9bca5b37c4
minetest. to core.
2022-05-21 16:13:00 +02:00
PilzAdam
7e69f86aa5
Fix parameter passing to gettext call
2022-05-21 16:12:59 +02:00
Rui
c0297ebcbe
Credits: Remove my name
2022-05-21 16:12:58 +02:00
PilzAdam
2f0e5a075d
Escape " in generated settings_translation_file.cpp
2022-05-21 16:12:58 +02:00
PilzAdam
4067cf06c3
Fix setting comments
2022-05-21 16:12:57 +02:00
PilzAdam
b7a3bf1e30
Don't allow games or mods to add secure. settings
2022-05-21 16:12:57 +02:00
est31
bd43e63b83
Better gettext support for protocol version mismatch messages
...
Previously, xgettext failed to resolve the dynamic call.
Thanks to @JakubVanek for pointing this out.
2022-05-21 16:12:56 +02:00
PilzAdam
c391792fca
Improve Lua settings menu
...
* Add key settings to setting table and ignore them later
This way they are added to the auto-generated minetest.conf.example
* Add flags type
* Add input validation for int, float and flags
* Break in-game graphic settings into multiple sections
* Parse settingtpes.txt in mods and games
* Improve description for a lot of settings
* Fix typos and wording in settingtypes.txt
* Convert language setting to an enum
2022-05-21 16:12:56 +02:00
est31
b29666b49a
Display sane output for empty descriptions
...
According to its man page, the function gettext(3)
"may return a nonempty string" when msgid is "".
This commit fixes a bug where the comment ""
for some settings caused gettext to return a
"nonempty string", in this case header info of the
po file.
2022-05-21 16:12:55 +02:00
PilzAdam
86c317e796
New settings tab contain all possible settings
...
Settings are automatically parsed from builtin/settingtypes.txt
The edit dialog automatically adjust based on the type of setting
2022-05-21 16:12:55 +02:00
Jean-Patrick Guerrero
e55a5a1c24
Add viewing range GUI setting
2022-05-21 16:12:53 +02:00
Rui914
39001fe1f5
Minor tweaks handle_settings_buttons
2022-05-21 16:12:51 +02:00
Rui914
ffffe22f15
Change my email
2022-05-21 16:12:50 +02:00
est31
4a83767d37
Credits tab: fix accidental merger of two contributors
...
Fixes #3125
2022-05-21 16:12:49 +02:00
Rui914
5ef81a0e15
Use gettext to "None" of texture pack list
2022-05-21 16:12:49 +02:00
kwolekr
8cda9256e1
Remove some emails from credits tab
2022-05-21 16:12:48 +02:00
kwolekr
f6393ae381
Update credits tab
2022-05-21 16:12:48 +02:00
est31
1da33c4586
Client: disable mmdb modstore
...
The service isn't online, and on the long term, mmdb will likekly be
replaced with other services from the modding community.
2022-05-21 16:12:47 +02:00
est31
e21528442c
Don't do formspec escaping twice for loading description
2022-05-21 16:12:47 +02:00
Jean-Patrick Guerrero
777a203e5f
Fix FSAA dropdown option reset after changing another dropdown option
2022-05-21 16:12:46 +02:00
Jean-Patrick Guerrero
10557bce20
Remove drivers dropdown in the settings tab
2022-05-21 16:12:45 +02:00
Nathanaël Courant
a0a5a74b4e
Update my name
2022-05-21 16:12:45 +02:00
sfan5
7a1854f798
Fix crash in mainmenu when loaded subgame does not have a "menu" directory
2022-05-21 16:12:44 +02:00
sfan5
22c20ffd4d
Allow random menu images for subgames
2022-05-21 16:12:43 +02:00
Mark Schreiber
4e8e0fdff1
Add antialiasing UI setting
...
The Irrlicht engine supports antialiasing, and Minetest already supports
saving an antialiasing setting in its configuration file. However,
Minetest lacked UI elements to set this setting, and previously the only
way to enable the feature was by hand-editing the configuration file.
Add a drop-down menu that can enable antialiasing.
2022-05-21 16:12:43 +02:00
ExcaliburZero
b7d559dafe
Change texture pack description file name
...
Change the name for texture pack description files from "info.txt" to "description.txt" in order to keep the naming consistent between description files for both mods and texture packs.
Also add backwards compatibility for texture packs that use "info.txt", and note in the log that "info.txt" is depreciated.
2022-05-21 16:12:42 +02:00
Jean-Patrick Guerrero
f00186f204
Fix remnant bugs on mainmenu
...
- Stop attempting to start a world when no world's created/selected in server tab
- Better world's indexes handling between subgames lists
2022-05-21 16:12:41 +02:00
RealBadAngel
23e4c70d72
Add new leaves style - simple (glasslike drawtype)
2022-05-21 16:12:41 +02:00
Jean-Patrick Guerrero
5707f97a05
Fix attempt to start a world when no world is selected/created
2022-05-21 16:12:40 +02:00
Sokomine
afdd384f40
Set server_announce to world.mt and respect modes when changing subgame
2022-05-21 16:12:40 +02:00
Sokomine
7345adbbb5
Fix world.mt not written when selecting mode
2022-05-21 16:12:39 +02:00
est31
06cedfb052
Fix single click world select
2022-05-21 16:12:39 +02:00
Jean-Patrick Guerrero
2c8a161000
Fix bugs in mainmenu
2022-05-21 16:12:38 +02:00
est31
d375d875a1
Update credits tab
2022-05-21 16:12:37 +02:00
Wuzzy
4917a66e19
Don't highlight entries in credits
2022-05-21 16:12:37 +02:00
HybridDog
c1853e2893
More reliable serverlist behaviour
...
-> remember the previously loaded serverlist, and use if new one failed
-> show a "loading" serverlist
2022-05-21 16:12:35 +02:00
ShadowNinja
6afcc26bac
Add core.get_dir_list
2022-05-21 16:12:33 +02:00
srfqi
75f9ff161a
Remove fly mode in simple main menu
...
As the fly mode option is avaiable in-game, this is not used anymore.
2022-05-21 16:12:30 +02:00
Zeno-
efeec55ab8
Let main menu scale (non-Android)
...
This fixes main menu not fitting for 800x600 (and lower resolutions) on PC builds
2022-05-21 16:12:29 +02:00
Zeno-
ca83a3ab72
Update credits
2022-05-21 16:12:29 +02:00
Loïc Blot
afa56e9c91
Remove duplicate code since 8ca08a850ff2494652aa0ac2daa3d00f03aa4e7a
2022-05-21 16:12:28 +02:00
fz72
3f6d3e066a
Save creative_mode and enable_damage setting for each world in world.mt
...
Create Parameters on world initialisation and set settings of old worlds
2022-05-21 16:12:28 +02:00
est31
bc5ae25d1a
Android: Fix auto-entry of server address and port in mainmenu
...
Fixes #2497 .
2022-05-21 16:12:27 +02:00
Nathanaël Courant
b7db67f168
Add modname convention checking
...
Fixes #2037
2022-05-21 16:12:26 +02:00
est31
5a662882bf
Server: announce MIN/MAX protocol version supported to serverlist. Client: check serverlist
...
Client now informs about incompatible servers from the list, this permits to prevent the protocol movements.
Server announces its supported protocol versions to master server
2022-05-21 16:12:25 +02:00
Perttu Ahola
352b5c8a72
Use fixed size for builtin menus on non-android platforms
2022-05-21 16:12:25 +02:00
fz72
de358b6b55
Fix map_seed not changed when creating a new world after login to another
2022-05-21 16:12:24 +02:00
Loïc Blot
223b4c09ca
Fix issue #2278 , Connection sent before address data loading
2022-05-21 16:12:23 +02:00
ngosang
4bd260afbd
Minor fixes in translations
2022-05-21 16:12:22 +02:00
Rui
04904a1ab8
Fix store.lua bug: default screenshot
2022-05-21 16:12:22 +02:00
Rui
914d344a97
Fix tab_mods.lua: default screenshot patch
...
https://forum.minetest.net/viewtopic.php?f=6&t=11201
Fixed this bug.
2022-05-21 16:12:22 +02:00
ngosang
10ab4608f8
Fix 'Download complete' dialog in the mods store
2022-05-21 16:12:21 +02:00
Zeno-
4ff1574c23
Allow filter and mipmap drop down menues to be translated
2022-05-21 16:12:19 +02:00
kwolekr
02fb28a2a9
Reorganize supported video driver query mechanisms
2022-05-21 16:12:19 +02:00
kwolekr
a48bf4ad0b
Revert "Fix style on settings tab"
...
This reverts commit 7b17b9059e30cef384ecca37feec87cdcdfd39b8.
2022-05-21 16:12:18 +02:00
Jean-Patrick Guerrero
75b18a7b37
Fix style on settings tab
2022-05-21 16:12:18 +02:00
Jean-Patrick Guerrero
b04cd996b9
Add missing return value for filter/mipmap dropdown in mainmenu
2022-05-21 16:12:16 +02:00
Jean-Patrick Guerrero
b7c595f5ea
Small tweaking (alignement - client tab)
2022-05-21 16:12:16 +02:00
Jean-Patrick Guerrero
618dd99293
Reorganizing client and server tabs
2022-05-21 16:12:15 +02:00
sapier
ec52d6dc7a
Remove automatic consistent formspec size <-> font size (now has to be done manually) Set builtin formspecs to autoscale in order to get consistent formspec look and feel Uncouple label positioning from font size (May break some formspecs but is required to allow manual font adjustment)
2022-05-21 16:12:14 +02:00
sapier
4bf651e1b8
Fix forgotten favourite list image update of simple menu
2022-05-21 16:12:13 +02:00
sapier
b35dfcaefa
Re-add lost way to debug simple menu on PC
2022-05-21 16:12:12 +02:00
kwolekr
e12164adb2
Add core.get_mapgen_names() to Main Menu API (and use it)
...
Also rewrite mapgen registration for static initialization
2022-05-21 16:12:12 +02:00
Kahrl
5ee1b776ba
Ignore downloaded public serverlist if public_serverlist is false
...
Fixes #1807 : When the server list finishes downloading, the local server
list resets in certain conditions
2022-05-21 16:12:11 +02:00
fz72
5d11429074
MainMenu: Save 'hide gamemods' and 'hide modpack contents' checkbox state ( fixes #1960 )
2022-05-21 16:12:10 +02:00
Kahrl
a5032d9c3b
Remove vertlabels from main menu and relayout a bit
2022-05-21 16:12:09 +02:00
Kahrl
96b6aa6e4b
Display serverlist flags as icons
2022-05-21 16:12:09 +02:00
SmallJoker
e98bb3edcc
Ignore .name directories and files
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2022-05-21 16:12:08 +02:00
Kahrl
9806ede6a3
Always escape user provided data in mainmenu fields
2022-05-21 16:12:07 +02:00
Kodexky
0a6a8ab23b
Fix Android main menu crash, and user data directory check.
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2022-05-21 16:12:05 +02:00
ShadowNinja
f57278fe5a
Update credits menu
2022-05-21 16:12:04 +02:00
ShadowNinja
041d9e5417
Simplify loading of Android version of menu
2022-05-21 16:12:03 +02:00
ShadowNinja
d92c59d47d
Fix leaking global in texture pack menu
2022-05-21 16:12:03 +02:00
Wuzzy
7999b22a29
Add tooltips to main menu subgames button bar
2022-05-21 16:12:01 +02:00
paramat
00a13badea
Add mgv5. New noise code, uses biome API. Eased 3d noise for terrain, caves, blobs
2022-05-21 16:12:01 +02:00
rubenwardy
18473c4ed7
Add notice when only minimal is installed
2022-05-21 16:11:59 +02:00
Kahrl
5d3435cbfa
Change topleft text when switching subgames, fixes #1728
2022-05-21 16:11:59 +02:00
BlockMen
450048b470
Add optional framed glasslike drawtype
2022-05-21 16:11:58 +02:00
SmallJoker
f445d7a0f3
Fix wrong video_driver setting when changing in mainmenu
...
Fixes issue with direct3d(8|9)
2022-05-21 16:11:57 +02:00
sapier
bc4f8c8979
Add video driver selection to settings menu (based uppon idea from webdesigner97)
2022-05-21 16:11:56 +02:00
sapier
c98969fa39
Fix caption of config mods button (simple menu)
2022-05-21 16:11:55 +02:00
BlockMen
2d346ed082
Fix mainmenu game initialisation
2022-05-21 16:11:54 +02:00
ShadowNinja
3637581db5
Formspec escape fixed seen in world creation menu
2022-05-21 16:11:54 +02:00
sapier
dd0e0e019f
Add srollbar formspec element
2022-05-21 16:11:52 +02:00
proller
1dd3ac8929
Remove proller from credits
2022-05-21 16:11:51 +02:00
proller
3250c781d2
Remove indev mapgen
2022-05-21 16:11:51 +02:00
proller
6b0f33e73a
Remove math mapgen
2022-05-21 16:11:51 +02:00
sapier
c2ddc480de
Add support for Android 2.3+
...
There have been plenty of ppl involved in creating this version.
I don't wanna mention names as I'm sure I'd forget someone so I
just tell where help has been done:
- The partial android versions done by various ppl
- Testing on different android devices
- reviewing code (especially the in core changes)
- testing controls
- reviewing texts
A big thank you to everyone helping this to be completed!
2022-05-21 16:11:50 +02:00
sapier
37f07818ca
Fix menu crash due to lack of favourites list
2022-05-21 16:11:50 +02:00
sapier
3fa5f247c2
Support for scalable font and gui elements Fix positioning of tabheader in order to be usable for scaling GUIs WARNING: this changes position of current tabheaders, mods have to adjust!
2022-05-21 16:11:49 +02:00
sapier
40cd31db20
Fix broken serverdescription in multiplayer tab
2022-05-21 16:11:49 +02:00
sapier
4689018071
Fix bounding rect for formspec elements label vertlabel and checkboxes
2022-05-21 16:11:48 +02:00
sapier
d8335372ca
Fix regression dirt texture not beeing default in non cloud menu
2022-05-21 16:11:48 +02:00
RealBadAngel
11fceda9b6
Re-add missing shaders setting. (Generate normalmaps)
2022-05-21 16:11:46 +02:00
sapier
bb671de29d
Fix a bunch of small bugs due to mainmenu cleanup Fix doubleclick not working in singleplayer Fix of by one issue on accessing raw list Fix this->self Fix copy&paste error for scroll button
2022-05-21 16:11:44 +02:00
sapier
b72cf8726e
Fix singleplayer dialogs missing game customization
2022-05-21 16:11:43 +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
ShadowNinja
37c32c715f
Use "core" namespace internally
2022-05-21 16:11:41 +02:00
ShadowNinja
148b74312e
Organize builtin into subdirectories
2022-05-21 16:11:40 +02:00