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

8158 Commits

Author SHA1 Message Date
lhofhansl
7ca5f3baa0 Allow FXAA to be used together with FSAA or SSAA (#16555)
This allows FXAA post-processing to be used together with FSAA or SSAA
2025-10-11 20:50:23 -07:00
SmallJoker
0b13fd0b01 Driver: Change the texture check condition
The return value of 'ensureTexture' is unsuited for the texture "".
This fixes an undesired side-effect introduced by 9213b7f1.
2025-10-11 22:16:30 +02:00
SmallJoker
9213b7f164 Driver: Handle errors during texture creation (#16565)
The OpenGL drivers do accept 'nullptr' textures, however the
recent Mip-Mapping change did not respect that.
Furthermore, errors during texture creation for the pipeline are
now properly handled and shown as an error to the user.
2025-10-11 19:38:38 +02:00
cx384
f205f6f539 Fix meta tool capabilities regression (#16563)
This also adds a unittest to avoid issues in the future.
2025-10-11 19:38:21 +02:00
sfan5
c2e2b97944 Respect node alpha node for inventory drawing (#16556) 2025-10-11 19:37:30 +02:00
sfan5
a141f8478b Fix broken 'updating nodes' progress
was broken by fbec378869
2025-10-11 19:36:51 +02:00
sfan5
1a6bf66f2a Clean up tiledef/layer handling for node particles 2025-10-11 19:36:51 +02:00
sfan5
05e86bb1e8 Restrict function references returned by debug.getinfo() 2025-10-09 11:42:57 +02:00
sfan5
06250f8b27 Clean up RequestQueue a bunch 2025-10-07 11:10:19 +02:00
sfan5
293544fb48 Clean up tiledef/layer handling in wield mesh 2025-10-07 11:10:19 +02:00
rubenwardy
29476f406b Enable strip_color_codes by default 2025-10-05 19:00:56 +02:00
sfan5
61f3812f73 Fix incorrect MapgenV6 chunk size warning 2025-10-05 17:11:04 +02:00
SmallJoker
499f2284bd Server: Fix Server::Send exception caused by leaving players
Leaving players will have PEER_ID_INVALID for database saving purposes.
This patch clarifies that, and properly protects the batch send function.

Bug introduced by 5f5ea132.
2025-09-29 19:23:43 +02:00
fetsorn
e3ec044ed0 Update comments referring to obsolete TOCLIENT_INIT (#16522) 2025-09-29 13:21:52 +02:00
SmallJoker
dd3530dc79 Mapgen: Correct border block criteria (#16524)
This addresses a regression from e86d2fea8.

Co-authored-by: Po Lu <luangruo@yahoo.com>
2025-09-29 13:21:30 +02:00
SmallJoker
421835a30e Formspec: Fix missing CHG:n fields (regression)
The GUIScrollBar type was changed in commit 39f2727503.
This commit updates a corresponding check in guiFormSpecMenu accordingly.
2025-09-24 18:37:31 +02:00
sfan5
db8cd2121c Allow to scale nametag by distance and set font size (#16267) 2025-09-23 21:07:17 +02:00
updatepo.sh
ca62268d16 Update minetest.conf.example and translation file 2025-09-23 19:19:35 +02:00
Lars Müller
5f5ea13251 Network: Batch individual particle packets (#16458)
also bumps proto ver
2025-09-22 18:46:34 +02:00
sfan5
4c29bf6923 Add missing chunk size safety checks (#16502) 2025-09-22 18:46:22 +02:00
sfan5
d5ddee6cbf Log server connection to actionstream (#16505) 2025-09-22 18:46:07 +02:00
Desour
20f8eb9a6c Make proper use of override in server.h
Fixes warnings introduced by 08b7870.
Also removes unused virutal from getEmergeManager().
2025-09-22 00:40:30 +02:00
lhofhansl
08b7870c79 Monoblocks: optimize blocks that contain a single type of node (#16293)
Reduces memory usage on the server, especially with many user and/or large viewing distances.
Currently disabled on the client due to known data races on a block's data.
2025-09-21 13:19:30 -07:00
Sokomine
afd681d013 Add client-side logging of chat messages (#14289) 2025-09-21 21:27:42 +02:00
SmallJoker
9972639e26 Remove guiEditBox 2025-09-20 13:44:40 +02:00
SmallJoker
39f2727503 IrrlichtMt: Add scrollbar support to CGUIEditBox 2025-09-20 13:44:40 +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
y5nw
cc6b56b034 Minor refactor to the Plural-Forms parser (#16489) 2025-09-14 22:56:40 +02:00
lhofhansl
053ca6287a Use consistent dtime_limit (#16492) 2025-09-12 11:29:40 -07: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
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
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
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