grorp
b99f90ed80
Mainmenu: Trim whitespace from player name, address, port
2025-03-26 18:31:44 +01:00
Ricardo Costa
251bf0ec31
Fix possible nullptr dereference in serverpackethandler.cpp
2025-03-26 18:31:27 +01:00
ashtrayoz
b1363fce8e
Fix logic inversion for dynamic media (server-side fix) ( #15870 )
2025-03-24 21:35:20 +01:00
y5nw
4ba438a7ec
Improve KeyPress handling ( #15923 )
...
* Pass KeyPress by value
* TouchControls: add setting change callback for keybindings
2025-03-21 12:07:51 +01:00
grorp
ead44a27ca
TouchControls: Implement an option for dig/place buttons ( #15845 )
2025-03-21 12:06:44 +01:00
sfan5
1f14b7cb1b
Make remote media exclusively use GET for hash set ( #15885 )
2025-03-19 22:06:34 +01:00
sfan5
a9a3b05cc3
Prevent registration of certain new content after load time
2025-03-19 22:05:01 +01:00
sfan5
ca047c3e58
Warn on core.override_item() after server startup
2025-03-19 22:05:01 +01:00
sfan5
2540667f04
Warn if metatable passed to itemdef registration function
2025-03-19 22:05:01 +01:00
JosiahWI
4125ce877d
Do not discover mod directories that fail parsing ( #15917 )
...
The root issue of the unit test failure is that all directories that are found in the mod search are counted as mods, even if they are detected to be invalid as such by the parser. For example, the presence of an init.lua file is required, and the parser will return false if one is not found. This return value was completely ignored. Simply counting the mod conditionally on the parsing success makes the modserver tests pass on MSVC.
2025-03-19 18:43:19 +01:00
SmallJoker
f1364b1e0b
GUI: Use the client's fonts for 'Open URL?' dialogues
...
This popup is related to user safety, thus it should not
use server-provided font media files.
2025-03-19 18:42:26 +01:00
SmallJoker
5b2b2c7796
Game: disable 'toggle_sneak_key' while flying
2025-03-19 18:42:26 +01:00
y5nw
cc65c8bd70
SDL: Use scancodes for keybindings ( #14964 )
...
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>
2025-03-16 20:35:34 +01:00
cx384
e0378737b7
Fix overrideable hand ToolCapabilities and range ( #15743 )
2025-03-16 20:03:31 +01:00
Xiaochuan Ye
d085f0fb52
Document core.MAP_BLOCKSIZE constant in lua_api.md ( #15911 )
2025-03-16 20:02:42 +01:00
AFCMS
efded8f0bb
Bump OARS content rating to 1.1
2025-03-16 17:57:18 +01:00
Erich Schubert
8ac7c451e1
update documentation
2025-03-16 17:56:58 +01:00
Erich Schubert
1f3cf59c7f
Clean up position encoding
...
We can simply add 0x800800800 to the encoding, then use bit masking.
This works because adding 0x800 maps -2048:2047 to 0x000:0xFFF.
And 0x800800800 is (0x800 << 24 + 0x800 << 12 + 0x800) for x,y,z.
After bitmasking, -0x800 restores the original value range.
2025-03-16 17:56:58 +01:00
Erich Schubert
c439d784ac
add unit tests for map block position encoding
2025-03-16 17:56:58 +01:00
sfan5
42ac5b2f40
Mostly deal with problems caused by polygon offset ( #15867 )
2025-03-16 17:56:32 +01:00
Deve
c07499ccfc
Reload font manager in main thread to avoid a crash ( #15900 )
2025-03-16 17:55:39 +01:00
sfan5
4b85062caf
Improve robustness of GL object handling
2025-03-14 11:52:52 +01:00
Lars Müller
077828d0d9
Add table.copy_with_metatables
( #15754 )
2025-03-14 11:52:42 +01:00
Miguel P.L
8717c7bd00
Fix excessive space on README.md
2025-03-11 20:00:58 +01:00
SmallJoker
23d0fb2d3f
builtin: Return 'obj' from 'core.item_drop' ( #15880 )
...
This also includes a minor bugfix where 'itemstack' was cleared
even if the object placement failed.
2025-03-11 20:00:35 +01:00
sfan5
afb15978d9
Clean up and compress some pre-join packets ( #15881 )
2025-03-11 20:00:07 +01:00
sfan5
287880aa27
Refresh win32 toolchain and libraries ( #15890 )
2025-03-11 19:59:03 +01:00
cx384
b9ed4793ea
Move drawItemStack out of hud.h/cpp ( #15868 )
2025-03-11 10:00:04 +01:00
Alex
dadd097f32
Echo DMs sent with /msg ( #15887 )
2025-03-11 09:59:51 +01:00
lhofhansl
017318f117
Avoid touching all blocks in range every 0.2s ( #15878 )
...
Instead touch these blocks every 4s.
2025-03-08 12:42:50 -08:00
cx384
18ac8b20fa
Replace object visual by enum ( #15681 )
2025-03-06 21:02:11 +01:00
Medley
63701de45f
Make Sneak
and Aux1
optionally togglable ( #15785 )
2025-03-06 21:01:43 +01:00
sfan5
7892541383
Various random code cleanups
2025-03-04 19:53:01 +01:00
sfan5
358658fa34
Fix cloud-related bugs
...
First, this reverts 56123b2fbe
,
which un-fixes #15031 but fixes #15798 and #15854 .
Then we disable culling for the cloud scene node which fixes #15031 again.
2025-03-04 19:53:01 +01:00
sfan5
68602b2eaf
Fix shadow flicker on camera offset update (take 2)
...
The previous fix never did what it was supposed to, so let's do this.
2025-03-04 19:53:01 +01:00
sfan5
e84ac56e35
Don't try to update uninitialized shadow frustum
2025-03-04 19:53:01 +01:00
sfan5
47c000a293
Add unittest that lints builtin JSON files
2025-03-04 19:53:01 +01:00
sfan5
304ce4cd54
Fix syntax error in credits.json
...
reported at <https://forum.luanti.org/viewtopic.php?p=442729 >
As it happens this didn't affect most users as jsoncpp allows trailing commas
by default since 2019.
2025-03-04 19:53:01 +01:00
sfan5
d54646d342
Improve error handling of map database creation
2025-03-04 19:53:01 +01:00
sfan5
7abaa8d4cd
Make Irrlicht identity material const
2025-03-04 19:53:01 +01:00
sfan5
2796283550
Remove broken fall bobbing
2025-03-04 19:53:01 +01:00
sfan5
7602308835
Revert "Restrict relative mouse mode to Wayland users ( #15697 )"
...
see #15761
SDL is the only device that supports relative mode and
mouse input is actually somewhat broken if it's *not* enabled.
This reverts commit 45c5ef8798
and 88b007907a
.
2025-03-04 19:53:01 +01:00
sfan5
bc43019467
Fix TerminalChatConsole crash
...
this setting was removed in #15633
2025-03-04 19:53:01 +01:00
sfan5
8449f5f6db
Make devtest grass use overlay tiles
2025-03-04 19:53:01 +01:00
Medley
0eb047ca33
Disable debug-breaking locale workaround when debugging ( #15859 )
2025-03-03 20:33:42 +01:00
wrrrzr
98048cb06d
Fix missing includes in skyparams.h
2025-03-03 20:33:19 +01:00
Erich Schubert
6e995972bb
check y limits early
2025-03-03 20:33:05 +01:00
Erich Schubert
08fad862aa
Code cleanups. Function does not return deco count.
2025-03-03 20:33:05 +01:00
sfan5
c3477a4d08
Adjust Android default view range and mapblock limit
2025-03-01 22:40:10 +01:00
sfan5
062207e696
Enforce minimum client_mapblock_limit depending on view range
2025-03-01 22:40:10 +01:00