1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-17 18:35:20 +02:00
Commit Graph

8148 Commits

Author SHA1 Message Date
sfan5
0c12c1f400 Add a bit of debug code around MapBlock refcounting 2025-08-02 10:05:22 +02:00
Lars Mueller
613ba689ff Work around #16221 by updating parent chains 2025-08-01 14:12:02 +02:00
Lars Mueller
26aab6ecf2 Fix flakey matrix rotation unit test for now 2025-07-30 23:43:10 +02:00
sfan5
9ff38bdf7f Sky: Get custom sun and moon tinting to work again
This fixes a regression introduced by commit 58ccf0b.
2025-07-29 20:36:23 +02:00
sfan5
d679261488 Rewrite broken logic in blit_with_alpha2 2025-07-28 11:16:07 +02:00
grorp
7345b54f18 Android: Workaround for partially broken inputs 2025-07-28 11:14:37 +02:00
SmallJoker
0deee5eaf0 Bump network/formspec versions for 5.13.0 2025-07-27 09:00:20 +02:00
SmallJoker
d60f909566 ParticleSpawner: Fix crash caused by empty texture
no_texture.png is now used as a fallback (if available), like already seen with registered items with empty 'inventory_image'.
2025-07-22 16:39:51 +02:00
sfan5
251488b3aa Enforce explicit size limit for media files 2025-07-16 11:42:54 +02:00
sfan5
3cb8ce69d2 Minor cleanups and logging changes 2025-07-16 11:42:54 +02:00
sfan5
0eabc252b8 Relax path_user sandbox access in mainmenu
fixes #16302
2025-07-16 11:42:54 +02:00
sfan5
e8e5ef0369 Deleted unused parts of blitter 2025-07-16 11:42:21 +02:00
sfan5
158bfa6442 Replace copyToWithAlpha with more appropriate functions
fixes #16316
2025-07-16 11:42:21 +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
updatepo.sh
15f41eb82e Update minetest.conf.example and translation file 2025-07-12 13:42:18 +02:00
Lars Mueller
37f922b500 Improve some deprecation warnings 2025-07-12 13:23:49 +02:00
Lars Mueller
8e03e94ea9 Improve script_log_add_source: Log full path for files 2025-07-12 13:23:49 +02:00
Lucas OH
ce2380b58e Include header files in CMake sources (#16297) 2025-07-12 13:23:35 +02:00
Lucas OH
f71e1447c9 Fix downward shadows at time 12000 (#16326) 2025-07-12 13:23:17 +02:00
sfence
4f42b4308c Add persistent unique identifiers for objects (#14135) 2025-07-09 10:40:26 +02:00
Lars Müller
61551cfc3a Remove irr namespace (#16309) 2025-07-09 10:35:52 +02:00
Lucas OH
51a453ca7b Formspec: Fix newline conversion on Windows (#16311)
Strings with CR+LF (\r+\n) were wrongly fixed into \r, which is enough to display them correctly, but the missing \n became important once the text was saved/reloaded.

By removing the \r instead of the \n, then the text is displayed correctly and saved correctly.
2025-07-06 22:10:51 +02:00
lhofhansl
1a58a2fd2b Fix Camera's far clipping plane for large zooms (#16307)
* Make zoomed view beyond 2000 nodes are rendered correctly.
2025-07-03 17:11:36 -07:00
Lucas OH
5b37614d23 Use unique_ptr for trivial ownership (#16300) 2025-07-03 17:32:46 +02:00
Lars Müller
08bc036311 Remove obsolete SMeshBuffer.h (#16308) 2025-07-03 17:32:35 +02:00
sfan5
83a7e22cf7 Do not block in httpfetch_request_clear() (#16303) 2025-07-03 17:32:05 +02:00
DragonWrangler1
80be9bf76e Add keybinding for world close key (#16250)
Fix according to Lua code style guidelines (grorp)

Fix order in defaultsettings.cpp (grorp)

remove unrequired comment, and whitespace

Co-authored-by: y5nw <y5nw@users.noreply.github.com>
Co-authored-by: grorp <grorp@users.noreply.github.com>
2025-07-01 14:31:26 +02:00
lhofhansl
43aad3711b MapBlock::getData be gone (#16292)
* Remove Mapblock::getData and all its uses

* Do not leak ystride, zstride, and nodecount
2025-06-29 13:36:47 -07:00
sfan5
fd0ca20ce9 Add core.get_mapgen_chunksize() (#16289) 2025-06-29 17:19:40 +02:00
Lars
fcbf05fc30 Use MapBlock::copyTo to fill MeshMakeData 2025-06-27 10:36:33 -07:00
sfan5
2d36d32da8 Tune mesh generation interval and thread count 2025-06-26 16:39:26 +02:00
sfan5
2733df78c4 Skip pointless meshgen updates for air blocks 2025-06-26 16:39:26 +02:00
sfan5
6545710c8e Refactor meshgen-related code 2025-06-26 16:39:26 +02:00
lhofhansl
0ea89d4112 Avoid copying empty blocks for mesh-generation (#16286) 2025-06-25 15:05:34 +02:00
DS
48ef7fff23 Revert "Detect mouse moving out of inventory slot" (#16281)
This reverts commit 81d62d01d1.
2025-06-24 11:49:44 +02:00
Lars
1297ccc537 Quick fix for TestMap name collision, introduced in #16274 2025-06-23 13:27:40 -07: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
Lars
d41de3da79 Add test benchmark for Map 2025-06-22 22:06:17 +02:00
Miguel P.L
49f48e0a7c Update links and names in the documentation (#16153) 2025-06-22 22:04:42 +02:00
Jürgen Rühle
81d62d01d1 Detect mouse moving out of inventory slot (#16101) 2025-06-13 23:36:44 +02:00
Xeno333
225d2cf916 Make minimap respect drawtype = "airlike" (#16251) 2025-06-13 23:33:10 +02:00
grorp
e452c2900f Don't force-enable tileable_horizontal/vertical for solid nodes 2025-06-07 14:44:09 +02:00
Lars Mueller
f431c12b85 Fix model[] not supporting float frames 2025-06-07 14:43:53 +02:00
sfan5
38255cb6bb Clean up makeScreenshot() and make message translateable 2025-06-07 14:43:26 +02:00
siliconsniffer
4454d71d7d Formspec: change tabs with ctrl(+shift)+tab (#16167)
This change makes it easier to go to the next/previous tab using keyboard controls.
2025-06-07 14:41:29 +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
JosiahWI
0bb87eb1ff Avoid signal-unsafe operations in POSIX signal handler (#16160) 2025-06-01 15:24:32 +02:00
sfan5
a2460df316 Print Luanti version after ascii art 2025-06-01 15:23:55 +02:00
SmallJoker
535d757563 Formspec: Move GUI event handling to switch/case 2025-05-30 13:05:13 +02:00
SmallJoker
660b1cf9bf Formspec: remove gotText(wstr) remains
These functions are now unused (no caller).
2025-05-30 13:05:13 +02:00