1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00
Commit graph

12616 commits

Author SHA1 Message Date
y5nw
23bfb2db72
Move keybinding settings to (Lua-based) setting menu (#15791) 2025-04-20 20:20:49 +02:00
y5nw
c1d2124102
SDL: Send events for X1 and X2 mouse buttons (#16025) 2025-04-20 20:20:33 +02:00
y5nw
bf15036831
Show SDL version in the About tab (#16046) 2025-04-20 20:20:22 +02:00
y5nw
2bb7ed208c
Add vcpkg.json (#15863) 2025-04-20 13:28:31 +02:00
Travis Wrightsman
0695541bf5
Fix cross-building by ensuring output path is set 2025-04-17 12:35:31 +02:00
sfence
7375358afd
Fix warning in mg_decoration.cpp 2025-04-17 12:35:14 +02:00
Vincent Robinson
fd85737460
Add allow_close[] element to formspecs (#15971) 2025-04-16 16:20:39 -07:00
sfan5
04e82749db Make ETLF_FLIP_Y_UP_RTT work for texture download on GLES 2025-04-15 21:42:47 +02:00
sfan5
cf07b56235 Expand workarounds for format inconsistency with BGRA8888 extension on GLES
fixes #16011
2025-04-15 21:42:47 +02:00
sfan5
37d2bc8a5f
Reuse some allocations in ClientMap rendering 2025-04-15 21:42:39 +02:00
sfence
a9c197b1e5
Expand usable range of fill_ratio to about 2.3e-10 (#16026) 2025-04-15 21:42:12 +02:00
sfan5
bdaabad53c
Warn if async engine seems stuck (#16010) 2025-04-14 17:18:33 +02:00
DS
60c47c51e0
Optimize name-id-lookup for MapBlock serialization (#16000) 2025-04-14 17:18:21 +02:00
rubenwardy
75862e33b6
ContentDB: Add reviews tab (#15254) 2025-04-13 16:07:01 +01:00
Erich Schubert
78293404c7
Rename perlin noise to value noise (#15858) 2025-04-10 14:39:40 +02:00
sfan5
372e37faf2 Minor correction to how buildbot finds packages 2025-04-10 14:39:21 +02:00
sfan5
124d770823 Fix edge-case where manually set gameid isn't used 2025-04-10 14:39:21 +02:00
sfan5
9d81c02f27 Add/remove/change some log messages for clarity 2025-04-10 14:39:21 +02:00
sfan5
a00b9cab36
Fix operator[] for vector2d and vector3d being potentially UB (#15977)
We don't have a C++ expert on hand, but taking a pointer to one member
and expecting to access another by an offset is very fishy:
- for one, there could theoretically be padding
- the compiler might assume that we are only writing to that first member

The new code has shown to be free for constant parameter values.
Non-constant ones cause the assembly to have branches (why?), but we don't
use that much.
2025-04-08 22:25:45 +02:00
sfan5
46db688cc8 Implement support for array textures in GL driver
note: feature detection was not implemented in the legacy driver, but the code itself probably works.
2025-04-08 22:24:37 +02:00
sfan5
d5bf094f9a Prefer immutable texture storage when available 2025-04-08 22:24:37 +02:00
sfan5
427a7e4998 Split texture initialization code from upload 2025-04-08 22:24:37 +02:00
sfan5
9ff07df45e Fix GLES texture download to handle mipmaps and cubemap type 2025-04-08 22:24:37 +02:00
sfan5
38c3876c4e Drop support for storing mipmap data alongside IImage 2025-04-08 22:24:37 +02:00
sfan5
03affa1bbb Some minor code cleanups 2025-04-08 22:24:37 +02:00
Lars Müller
7689f1f0fd
Improve some warning messages (#15990) 2025-04-08 22:24:00 +02:00
Lars Müller
a3648b0b16
Add spatial index for objects (#14631) 2025-04-08 08:44:53 +02:00
cx384
bed36139db
Fix struct forward declaration 2025-04-07 01:38:32 +02:00
lhofhansl
6a71095655
Break liquid reflow scan early for all-air blocks (#15975)
Avoid scanning the a newly loaded block if it is all air and no liquid is flowing from above.
2025-04-05 11:01:39 -07:00
cx384
52b974184d
Move client code out of ItemDefManager (#15967) 2025-04-04 18:58:14 +02:00
cx384
a6d4cd7c15
Draw node animation for items (#15930) 2025-04-04 18:47:11 +02:00
Elias Åström
1db5a2f950
Add delay between punching and digging node (#15931) 2025-04-04 18:46:27 +02:00
Lars Müller
884f411387
Set CMAKE_POLICY_VERSION_MINIMUM=3.5 to make MSVC CI work again (#15978)
Co-authored-by: Josiah VanderZee <josiah_vanderzee@mediacombb.net>
2025-04-04 18:46:03 +02:00
grorp
66dedf1e21
lua_api.md: Mapblock-related and misc improvements (#15972)
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: DS <ds.desour@proton.me>
2025-04-03 13:46:06 -04:00
grorp
7dbd3a0744
lua_api.md: More info in LBM run_at_every_load documentation (#15956) 2025-04-02 10:05:23 -04:00
sfan5
47c75b3294
ImageSource: restrict max dimensions to protect from integer overflows (#15965) 2025-04-01 19:12:37 +02:00
Jisk
0179021acc
lua_api.md: MAX_WORKING_VOLUME is now 150 million 2025-04-01 19:12:22 +02:00
Lars Müller
2569b50252
Deprecate some legacy item registration logic (#15950) 2025-04-01 19:12:00 +02:00
grorp
c30c94dfaa
Add server/client annotations to settingtypes.txt and make use of them (#15756) 2025-04-01 07:55:47 -04:00
lhofhansl
6724068659
Slight fix to #15949 to handle emerge queue full (#15960)
Partially restore the existing logic, and try to enqueue a block as before, if the queue is full it will be handled correctly.
2025-03-31 21:31:10 -07:00
sfan5
1281173e50 Use secure randomness to seed internal RNG 2025-03-30 18:17:19 +02:00
sfan5
785c042f1f Drop gzip support from CZipReader
This allowed reading concatenated gzip-compressed files as if they were an archive.
Aside from being generally uncommon we literally don't need this.
2025-03-30 18:17:19 +02:00
sfan5
ae0f955a0e Add nodiscard attribute to helper functions where it makes sense 2025-03-30 18:17:19 +02:00
sfan5
e6acc4e7ed Delete TestCAO 2025-03-30 18:17:19 +02:00
sfan5
2602d03b34 Split ABM/LBM from serverenvironment.cpp to own file 2025-03-30 18:17:19 +02:00
sfan5
dea95c7339 Reduce transitive includes by moving a class 2025-03-30 18:17:19 +02:00
sfan5
b146673c3d Remove old mystrtok_r for MinGW 2025-03-30 18:17:19 +02:00
sfan5
e73eed247e Apply some refactoring/cleanup to mainly util functions 2025-03-30 18:17:19 +02:00
sfan5
89e3bc8d56 Improve std::hash<SMaterial> implementation 2025-03-30 18:17:19 +02:00
wrrrzr
d7edf0b229
Set StartupWMClass in desktop file
see #15942
2025-03-30 18:17:10 +02:00