1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00
Commit graph

550 commits

Author SHA1 Message Date
Gefüllte Taubenbrust
51cb37570a Various changes and fixes
Hopefully this works, I haven't yet checked in detail for any problems.
2025-05-20 21:40:19 +02:00
Gefüllte Taubenbrust
e05544b84e Merge remote-tracking branch 'upstream/master' into Visuals-Vol-2 2025-05-20 20:01:46 +02:00
grorp
0cf1c47f6c
Fix scrollbar on ContentDB grid by adding an area label (#16042)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2025-04-21 12:33:41 +02:00
Gefüllte Taubenbrust
fa212d19f7 Merge remote-tracking branch 'upstream/master' into Visuals-Vol-2 2025-04-13 11:33:37 +02:00
sfan5
dea95c7339 Reduce transitive includes by moving a class 2025-03-30 18:17:19 +02:00
Ricardo Costa
251bf0ec31
Fix possible nullptr dereference in serverpackethandler.cpp 2025-03-26 18:31:27 +01:00
cx384
e0378737b7
Fix overrideable hand ToolCapabilities and range (#15743) 2025-03-16 20:03:31 +01:00
sfan5
afb15978d9
Clean up and compress some pre-join packets (#15881) 2025-03-11 20:00:07 +01:00
sfan5
7892541383 Various random code cleanups 2025-03-04 19:53:01 +01:00
SmallJoker
24c1230c7b Client: fix disappearing node inventories on older servers
ee9258ce introduced a logic error, which caused clients to lose
node metadata when they should not and vice-versa.
See also: server.cpp / Server::sendAddNode
2025-03-01 21:05:17 +01:00
sfan5
ee9258cefd Clean up some packet-related code 2025-02-26 12:21:57 +01:00
sfan5
ba62808fe8
Basic camera control API (#15796) 2025-02-19 18:45:45 +01:00
sfan5
d027fc9a88 Enable ipv6_server by default 2025-02-15 12:18:07 +01:00
sfan5
a11d526110 Rework socket IPV6_V6ONLY handling 2025-02-15 12:18:07 +01:00
ROllerozxa
dd0070a6b8
Expose client version information in non-debug builds (#15708)
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
Co-authored-by: sfan5 <sfan5@live.de>
2025-02-09 18:09:07 +01:00
Lars Müller
a73e71510a
Clamp client-sent movement speed control (#15721)
Results in the `movement_x` and `movement_y` fields of `player:get_player_control()` being safe to use
(otherwise users would need to compute the length as `(x^2 + y^2)^0.5` and clamp that to 1 themselves).
2025-02-04 12:19:00 +01:00
SmallJoker
b2a6c3ba23 Server: undo inventory client prediction
The affected player inventory list is now marked as modified.
This way, it will also be re-sent if the server denies the action.
2025-02-02 19:05:09 +01:00
sfan5
c0422b18e7
Propagate peer ID change to outgoing reliables (#15680)
Otherwise a desync could ocurr since the server does strict checking.
fixes #15627
2025-02-01 13:23:00 +01:00
Gefüllte Taubenbrust
6b1785eb2c Merge remote-tracking branch 'upstream/master' into Visuals-Vol-2 2025-01-14 20:31:26 +01:00
SmallJoker
e8f6127779
Reduce irrlicht_extrabloated.h includes in header files 2025-01-04 12:39:34 +01:00
Gefüllte Taubenbrust
cb5d97e751 Apply suggestions 2024-12-28 10:47:57 +01:00
Gefüllte Taubenbrust
e7c7441429 Merge remote-tracking branch 'upstream/master' into Visuals-Vol-2 2024-12-22 19:08:52 +01:00
Gefüllte Taubenbrust
b3710a982e Fixes and Lua control 2024-12-20 15:00:01 +01:00
DS
bcbee873e8
Use openssl's sha1 and sha256, optionally (#15472) 2024-12-10 22:00:43 +01:00
SmallJoker
c175046d30
Network: Fix serialization version checks (#15477)
This fixes some incorrect assumptions that the read and write version ranges are identical - whereas they're in fact not.
2024-11-27 18:39:57 +01:00
Lars Müller
b77ad82fb9
Sanitize invalid particle spawner time (#15465) 2024-11-24 19:23:53 +01:00
Lars Müller
138052adfc
Add particle blend mode "clip" (#15444)
This lets modders avoid alpha blending rendering bugs as well as potential (future) performance issues.
The appropriate blend modes are also used for node dig particles.

---------

Co-authored-by: sfan5 <sfan5@live.de>
2024-11-19 13:30:17 +01:00
Gefüllte Taubenbrust
00ef9b14d0 Merge remote-tracking branch 'upstream/master' into Visuals-Vol-2 2024-11-17 12:02:30 +01:00
sfence
03cf7a8e05
Make Luanti buildable for macOS 10.15 also. (#15352) 2024-10-28 19:40:28 +01:00
sfence
d849d51c2d
Replace licensing text in headers (LGPLv2.1) (#15321) 2024-10-28 15:57:39 +01:00
Gefüllte Taubenbrust
4b88a32c1c Various changes, fixes and features 2024-10-27 21:36:40 +01:00
sfan5
b61c83a19d Move some more sources to shared target 2024-10-16 19:39:59 +02:00
Lars Mueller
067a5b5ac3 Fix local animations not working (was broken in 06907aa) 2024-10-13 15:48:39 +02:00
Gefüllte Taubenbrust
b6c099073f Merge remote-tracking branch 'upstream/master' into Visuals-Vol-2 2024-10-11 20:44:12 +02:00
Zemtzov7
1b2d24791a
Separate anticheat settings (#15040) 2024-10-11 12:01:22 +02:00
Lars Mueller
06907aa99b Support floating-point animation frame numbers 2024-10-10 21:39:57 +02:00
grorp
6ac4447134
Make bloom parameters server-controlled (#15231) 2024-10-09 15:08:03 +02:00
SmallJoker
13f533d490
scrollcontainer: Add automatic scrollbar calculation (#14623)
New parameter 'content padding'. When specified, the scrollbar
max value is calculated automatically. This aims to reduce manual
calculation functions.
2024-10-08 21:45:27 +02:00
SmallJoker
3797ca52c4
Network: offload often changed constants to source file (#15207)
* Network: offload often changed constants to source file

This prevents unnecessary recompiling when using incremental builds.
There is also no need to have separate max proto version variables;
as they're subject to the handshake between client and server. The
code is also expected to support the same version (or higher).

Co-authored-by: sfan5 <sfan5@live.de>
2024-10-02 11:01:30 +02:00
Gefüllte Taubenbrust
1bf1d0b2ff Remove volumetrics stuff and some changes 2024-10-01 20:00:24 +02:00
grorp
22ef4c8be1
Expose analog joystick input to the Lua API (#14348) 2024-10-01 17:21:42 +02:00
grorp
fbb0e82679
Fix uninitialized shadow tint regression from #14610 (#15197)
* Fix uninitialized shadow tint

This resulted in shadows having a different, random color each time I started a game

* Fix formatting mistakes from the same PR
2024-09-27 11:08:35 +02:00
Gefüllte Taubenbrust
71e648a776 Merge remote-tracking branch 'upstream/master' into Visuals-Vol-2 2024-09-25 20:53:09 +02:00
grorp
526a2f7b8c
Dehardcode the death formspec (#15155)
Co-authored-by: Paul Ouellette <oue.paul18@gmail.com>
2024-09-24 22:37:44 +02:00
GefullteTaubenbrust2
d8f1daac25
Visual Effects Vol. 1 (#14610)
This PR adds a variety of effects to enhance the visual experience.

    "soft" clouds look
    Tinted shadows
    Crude water reflections (sky and sun) and waves
    Translucent foliage
    Node specular highlights
    Adjusted fog color (more saturated where the fog is lighter)
    Minor changes to volumetric lighting (crudely simulates the effect of depth)

Co-authored-by: sfan5 <sfan5@live.de>
2024-09-24 11:14:27 -07:00
1F616EMO~nya
38b4505ad7
Allow requesting reconnect when mods kick player (#14971) 2024-09-12 23:42:46 +02:00
sfan5
72c306d920 Improve some protocol code log messages
also get rid of the very noisy socket debug message that are
useless in a world where Wireshark exists.
2024-09-12 23:41:56 +02:00
sfan5
f54f2c1601 Fix RTT set before value is available 2024-09-12 23:41:56 +02:00
sfan5
42af7cc1c5 Nerf protocol window sizes
Probably due to a unit misunderstanding a long time ago the window sizes
were quite insane (especially the default).
In practice this was sometimes hidden by other bugs, games trying their
best to be lightweight or didn't matter on high-quality internet connections.
2024-09-12 23:41:56 +02:00
sfan5
9c2b2c002c Count duplicate packets as congestion indicator 2024-09-12 23:41:56 +02:00