1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00
Commit graph

8066 commits

Author SHA1 Message Date
sfan5
b2c2a6ff47 Rename IShaderConstantSetter 2025-04-21 12:32:29 +02:00
sfan5
4c4e296274
Handle texture filtering sanely to avoid blurriness (#16034) 2025-04-21 12:31:44 +02:00
Lars Mueller
1c5776d13a FATAL_ERROR for orphan object refs in objectrefGetOrCreate 2025-04-20 20:49:10 +02:00
Lars Mueller
e1143783e5 Fix some (MSVC) compiler warnings 2025-04-20 20:49:10 +02:00
y5nw
23bfb2db72
Move keybinding settings to (Lua-based) setting menu (#15791) 2025-04-20 20:20:49 +02:00
y5nw
bf15036831
Show SDL version in the About tab (#16046) 2025-04-20 20:20:22 +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
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
Gefüllte Taubenbrust
282b9ad7c5 Fix stuff 2025-04-13 14:56:08 +02:00
Gefüllte Taubenbrust
fa212d19f7 Merge remote-tracking branch 'upstream/master' into Visuals-Vol-2 2025-04-13 11:33:37 +02:00
Erich Schubert
78293404c7
Rename perlin noise to value noise (#15858) 2025-04-10 14:39:40 +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
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
sfan5
47c75b3294
ImageSource: restrict max dimensions to protect from integer overflows (#15965) 2025-04-01 19:12:37 +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
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
wrrrzr
4bc366b984
Refactor createShadowRenderer 2025-03-30 18:16:45 +02:00
y5nw
4cd2273349
Refactor input handler (#15933) 2025-03-30 18:16:20 +02:00
SmallJoker
309c0a0cb6
Formspec: fix clamped scroll offset of scroll_containers larger than 1000px 2025-03-30 18:15:38 +02:00
lhofhansl
8f8d7c4088
Check if a block is already in the emege queue before checking occlusion culling and trying to reemerge (#15949) 2025-03-28 11:31:54 -07:00
grorp
b0bc6ce637
TouchControls: Take FOV into account for camera movement (#15936) 2025-03-28 07:43:59 -04:00
lhofhansl
fbc525d683
Restore behavior of emergequeue_limit_total (#15947)
* And make sure `emergequeue_limit_total` is >= max(`emergequeue_limit_diskonly`, `emergequeue_limit_generate`)
2025-03-27 18:59:38 -07:00
sfan5
db15bc6466 Some more random code cleanups 2025-03-26 20:49:43 +01:00
sfan5
f63436c8d3 Add basic unittests for LBMManager 2025-03-26 20:49:43 +01:00
sfan5
7b746d21f9 Make sure generated blocks have their timestamp set
behavior change: newly generated blocks are no longer momentarily activated.
this shouldn't matter for anyone and did not consistently apply to all blocks anyway

addresses issue from #15902 for new maps(!)
2025-03-26 20:49:43 +01:00
sfan5
ed40ea010b Improve edge case handling in LBMManager 2025-03-26 20:49:43 +01:00
sfan5
3dca2cd26a Strip leading colon from LBM names 2025-03-26 20:49:43 +01:00
sfan5
71cd25a798 Preserve LBM ordering when running them
(broken in 811adf5d42)
2025-03-26 20:49:43 +01:00
sfan5
ea1e8797a3 Fix performance bug with applying LBMs 2025-03-26 20:49:43 +01:00
JosiahWI
8fc7bf2af4
Fix core.get_content_info docs and harden implementation (#15925) 2025-03-26 19:03:53 +01:00