1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-10 19:32:10 +00:00
Commit graph

8172 commits

Author SHA1 Message Date
Montandalar
e86d2fea8d
Prevent MapBlocks in generation from being unloaded (#16339)
This change prevents issues arising from partial generation of MapChunks, which are liable to be regenerated completely when ungenerated MapBlocks within are encountered.

Co-authored-by: Po Lu <luangruo@yahoo.com>
Co-authored-by: sfan5 <sfan5@live.de>
2025-09-04 18:57:29 +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
whosit
7cbe62fe7b
Allow float values for HTTPRequest.timeout (#16442) 2025-08-25 21:36:42 +02:00
sfan5
3f0f7f4285
Show supported backends in --help output (#16441) 2025-08-25 21:36:25 +02:00
DS
ce8e8f6bf4
GUIInventoryList: Override isPointInside() (#16283) 2025-08-24 19:01:28 +02:00
sfan5
079169612d Fix Irrlicht snprintf problems and UB in my_string_to_double 2025-08-24 19:01:18 +02:00
sfan5
baaab310fe Use stable sort in HUD rendering 2025-08-24 00:54:39 +02:00
sfan5
36b5374715 Simplify HUD handling in Player class 2025-08-19 17:34:22 +02:00
sfan5
bb74b9d488 Resolve FIXME in ModStorageDatabaseSQLite3 2025-08-19 17:34:22 +02:00
sfan5
54d48decad Sort out incorrect logic in MeshUpdateQueue::addBlock() 2025-08-19 17:34:22 +02:00
sfan5
1d53ec4892 Delete broken interlaced 3d_mode
fixes #15406
2025-08-19 17:34:22 +02:00
sfan5
e835673c5e Extract bitmap class 2025-08-19 17:34:22 +02:00
1F616EMO~nya
f2eb5e7a93
Add back the missing endElement in parseTag for <action> 2025-08-19 17:34:13 +02:00
sfan5
6da927a548 Add more texture size limit checks
closes #16014
2025-08-14 12:33:35 +02:00
sfan5
fd3588d49c Give more infos to on_timer() callback
closes #15817
2025-08-14 12:33:35 +02:00
sfan5
b6065797ce Clarify some keycode names
fixes #16258
2025-08-14 12:33:35 +02:00
sfan5
e2e571ca1f Initialize base image for [lowpart
fixes #16371
2025-08-14 12:33:35 +02:00
sfan5
81e08fc890 Handle overlay tiles for minimap color
fixes #16285
2025-08-14 12:33:35 +02:00
sfan5
55cca34ee9 Cache getTextureDirs() 2025-08-10 15:26:39 +02:00
sfan5
b1cb5fcb9f
Improve texture creation logging and checking 2025-08-08 13:42:36 +02:00
Pedro Gimeno
ae97435d80 Fix set/getRotationRadians unit test
Gimbal lock is a situation where the pitch (the middle angle) of the Tait-Bryan angles (usually called Euler angles incorrectly) is 90 degrees. If the angles specify a rotation close to gimbal lock, the precision requirements increase significantly, beyond what a single-precision float can provide, and at exactly gimbal lock, there's a loss of information. The test didn't take this into account. Fix this by decreasing the expected precision when close to gimbal lock.

The increased error rate on ARM Macs is probably caused by lesser precision in trigonometric functions. IEC-559 does not specify any semantics for those, and while Intel typically has a precision < 1 ulp for trigonometric functions with angles < 2*pi, it's likely that ARM's precision is a bit worse.
2025-08-08 00:42:57 +02:00
Lucas OH
ecc876045f
Replace some raw pointers by unique_ptr (#16304) 2025-08-06 23:17:34 +02:00
Lucas OH
93dd22b901
Clean up unused Forward Declarations (#16324) 2025-08-02 10:07:45 +02:00
siliconsniffer
60cd83a332
Android: open input dialog on double tap with physical keyboard (#16269) 2025-08-02 10:06:29 +02:00
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