13799 Commits
Author SHA1 Message Date
Piotr Kubaj 5bb520ba54 Fix build on big-endian architectures (#17639)
CXMeshFileLoader.h: os::Byteswap::byteswap() needs os.h header.
2026-10-10 14:06:23 +02:00
paradust7 6d6b06617f Use GL_ELEMENT_ARRAY_BUFFER for index buffers (#17637)
WebGL requires this
2026-10-10 13:48:14 +02:00
ZenonSeth 814ebcfc12 Add client-side support for multiple ordered texture packs + Separate tabs for content (#17552) 2026-10-10 13:46:29 +02:00
lhofhansl 9a1b92d0d4 Optimize isBlockInSight (#17471)
* Reduce algebraic operations in isBlockInSight
* Pre-compute camera related constants
2026-10-06 17:15:59 -07:00
25db88f717 Fix entity duplication on_activate crash (#17475)
Co-authored-by: SmallJoker <[email protected]>
Co-authored-by: sfan5 <[email protected]>
2026-10-06 22:01:57 +02:00
SmallJoker 2e0620b5e8 Collision: Run parabola movement in two iterations (#17612) 2026-10-06 21:57:03 +02:00
user333dev 197fda5550 Require a parameter for /clearobjects (#17617) 2026-10-06 21:56:34 +02:00
paradust7 d6ca815f3a Fix last gcc warnings for release build 2026-10-06 21:55:23 +02:00
sfan5 0f1e38d2a3 Normalize builtin file paths for hash-lookup 2026-10-03 11:32:07 +02:00
sfan5 e8d9463ff8 Alias differing Weblate language codes 2026-10-03 11:32:07 +02:00
sfan5 2676ef7041 Disable scripting lock check in release builds 2026-10-03 11:32:07 +02:00
sfan5 cda64ab057 Clarify formspec style evaluation 2026-10-03 11:32:07 +02:00
sfan5 3e7d4d4e20 Fix inconsistent-missing-override warnings (again) 2026-10-03 11:32:07 +02:00
sfan5 5e08e4becf Fix compile flags overwritten by Irrlicht subproject
Notably this meant -DNDEBUG was missing for Release builds.
reported by @paradust7
2026-10-03 11:32:07 +02:00
sfan5 cd35914cae Android: update gradle, plugins, etc. 2026-10-03 11:32:07 +02:00
sfan5 4b9a8801b8 Fix some code problems / crash issues 2026-10-03 11:32:07 +02:00
Desour 738c66dbce Fix light for liquid source faces below solid nodes
Solid nodes take light from neighbor node, which is guaranteed to be non-solid,
and therefore has to have paramtype=light, if there is a face.
For liquid nodes, the neighbor can be solid.

getSmoothLightCorner() takes light from neighboring nodes, taking obstruction
of neighbors, but not of its center node, into account.
The bug that is fixed here is that corner/edge light can therefore shine through,
e.g. from the +X+Y edge through the +Y neighbor.

Bug has existed in theory for a long time, but was never triggered because we
had no liquid source faces next to solid nodes. 2e1a401 triggers it.

Light brightness in correct cases should be the same as before.
Non-smooth lighting is not affected.
2026-10-03 11:31:07 +02:00
Zenon Seth c6e6714229 Make sure texture pack name from conf file gets used when checking for updates 2026-10-03 11:30:34 +02:00
user333dev a75e372046 Verify paths passed to load_schematic against security sandbox 2026-10-03 11:29:22 +02:00
sfan5 6c4c384dad Clean up CZipReader and unused parts 2026-09-29 20:06:23 +02:00
paradust7 c247ed31c7 Use SDL's relative mouse motion input (#17570) 2026-09-29 20:05:52 +02:00
sfan5 22863fdf0b Fix some missing includes 2026-09-28 21:49:53 +02:00
sfan5 6d4ac28487 Fix endian.h handling
if it exists we need to include it to get htobe16() et al
2026-09-28 21:49:53 +02:00
Vaibhav Srivastava bdc785b683 Fix typo in Irrlicht comment 2026-09-27 22:11:02 +02:00
DeltachangeOG 922fb06899 Use libzip for ZIP file extraction (#17343) 2026-09-27 22:10:38 +02:00
sfan5 041a7a6003 Allow making text area/fields read-only independently via style property 2026-09-26 14:02:45 +02:00
sfan5 6392cae9e3 Settings: ensure relevant setting notes are visible even with search 2026-09-26 14:02:45 +02:00
sfan5 356c83317b Display security warning next to trusted mods setting 2026-09-26 14:02:45 +02:00
sfan5 8d07a7801c Move sandbox disabling to a command line flag 2026-09-26 14:02:45 +02:00
cx384 f76eee5f36 Restructure drawSolidNode and its waving liquid top logic 2026-09-26 14:00:54 +02:00
cx384 3d36a7b878 Move solid light functions to content_mapblock.cpp and refactor them 2026-09-26 14:00:54 +02:00
cx384 52e25d50f9 Simplify and optimize encode_light
Behavior did not change
2026-09-26 14:00:54 +02:00
cx384 2f7d40441b Dedublicate get smooth lighting QuadDiagonal 2026-09-26 14:00:54 +02:00
cx384 6c7d993e3b Don't calculate smooth lighting two times for allfaces 2026-09-26 14:00:54 +02:00
paradust7 64479614bb Don't process packet after it is determined to be corrupt 2026-09-26 14:00:40 +02:00
sfan5 f3bf8291b7 Increase graphics and map-related defaults slightly (#17554) 2026-09-24 23:44:52 +02:00
paradust7 d2d354ca12 Make m_peer_id atomic 2026-09-22 21:15:47 +02:00
Wuzzy 3a2c6c31d5 Improve documentation of core.hash_node_position 2026-09-22 21:15:37 +02:00
CrazyladMT 925fa33f2f Fix death screen text centering for older clients (#17580) 2026-09-22 21:15:25 +02:00
Acts1631 f5fb5605c7 Reclaim empty mod channels on disconnect (#17575) 2026-09-22 21:15:17 +02:00
Acts1631 d2a011abed Guard node form submissions by privilege and range (#17574) 2026-09-22 21:15:09 +02:00
Tygyh bdfe0b3775 Split getAreasInArea method into overlapping and containing versions (#17569) 2026-09-22 21:13:20 +02:00
red-001 49b2992d68 Bind to socket before starting server (#17512) 2026-09-22 21:11:22 +02:00
sfan5 343a6e03ef Build with SDL3 in one of the CI runs 2026-09-21 17:12:31 +02:00
CodingMantisUA b4eb8b91e6 HUD inventory: allow custom background per element (#17359) 2026-09-18 15:41:38 +02:00
sfan5 24a02a7e80 Improve --recompress and --migrate 2026-09-16 20:30:22 +02:00
sfan5 5be494c3b0 Some minor cleanups/fixes 2026-09-16 20:30:22 +02:00
sfan5 6c40725ce6 Don't try to statically save removed objects
This bug can only happen during server shutdown.
should fix #17530
2026-09-16 20:30:22 +02:00
paradust7 3312dc0d12 Optimization hints for sanity_check/FATAL_ERROR_IF (#17547) 2026-09-16 19:35:54 +02:00
paradust7 c7c27421f2 Fix unit tests on Windows (#17542)
* Fix Windows tests and re-enable unittest error reporting in the Windows CI

* Remove SSE flag. All X86-32 processors since 2006 have supported SSE2
2026-09-16 19:35:31 +02:00