1
0
mirror of https://github.com/luanti-org/luanti.git synced 2026-01-11 11:45:25 +01:00
Commit Graph

13180 Commits

Author SHA1 Message Date
maxchen32
f41a21d251 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 98.9% (1447 of 1463 strings)
2026-01-06 22:56:48 +01:00
Siber
2fa6aeaf7a Translated using Weblate (Turkish)
Currently translated at 77.6% (1136 of 1463 strings)
2026-01-06 22:56:48 +01:00
Quốc Kiệt Nguyễn Hữu
f975af3b61 Translated using Weblate (Vietnamese)
Currently translated at 43.8% (642 of 1463 strings)
2026-01-06 22:56:48 +01:00
Tarás Lavrentiev
2ed67dd3ec Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1463 of 1463 strings)
2026-01-06 22:56:48 +01:00
BlackImpostor
2bda4ef249 Translated using Weblate (Russian)
Currently translated at 100.0% (1463 of 1463 strings)
2026-01-06 22:56:48 +01:00
waxtatect
ea3aba5eb6 Translated using Weblate (French)
Currently translated at 100.0% (1463 of 1463 strings)
2026-01-06 22:56:48 +01:00
ninjum
f873f3af68 Translated using Weblate (Galician)
Currently translated at 100.0% (1463 of 1463 strings)
2026-01-06 22:56:48 +01:00
alasa ala
66e9c7583b Translated using Weblate (Korean)
Currently translated at 100.0% (1463 of 1463 strings)
2026-01-06 22:56:48 +01:00
BreadW
df70ca4b1f Translated using Weblate (Japanese)
Currently translated at 99.7% (1459 of 1463 strings)
2026-01-06 22:56:48 +01:00
Thierry FOURNIER
a3cc982ecf Add PlayStation 5 DualSense controller support (#16808)
Implements a complete button and axis layout for the PS5 DualSense
controller on macOS, matching Minecraft-style controls:

- Analog sticks: Movement (left) and camera control (right)
- Face buttons: Jump (X), Sneak (Circle), Camera mode (Square),
  Drop item (Triangle)
- Triggers: L2/R2 mapped as analog axes for dig/place actions
- Bumpers: L1/R1 for hotbar navigation
- Stick clicks: L3 for sprint, R3 for zoom
- D-pad: Fly mode, autoforward, minimap, fast movement
- Touchpad click opens inventory
- Options button for pause menu

The layout is automatically detected when a controller named
"DualSense" is connected, or can be manually selected with
`joystick_type = ps5`.

Note: L2/R2 triggers use negative direction (-1) due to their
analog axis range going from -32768 (released) to +32767 (pressed).
2026-01-05 22:35:01 +01:00
y5nw
07b8268d57 Implement secondary keybindings (#16803)
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2026-01-05 22:34:25 +01:00
sfan5
42906dbe54 Raise MAX_REGISTERED_CONTENT (#16804) 2026-01-04 15:01:25 +01:00
y5nw
ae9843cf3c Allow sneak toggling when player does not have the fly priv (#16781) 2026-01-04 15:01:15 +01:00
SmallJoker
f10203606a Serialize: Fix ItemDef regression introduced by 3d10d4e85 (2)
This restores compatibility with server version == 5.7.0.
The issue was caused by incorrectly assuming that the commit pointed
out by git-blame did introduce the "sound_use*" calls whereas it only
touched these lines without any functional change.

Introducing another check in between does correct this mistake.
2026-01-04 10:45:37 +01:00
sfan5
8e19d382cf Make fs::RecursiveDelete() silent if nothing to do 2026-01-04 00:13:46 +01:00
SmallJoker
497d776851 Serialize: Fix ItemDef regression introduced by 3d10d4e85 2026-01-03 16:33:45 +01:00
sfan5
9f6789e191 Update copyright years
it's 2026 now
2026-01-03 15:54:06 +01:00
Bedwizen
f23cfd39e8 Keybinds UI: Only show "reset" button if value differs from default (#16774) 2026-01-03 15:48:49 +01:00
cx384
14427725ae Select Mods: Show world mods (#16799) 2026-01-03 15:48:13 +01:00
SmallJoker
3d10d4e859 Serialize: Throw exception on incomplete reads (#16796)
Several mistakes were made past where the stream was expected to raise
the EOF flag when reaching the end of stream. That is incorrect. The
flag is only raised if the current read operation fails.

This commit unifies all istream compatibility code to use 'canRead'
for reliable EOF detection. An exception is now thrown when a
value cannot be read completely (e.g. missing bytes).
Version comments are added for easier backtracing.
2026-01-03 11:13:14 +01:00
DS
6079d762ce Fix corner case when unknown node ids run out (#16790)
* Fix `NodeDefManager::allocateId()` not terminating after overflow

* MapBlock::correctBlockNodeIds(): Do not ignore errors

Ignoring would lead to information loss, as the local ids were not translated, so they were
replaced by different nodes.
There is `ignore_world_load_errors` to ignore errors.

* Do not advertise without warning for ignore_world_load_errors
2025-12-31 15:19:45 +01:00
SmallJoker
7a73d37aee Client: Fix crash in 'plantlike' nodes with no textures (#16792) 2025-12-31 15:19:23 +01:00
lhofhansl
ed62451ad3 Use std::mutex for the env lock (instead of ordered_mutex) (#16739)
This is helpful with multiple emerge threads.
2025-12-31 12:18:13 +01:00
CrazyladMT
975699a950 Show proper default key name in reset tooltip on keybindings menu (#16777)
* implement 'core.scancode_to_keyname()' and use it to fix something

* fix whitespaces and fix another thing

* ._.

* lol

* rename to get_key_description

* add case for keybindings whose defaults are not bound

* apply y5nw's suggestions

* lmao I'm so dumb
2025-12-30 11:58:52 +01:00
Andrii Nemchenko
3b30e131ce Clarify documentation regarding particlespawner's attract.strength parameter (#16726) 2025-12-28 15:30:50 +01:00
cx384
caa36c24d6 Document world.mt setting world_name (#16747) 2025-12-28 15:30:38 +01:00
sfan5
1dbb3eae32 Clarify that punch toolcaps are not optional (#16720) 2025-12-28 15:30:25 +01:00
sfan5
f18d122a8e Add AI notice to pull request template 2025-12-27 22:22:30 +01:00
y5nw
6fd46c05ae Translate key names in KeyPress::name() (#16779)
* Make KeyPress::name() return translated key names

* minor
2025-12-27 13:24:57 +01:00
sfan5
46436248de Merge colorized buffers after meshgen (#16763) 2025-12-24 11:58:31 +01:00
CrazyladMT
c7300c1319 Preserve color across newline‑split log messages in chat (#16769) 2025-12-24 11:58:17 +01:00
sfan5
8d1db8413f Make UniqueQueue use unordered_set 2025-12-24 11:57:05 +01:00
lhofhansl
8883c4cb23 Process (a chunk local) liquid queue early when blocks are generated (#16771)
When generating a new chunk, the chunk's liquid queue is processed immediately, instead of adding entries to the global liquid queue. Since the generated have not been sent to the client, this avoids sending duplicate blocks (that interfere with map sending) later when the global liquid queue is processed.
2025-12-24 10:02:26 +01:00
siliconsniffer
f91e58abab Allow taking screenshots in main menu (#16749)
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: siliconsniffer <siliconsniffer@users.noreply.github.com>
2025-12-21 12:08:16 +01:00
sfan5
17a33fccd7 Update default font files to fix kerning after 7570e95
We discovered that the new font versions now rely on the GPOS
table for kerning. However bare freetype (as used by CGUITTFont)
doesn't read this data. This caused kerning for these fonts to
stop working.

The new files were generated by opening the fonts in FontForge
and immediately exporting them again in TrueType format after
enabling Options -> OpenType -> Old style 'kern'.
No other changes made.
2025-12-21 12:05:54 +01:00
lhofhansl
c4dd90b350 Bring back max runstep profiler entry (#16766) 2025-12-21 10:42:01 +01:00
sfence
0535b0c09d MacOS: build with openal-soft (#16765) 2025-12-20 15:14:58 +01:00
Zughy
0fe6827dae Add alpha channel in HUD text elements (#16730) 2025-12-20 15:14:08 +01:00
Starkiller1St
4cb32467d3 Fix singleplayer lockout when changing password (#16673) 2025-12-20 15:13:04 +01:00
Wuzzy
f567449cd6 Add more information in PlayerHPChangeReason (#16024)
1) Add `node` and `node_pos` field for the `drown` field (analog to `node_damage` type)
2) Add `custom_type` field to allow a standardized way to report more details of the HP change
3) Make `builtin` report a `custom_type` for the HP changes caused by the `/kill` command and `core.do_item_eat`
4) Move the documentation of `PlayerHPChangeReason` to its own section
5) Fill in missing information of said documentation
2025-12-20 15:12:34 +01:00
siliconsniffer
9c37b46e1f Restore server description in menu (#16742)
fix #16737
2025-12-14 17:43:00 +01:00
sfan5
5dee294a72 Fix problem with _LIBCPP_ENABLE_ASSERTIONS 2025-12-14 17:42:42 +01:00
sfan5
5b05fcf8e1 Apply some general fixes to porting code 2025-12-14 17:42:42 +01:00
sfan5
22b5c939dc Update MinGW libraries and toolchain 2025-12-14 17:42:24 +01:00
Zughy
87669f982c Breakages: split fog from sky functions 2025-12-10 21:32:53 +01:00
Wuzzy
876dfb1eb9 Remove hardcoded color of infobox in /help (#16727) 2025-12-10 21:32:42 +01:00
sfan5
2ecd127f96 Fix errors with fs::RecursiveDelete() on paths that don't exist 2025-12-10 21:32:05 +01:00
sfan5
f6c472fd2c Rename launcher exe to be lowercase, and update RC file 2025-12-09 18:02:12 +01:00
sfan5
ac7fb75ea3 Add self-extracting launcher for Windows 2025-12-08 23:19:50 +01:00
sfan5
92709b4671 Remove WiX stuff 2025-12-08 23:19:50 +01:00