Commit Graph

365 Commits

Author SHA1 Message Date
Loïc Blot 223b4c09ca
Fix issue #2278, Connection sent before address data loading 2022-05-21 16:12:23 +02:00
est31 1052201620
Fix crash on passing false as value in table to table.copy(t)
Fixes #2293.
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
kwolekr 201f783d75
Hud: Modify Y-positioning of health/breath starbars to prevent overlapping with Hotbar 2022-05-21 16:12:21 +02:00
rubenwardy bd42a0c92e
Change assignment to global in a function to warning 2022-05-21 16:12:20 +02:00
kwolekr a4bc5e525e
Prevent null concatenation when /deleteblocks is provided an incorrect format 2022-05-21 16:12:20 +02:00
ShadowNinja 32911a2064
Fix imprecise serialization of large numbers 2022-05-21 16:12:19 +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
kwolekr 5d9c758b13
Simplify deleteblocks chat command argument parsing
Add optional core.pos_to_string decimal place rounding
Move core.string_to_pos to builtin/common/misc_helpers.lua for consistency
2022-05-21 16:12:17 +02:00
kwolekr b18ccd0056
Add ability to delete MapBlocks from map
Also add a Lua API and chatcommand for this
2022-05-21 16:12:17 +02:00
Diego Martínez d6acaced3f
Fix typo in `serialize.lua`. 2022-05-21 16:12:17 +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
kwolekr f18dcb6ee8
builtin: Unify register wrapper functions and wrap clear_registered_* functions too 2022-05-21 16:12:15 +02:00
paramat 7e7ae1390b
Remove builtin_biome.lua from builtin and add simple biome minimal 2022-05-21 16:12:14 +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
ShadowNinja 43ee012597
Add registered_ores and registered_decorations 2022-05-21 16:12:14 +02:00
Diego Martínez c2450727a1
Fix off-by-one error in `string:split` implementation. 2022-05-21 16:12:13 +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
kwolekr c06d3f19e4
Expose mapgen parameters on scripting init
Add minetest.get_mapgen_params()
Deprecate minetest.register_on_mapgen_init()
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
Diego Martínez a88e2f410b
Faster string.split implementation. 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
kwolekr 06d67db3cc
Temporarily set default biome in builtin
This should probably be removed when minetest_game has proper biomes.
If I hear "the whole map is just stone!" again after this, I am going to detonate.
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
Zeno- 64bc547162
Revert "Adjust the values of dirs1 and dirs2 so that rotate_and_place orients textures correctly"
This reverts commit 9878e8de4fdf232ebb77b396766c339786c01218.

See: https://github.com/minetest/minetest/issues/1939 and IRC log for discussion
2022-05-21 16:12:09 +02:00
paramat 1adec0e3c5
Fix undeclared globals in functions and shorten lines in misc_helpers.lua. 2022-05-21 16:12:08 +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
SmallJoker 2dba3fd295
Add Lua helper functions vector.apply(v) math.sign(x, tolerance) 2022-05-21 16:12:07 +02:00
Calinou 493521898f
Make dropped items larger and rotate faster
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2022-05-21 16:12:07 +02:00
SmallJoker 7fa045415f
Add minetest.copy_table(table) To get rid off the "table references"
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2022-05-21 16:12:06 +02:00
Craig Davison 8ed639715a
Fix some undeclared global variables 2022-05-21 16:12:06 +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
dvere 694e0d0781
Adjust the values of dirs1 and dirs2 so that rotate_and_place orients textures correctly
According to doc/lua_api.txt if paramtype2 == "facedir" the two least significant bits of parm2 orient the texture around the axis. For dirs1 (looking at a wall) these would be 0, 1, 2, 3 and for dirs2 (looking at the ceiling) 2, 1, 0, 3
2022-05-21 16:12:05 +02:00
ShadowNinja 4bc849b059
Make duplicate warning checks file and line specific 2022-05-21 16:12:04 +02:00
sapier 7b55a9a5cd
Fix console spaming by debug function on mod checking for global variable to exist. 2022-05-21 16:12:04 +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