1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00
Commit graph

12931 commits

Author SHA1 Message Date
lhofhansl
053ca6287a
Use consistent dtime_limit (#16492) 2025-09-12 11:29:40 -07:00
sfan5
fcd9c73f2f Send node dig particles to all other players 2025-09-10 20:23:55 +02:00
sfan5
f714ac0611 Add exclude_player to particle spawners 2025-09-10 20:23:55 +02:00
SmallJoker
b6a23b1bcc
CGUITTFont: Clean up, unify and comment draw code (#16380)
These changes were initially made to improve performance. However,
on modern hardware, these changes turned out to make no difference.

This commit unifies the calculations in 'draw' and 'getDimension' and
adds comments to make it more understandable.
2025-09-10 20:23:45 +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
SmallJoker
176cadc377 IrrlichtMt: Fix 2D texture rendering regression
Caused by 024e1d2.
2025-09-07 10:00:36 +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
wrrrzr
46ef0bf313
Add direnv (#16393) 2025-09-06 11:44:26 +02:00
SmallJoker
56bc7814de
Lua API: Unify server env checks and fix missing ones (#16457)
A few functions tried to dereference a ServerEnvironment nullptr by
calling 'getEnv()'. This change makes use of a macro where possible.

This also cleans up incorrect macro uses, with no functional difference.
2025-09-04 19:00:23 +02:00
SmallJoker
d24a7001ab
Formspec: Implement Ctrl+Shift+Left/Right text selection (#16455)
This is a quality-of-life improvement to edit text more easily.
2025-09-04 18:58:46 +02:00
SmallJoker
024e1d2d27
IrrlichtMt: Implement mip-mapping for RTTs (#16434)
This can be helpful to draw fonts memory-efficiently at varying scales.

Adds ETCF_CREATE_RTT_MIP_MAPS to generate mip-maps on request.
2025-09-04 18:58:23 +02:00
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
ProunceDev
2ef085967d
Fix macOS workflow homebrew conflict error (#16464) 2025-09-04 11:19:16 +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
birdlover32767
04d9bd518f
Hide world buttons when a world is not selected (#16414) 2025-08-24 19:01:56 +02:00
Lars Mueller
550b042076 Make bone interpolation work again 2025-08-24 19:01:35 +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
7c88996210 Use vector type in core.parse_coordinates() 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
21a76d8c88 Call string.rep directly in dump()
fixes #16373 (as a side effect)
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
2a96b31ffc
Clarify documentation on node/item callbacks (#16385) 2025-08-13 20:38:41 +02:00
Zughy
a5197a6719
Issues: specify that LLM-generated wall of texts are not allowed (#16413) 2025-08-13 20:33:24 +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
sfan5
0b21c93324 Update issue template 2025-08-10 15:26:39 +02:00
sfan5
55cca34ee9 Cache getTextureDirs() 2025-08-10 15:26:39 +02:00
rubenwardy
0b9ae73369
Add script to download and sign Android builds from GitHub Actions 2025-08-10 15:26:28 +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
Wuzzy
c611a1f9e8
Update builtin locale files (#16372) 2025-08-06 23:17:01 +02:00
sfan5
65d498f78e Update used Android NDK 2025-08-05 19:46:45 +02:00
Lars
a0547b3435 Fix non-SDL compilation on Linux after #16324 2025-08-02 14:53:13 +02:00