Commit Graph

1185 Commits

Author SHA1 Message Date
sfan5 5677748551
Revise dynamic_add_media API to better accomodate future changes 2022-05-21 16:18:20 +02:00
sfan5 32ec2cd403
Preserve immortal group for players when damage is disabled 2022-05-21 16:18:19 +02:00
rubenwardy a63c18ab3e
Fix minetest.dig_node returning true when node isn't diggable (#10890) 2022-05-21 16:18:19 +02:00
sfan5 d5b8f2f904
Rework use_texture_alpha to provide three opaque/clip/blend modes
The change that turns nodeboxes and meshes opaque when possible is kept,
as is the compatibility code that warns modders to adjust their nodedefs.
2022-05-21 16:18:18 +02:00
sfan5 21855b066d
Drop never documented 'alpha' property from nodedef
Includes minimal support code for practical reasons.
We'll need it for a slightly different purpose next commit.
2022-05-21 16:18:18 +02:00
rubenwardy 264ff29983
ContentDB: Order installed content first (#10864) 2022-05-21 16:18:17 +02:00
Yaman Qalieh f0ccd3c828
Fix ESC in error dialog from closing Minetest (#10838) 2022-05-21 16:18:17 +02:00
rubenwardy e78d927ff9
Use JSON for favorites, move server list code to Lua (#10085)
Co-authored-by: sfan5 <sfan5@live.de>
2022-05-21 16:18:17 +02:00
Zughy a529f7b3b3
Load system-wide texture packs too (#10791)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2022-05-21 16:18:16 +02:00
Zughy 7435891dca
Removed some obsolete code (#10562)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2022-05-21 16:18:16 +02:00
Zughy 1ab4612f43
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>
2022-05-21 16:18:15 +02:00
rubenwardy 6e92f23fd7
ContentDB: Ignore content not installed from ContentDB 2022-05-21 16:18:15 +02:00
JDiaz e6b64b4a15
Implement on_rightclickplayer callback (#10775)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2022-05-21 16:18:15 +02:00
Zughy 3a686dc9e7
Sanitize server IP field in mainmenu (#10793) 2022-05-21 16:18:14 +02:00
rubenwardy 5988b1889a
ContentDB: Add overwrite dialog when content is already installed (#10768) 2022-05-21 16:18:14 +02:00
hecks 757e0d99cb
Add on_deactivate callback for luaentities (#10723) 2022-05-21 16:18:13 +02:00
Zughy 395af30bea
"Browse online content" formspec improvement (#10756) 2022-05-21 16:18:13 +02:00
Zughy 56339bf111
Display Minetest header when menu_last_game value isn't available anymore (#10751) 2022-05-21 16:18:12 +02:00
Lars Mueller 62d34be234
Fix minetest.is_nan 2022-05-21 16:18:12 +02:00
rubenwardy 3954bd96f9
Add dependency resolution to ContentDB (#9997) 2022-05-21 16:18:12 +02:00
Wuzzy c1c73b0493
Fix fallnode rotation of wallmounted nodebox/mesh (#10643) 2022-05-21 16:18:11 +02:00
Markus 0e7176887a
Fix some more joystick issues (#10624) 2022-05-21 16:18:11 +02:00
Andrey 73326a3d9c
MainMenu: Add clear button and icon for search input (#10363) 2022-05-21 16:18:10 +02:00
rubenwardy c1d4ebb24f
Add open user data button to main menu (#10579) 2022-05-21 16:18:10 +02:00
lhofhansl 44bd33de88
Allow configuring block disk and net compression. Change default disk level. 2022-05-21 16:18:09 +02:00
sfan5 b36cf63f27
Revert "Increase limit for simultaneous blocks sent per client and the meshgen cache."
This reverts commit 2f6393f49d5ebf21abfaa7bff876b8c0cf4ca191.
2022-05-21 16:18:09 +02:00
HybridDog 29c727f0cd
Fix MSAA stripes (#9247)
This only works when shaders are enabled.
The centroid varying avoids that the textures (which repeat themselves out of bounds) are sampled out of bounds in MSAA.
If MSAA (called FSAA in minetest) is disabled, the centroid keyword does nothing.
2022-05-21 16:18:09 +02:00
sfan5 c41e6a9648
Fix certain connected nodeboxes crashing when falling
fixes #10695
2022-05-21 16:18:08 +02:00
lhofhansl eb3dea562b
Increase limit for simultaneous blocks sent per client and the meshgen cache. 2022-05-21 16:18:08 +02:00
Wuzzy 36057e578a
Fix falling image of torchlike if paramtype2="none" (#10612) 2022-05-21 16:18:07 +02:00
sfan5 73211c68d6
Copy position for can_dig
fixes #10514
2022-05-21 16:18:07 +02:00
lhofhansl 2378f4ee82
Increase default emerge queue limits and limit enqueue requests for active blocks. 2022-05-21 16:18:07 +02:00
Desour ae7bdddf51
Do not set a default for description in itemdef table (#10559)
* Do not set a default for description in itemdef table

* improve documentation
2022-05-21 16:18:06 +02:00
lhofhansl dcb1aab2d4
Increase defaults for viewing_range, active_object_range and related settings #10597 2022-05-21 16:18:06 +02:00
rubenwardy 01f09b912b
Fix segfault in deprecation logging due to tail call, log by default (#10174) 2022-05-21 16:18:05 +02:00
numzero 88f2e825b9
Shaders for Android (GLES 2) (#10506)
Shader support for OpenGL ES 2 devices (Android)

Co-authored-by: sfan5 <sfan5@live.de>
2022-05-21 16:18:05 +02:00
Desour c400b9d9e8
Add documentation to builtin core.run_callbacks (#10494) 2022-05-21 16:18:04 +02:00
lhofhansl c66ec62c77
Remove all bump mapping and parallax occlusion related code. 2022-05-21 16:18:04 +02:00
paramat 5eb3966a66
Give unnamed world names incrementing numbers. Format 'world<number>' (#10247)
Code created with help from GitHub users sirrobzeroone and pauloue, thank you.
2022-05-21 16:18:04 +02:00
Desour 6c78e76633
Add a short_description to be used by mods (#8980) 2022-05-21 16:18:03 +02:00
Hugo Locurcio f49e97c3d9
Improve the `fsaa` setting description (#10279)
See https://github.com/minetest/minetest/issues/8459.
2022-05-21 16:18:03 +02:00
HybridDog e5e8fba742
Add minetest.get_artificial_light and minetest.get_natural_light (#5680)
Add more detailed light detection functions, a function to get the artificial light (torches) and a function to get the sunlight as seen by the player (you can specify timeofday).

Co-authored-by: rubenwardy <rw@rubenwardy.com>
2022-05-21 16:18:02 +02:00
rubenwardy 9bac2c659e
Deprecate get_player_velocity and add_player_velocity (#10173) 2022-05-21 16:18:02 +02:00
Elijah Duffy 3001721dd2
Lua API: Add register_on_chatcommand to SSM and CSM (#7862)
Allows catching a chatcommand call just after the command and the
parameters are parsed but before its existence is checked and before the
corresponding function is run. Returning `true` from a callback function
will prevent default handling of the command leaving mods to handle the
command manually.
2022-05-21 16:18:01 +02:00
HybridDog 240019bddd
Reduce the FPS when the window is unfocused (#8837) 2022-05-21 16:18:01 +02:00
HybridDog 8a86eacc9d
Chatcommand: Show help message if func returns false without message
#9440
2022-05-21 16:18:01 +02:00
paramat 0d024fa0af
Improve layout of main menu 'local' tab (#10366) 2022-05-21 16:18:00 +02:00
tenplus1 03cb42f725
Ability to remove minetest.after once set (#10103) 2022-05-21 16:18:00 +02:00
hecks fb5c84855d
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
2022-05-21 16:17:59 +02:00
paramat 7c52caee56
Add 'ores' global mapgen flag (#10276) 2022-05-21 16:17:59 +02:00