Commit Graph

1719 Commits

Author SHA1 Message Date
sfan5 5b05fcf8e1 Apply some general fixes to porting code 2025-12-14 17:42:42 +01:00
Zughy 87669f982c
Breakages: split fog from sky functions 2025-12-10 21:32:53 +01:00
Lars Müller 6daf3871e7
Backport PUC Lua 5.4's string.{pack,unpack,packsize} 2025-12-08 23:19:24 +01:00
Lars Müller d30113a70a
Add `/lua` chatcommand to devtest (#16656)
singleplayer-only for security reasons, just in case someone is exposing a devtest server...
2025-11-27 11:27:01 +01:00
fetsorn d959692967
Option to make sky stars deterministic (#16529)
The star constellations are now based on a seed passed in StarParams.
2025-11-22 09:47:15 +01:00
SmallJoker 392c054be9 Main menu: Fix mod detection within nested modpacks
* Re-use the C++ implementation of mod detection
* Correctly show up nested modpacks in the main menu
2025-11-19 19:41:51 +01:00
SmallJoker 36c261c1f0
IrrlichtMt: Initial SDL3 support (#16583)
This commit implements support for SDL3, more specifically, >= 3.2.0 (the first released version).
Almost all changes were made according to https://github.com/libsdl-org/SDL/blob/release-3.2.10/docs/README-migration.md?plain=1 and the suggestions provided by `SDL3/SDL_oldnames.h`.
2025-11-17 20:55:52 +01:00
Rising Leaf 44e7c5b9ab
Implement core.path_exists() (#16647) 2025-11-16 15:00:36 +01:00
sfan5 e924f425f2
Remove Irrlicht devices except SDL (#16580) 2025-10-30 13:39:44 +01:00
cx384 d4d3e10531
Fixes and improvements for item image animations (#16620) 2025-10-29 10:26:59 +01:00
cx384 93ccb4b355
Add inventory image animation API (#16538) 2025-10-26 18:48:53 +01:00
Xeno333 dde463635e
Add `default_mapgen` game setting (#16238) 2025-10-26 18:46:54 +01:00
corpserot f1c0f292fa
Correct info about ObjectRef:set_attach() bones `""` default value 2025-10-26 10:28:30 +01:00
sfan5 f4977b1e33
Allow mapgen chunk size to be non-cubic (#16429) 2025-10-22 22:31:23 +02:00
sfan5 a049174f12
Make logging timestamps configurable (#16581) 2025-10-17 00:18:06 +02:00
Thomas--S 6b0e1e9b67
Clarify set_yaw() behaviour in documentation 2025-10-17 00:17:52 +02:00
Zughy a3e27f06fc
Update roadmap (#16468) 2025-10-09 11:48:09 +02:00
SmallJoker 76a8d8b0e2 Continue with 5.15.0-dev 2025-10-05 17:51:12 +02:00
sfan5 8f98b4f243
Android: Update to SDK 35 (#16513) 2025-09-29 13:25:23 +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 Mouche 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
y5nw 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
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
sfan5 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