2033 Commits
Author SHA1 Message Date
proller f55e2f7e37 Merge tag '5.14.0-rc1' into wip5.14.0 2025-09-27 22:22:49 +02:00
sfan5 db8cd2121c Allow to scale nametag by distance and set font size (#16267) 2025-09-23 21:07:17 +02:00
Cora de la MoucheandPo Lu fc6bef7de6 Extend core.generate_decorations to generate biomes respecting the biome map (#16397)
Large structures which are generated in on_generated callbacks
independently by Lua cannot influence decoration placement. This
change enables such a callback to assume responsibility for generating
decorations itself, presumably after structures are placed, by
disabling decorations in mg_flags and executing
core.generate_decorations.

---------

Co-authored-by: Po Lu <luangruo@yahoo.com>
2025-09-20 13:44:19 +02:00
sfan5 d932f34693 Add core.strip_escapes() (#16485) 2025-09-14 23:01:43 +02:00
sfan5 f714ac0611 Add exclude_player to particle spawners 2025-09-10 20:23:55 +02:00
DS 69497200f9 Builtin profiler: Capture Tracy zones; And small improvements (#16479)
* Feature: Use the builtin profiler to automatically make zones for mod callback functions.
* Doc: Basic doc for builtin profiler, and better `/profiler` chatcommand help.
* Fix: `register_functions` (table of callback register function names), and `entity_instrumentation` is no longer outdated.
* Fix: Builtin profiler output is no longer printed to debug.txt or to file in world with translation escapes.
* Fix: Entity callback name generation used `obj_def.label` (normally non-existing field), now it uses the entity name.
* Small code improvements, like use of new `Settings.get_bool` with default.
2025-09-08 18:27:26 +02:00
Zughy c9d4c33174 Docs: clarify stepheight upper limit 2025-09-07 20:44:48 +02:00
sfan5 5672b93007 Separate ephemeral from client caching in core.dynamic_add_media() 2025-09-06 11:44:52 +02:00
sfan5 0b66465f33 Adjust Server::dynamicAddMedia() and related parts a bit 2025-09-06 11:44:52 +02:00
cx384 c7d45fe51a Add formspec box color documentation to style section 2025-09-06 11:44:46 +02:00
f390137d6e Add API to cancel async jobs (#14602)
* Implement API to cancel async jobs

Co-authored-by: sfan5 <sfan5@live.de>

* update AsyncJob:cancel documentation from review

* Use IPC to unblock async

* review

* review async unblocking

* review

* Apply suggestions from code review

Co-authored-by: sfan5 <sfan5@live.de>

* minor licensing

---------

Co-authored-by: y5nw <y5nw@protonmail.com>
Co-authored-by: sfan5 <sfan5@live.de>
2025-08-26 12:40:31 +02:00
proller 5ab5402e5a Merge tag '5.13.0' into wip5.13.0
5.13.0
2025-08-19 18:06:57 +02:00
sfan5 fd3588d49c Give more infos to on_timer() callback
closes #15817
2025-08-14 12:33:35 +02:00
sfan5 2a96b31ffc Clarify documentation on node/item callbacks (#16385) 2025-08-13 20:38:41 +02:00
AFCMS bbade5d3bc Bump CI runners windows-2019 to windows-2025 2025-08-10 17:44:04 +02:00
sfan5 7a99fdf490 Update some old Minetest references in docs 2025-08-10 15:26:39 +02:00
SmallJoker 39417cf7a7 Continue with 5.14.0-dev 2025-08-01 14:29:36 +02:00
SmallJoker 0deee5eaf0 Bump network/formspec versions for 5.13.0 2025-07-27 09:00:20 +02:00
Zughy 535db2be76 Make max_formspec_size docs clearer 2025-07-22 16:40:07 +02:00
Lars Müller 643d1cbd8d Docs: Remove outdated glTF status notice
glTF now both unlocks (minor) new features, e.g. constant interpolation, and supports animation.
2025-07-19 21:31:45 +02:00
sfan5 251488b3aa Enforce explicit size limit for media files 2025-07-16 11:42:54 +02:00
Lars Müller 23bf50a07c Document & extend testing for rotation conventions (#16200)
* Document Luanti rotation conventions
* Add test for setPitchYawRollRad (entity) rotation conventions
* Test and document that `vector.rotate` uses (extrinsic) Z-X-Y rotation order
2025-07-13 17:11:12 +02:00
sfence 4f42b4308c Add persistent unique identifiers for objects (#14135) 2025-07-09 10:40:26 +02:00
et e0f8243629 Clarify some documentation (#16301) 2025-07-09 10:36:02 +02:00
sfan5 fd0ca20ce9 Add core.get_mapgen_chunksize() (#16289) 2025-06-29 17:19:40 +02:00
sfan5andErich Schubert 8eceabd812 Make core.get_node_raw a public API (#16265)
Co-authored-by: Erich Schubert <erich.schubert@tu-dortmund.de>
2025-06-25 15:05:22 +02:00
Xeno333 da0f8cd6b5 Add documentation index for doc/ as README.md, and small docs fixes (#16253) 2025-06-24 11:49:59 +02:00
SmallJoker fdc149f316 Formspec: Show a player inventory using core.show_formspec (#15963)
'core.show_formspec' now shows and updates the inventory formspec as if
it was opened using the hotkey on client-side.
2025-06-22 22:06:47 +02:00
Miguel P.L 49f48e0a7c Update links and names in the documentation (#16153) 2025-06-22 22:04:42 +02:00
DS f75d16c1e6 Fix some misinformation in world_format.md (#16256) 2025-06-13 23:32:55 +02:00
Xeno333 aba2b6638e Add documentation for ValueNoise during load time (#16235) 2025-06-07 14:44:35 +02:00
jordan4ibanez 29a9056731 Fix 'core.mod_channel_join' return value documentation (#16218) 2025-06-07 14:42:14 +02:00
Lars Müller fde6384a09 Fix and clean up skeletal animation (#15722)
* Fix attachments lagging behind their parents (#14818)
* Fix animation blending (#14817)
* Bring back cool guy as another .x smoke test
* Add .x mesh loader unittest
* Do bounding box & matrix calculation at proper point in time
* Remove obsolete `SAnimatedMesh`
2025-06-01 23:21:35 +02:00
SmallJoker fcddac6c07 Formspec: Fix malfunctioning 'Proceed' button on sizeless formspecs 2025-05-30 13:05:13 +02:00
sfan5 aa1bab2156 Implement API to create empty VoxelManip 2025-05-30 13:03:21 +02:00
sfan5 e03957ec0c Add VoxelManip:close() for explicit free 2025-05-30 13:03:21 +02:00
sfan5 a5263dc7ed Do not allow vector components to be nil 2025-05-28 13:29:30 +02:00
grorp 986cd32f28 Minor lua_api.md improvements (#16169) 2025-05-28 13:29:03 +02:00
proller 632662281b Merge tag '5.12.0' into wip5.12.0
5.12.0
2025-05-25 04:18:27 +02:00
sfan5 66aa5f3fac Continue with 5.13.0-dev 2025-05-23 17:43:09 +02:00
Lars Müller 7ac5502fdf Fix handling of skinned meshes for nodes
Second try after the revert in 8a28339 due to an unexpected regression.

- Rigidly animated models (e.g. the glTF frog node) were not working correctly,
  since cloning the mesh ignored the transformation matrices.
  Note that scaling the mesh needs to occur *after* transforming the vertices.
- Visual scale did not apply to skinned models,
  as resetting the animation overwrote scaled vertex data with static positions & normals.
  For backwards compatibility, we now apply a 10x scale to static, non-glTF models.

We now do scale static meshes, as the bug that caused meshes not to be scaled was limited to skeletally animated meshes,
hence we ought not to reproduce it for skinned meshes that do not take advantage of skeletal animations (e.g. current MTG doors).

However, glTF models (e.g. Wuzzy's eyeballs) up until recently were always affected due to technical reasons
(using skeletal animation for rigid animation).

Thus, to preserve behavior, we:

1. Do not apply 10x scale to glTF models.
2. Apply 10x scale to obj models.
3. Apply 10x scale to static x or b3d models, but not to animated ones.

See also: #16141
2025-05-20 18:37:33 +02:00
Lars Mueller e039f4c8af Improve mesh scaling factor documentation 2025-05-14 22:28:33 +02:00
Lars Mueller 9ad23e4384 Revamp dump 2025-05-04 16:32:17 +02:00
sfence 0bdd5f294e Make SDL2 default on macOS (#16039) 2025-05-02 21:28:13 +02:00
Lars Müller d96f5e1c76 MetaDataRef: Make set_float preserve numbers exactly (#16090) 2025-05-02 21:27:00 +02:00
sfan5 893a74f9d7 Support HEAD and PATCH methods in http api 2025-05-01 10:46:24 +02:00
sfan5 d937cd9b90 Don't restrict multipart requests to POST 2025-05-01 10:46:24 +02:00
minlemon 33ae1af79a Add how to run unit tests after compile instructions 2025-04-25 05:08:31 +02:00
minlemon 3497722a9d Replace broken "What is Minetest?" link with archived copy 2025-04-24 20:07:51 +02:00
Lars Müller dd2e45ee82 Deprecate function support in core.[de]serialize 2025-04-23 21:39:27 +02:00