Commit Graph

337 Commits

Author SHA1 Message Date
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
ShadowNinja adf3454250
Add strict module
Also fix leaking globals found by it.
2022-05-21 16:12:02 +02:00
ShadowNinja 5805e555cf
Tweak core.serialize
This adds proper support for nested tables and improves performance a bit.
2022-05-21 16:12:02 +02:00
Wouters Dorian d5b1f42ef1
Improved VoxelArea variable locality, thus performance
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2022-05-21 16:12:02 +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
ShadowNinja d9875f12f2
Fix dump() indentation with non-tab indents 2022-05-21 16:12:00 +02:00
Ryan Newell c8a29cc3b7
Add last_login field to auth.txt
Also shortens some related code and adds more parameters to string.split.
2022-05-21 16:12:00 +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
LeMagnesium 2a038ee038
Add a better error message when trying to teleport another player without bring privileges 2022-05-21 16:11:59 +02:00
BlockMen 450048b470
Add optional framed glasslike drawtype 2022-05-21 16:11:58 +02:00
SmallJoker 6fb306753d
Use round if falling node is misplaced
Fixes: http://i.imgur.com/arAWw1i.png (middle-right)
2022-05-21 16:11:58 +02:00
ShadowNinja f32731396b
Make dump's output prettier
Changes:
  * Indentation with tabs by default.
  * Array keys dumped without "[i] = " prefix.
  * String keys that are valid identifiers aren't enclosed in '[""]'.
  * Basic support for multiple references (as specified in the comment).
2022-05-21 16:11:57 +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 266fe0cdf7
Fix retval of entity.get_staticdata beeing lost while profiling is enabled 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
Casimir adeb452c4a
Remove buildable_to nodes without dropping item when replaced by a falling node 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
sapier b92b8a51ce
Mod profiling support
Config settings:
profiling = true/false (gather statistics)
detailed_profiling = true/false (break mod times to callbacks)

Chat commands:
save_mod_profile saves current statistics in debug.txt and shows on console (on default loglevel)
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
sfan5 b0be73b638
Rework texture generating code, add texture grouping via ( ... ) 2022-05-21 16:11:54 +02:00
ShadowNinja 21f38e1fcb
Remove vector assertions
These were initially added to get tracebacks for invalid vector errors, but it
didn't work and tracebacks have since been properly fixed in the core.
2022-05-21 16:11:53 +02:00
Zefram e5c4318f4e
Fix indexing error in timer processing 2022-05-21 16:11:53 +02:00
sapier dd0e0e019f
Add srollbar formspec element 2022-05-21 16:11:52 +02:00
Nathanaël Courant 79490bfcdc
Fix crash reported here: https://forum.minetest.net/viewtopic.php?f=6&t=9726 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