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
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
eb79a76742
Android: update SDL support code ( #15853 )
2025-03-01 18:27:46 +01:00
millennIumAMbiguity
c0328e5363
Centered title in README.md and added icon
2025-03-01 12:27:43 +01:00
Joshua Gerrish
8d822d8231
Fix compile error with MSVC: string is not a member of std
2025-03-01 12:26:33 +01:00
y5nw
a11b25f3f5
Use fallback font correctly for fonts provided by the server
2025-03-01 12:25:24 +01:00
Lars Mueller
90121dc66f
Fix & improve glTF loader matrix decomposition
2025-02-27 12:31:04 +01:00
Lars Mueller
d74af2f1a7
Use matrix4::getRotationRadians
2025-02-27 12:31:04 +01:00
Lars Mueller
b6c71b2379
Improve matrix4::getRotationDegrees a bit, radians
2025-02-27 12:31:04 +01:00
Lars Mueller
c261c26456
Add Irrlicht rotation consistency unit tests
2025-02-27 12:31:04 +01:00
Lars Mueller
5abf220979
Fix random usage in matrix4 tests
2025-02-27 12:31:04 +01:00
Lars Mueller
1ceeea34f4
Extend quaternion tests
2025-02-27 12:31:04 +01:00
Lars Mueller
3ae1fd459a
Add quaternion conversion unit tests
2025-02-27 12:31:04 +01:00
Lars Mueller
0e86366324
Add test for matrix4::getRotationDegrees
2025-02-27 12:31:04 +01:00
Erich Schubert
58ad604a4b
Note that core.hash_node_position
is not a hash function
2025-02-27 12:30:55 +01:00
guinea7pig
415e96184d
Update copyright date in README
2025-02-26 12:22:19 +01:00
sfan5
8654e16725
Disable shadow force updates with performance_tradeoffs
2025-02-26 12:22:06 +01:00
sfan5
eb8b449817
Fix shadow performance regression due to force update
...
broken by: b861f0c5c5
2025-02-26 12:22:06 +01:00
sfan5
22c81e5292
Print if sdl2-compat is in use
2025-02-26 12:21:57 +01:00
sfan5
42a35cec83
Allow looking straight up or down
2025-02-26 12:21:57 +01:00
sfan5
fc8c6742c4
Update Wireshark dissector
2025-02-26 12:21:57 +01:00
sfan5
ee9258cefd
Clean up some packet-related code
2025-02-26 12:21:57 +01:00
grorp
5e89371ecd
TouchControls: touch_use_crosshair, dig/place simulation refactoring ( #15800 )
...
- get rid of simulated mouse events for digging/placing, use keyboard events
instead
- consistent with other simulated events, less code, no need for a
pointer position
- more correct: touch controls no longer break if you have custom
dig/place keybindings set
- move reading of "touch_use_crosshair" setting from Game to TouchControls
2025-02-25 13:19:44 -05:00
Andrii Nemchenko
abcd2e0b81
Re-save active entities more often if they move a certain distance ( #15605 )
2025-02-22 16:19:19 +01:00
sfan5
d12ce68e64
Show unknown object visuals using unknown_object.png sprite
2025-02-22 16:19:04 +01:00
sfan5
83fd837d75
Clean up TileLayer::applyMaterialOptions
2025-02-22 16:19:04 +01:00
sfan5
7d3f0628c4
Use visual = "node" for builtin falling node entity
...
This greatly simplifies the code at the expense of some
falling nodes not showing up on older clients.
2025-02-22 16:19:04 +01:00
sfan5
27bbe3a873
CAO 'node' visual ( #15683 )
2025-02-22 16:19:04 +01:00
sfan5
5a8720a484
Change material sharing for CMeshSceneNode
2025-02-22 16:19:04 +01:00
Andrii Nemchenko
e51221d247
Implement metadata-aware version of InvRef:remove_item() ( #15771 )
2025-02-22 16:18:48 +01:00
DS
0890125962
SDL Irr device: Ignore +-0.0f y mouse wheel events ( #15815 )
...
our code often assumes that it's non-zero, e.g.: `event.MouseInput.Wheel < 0 ? -1 : 1`
2025-02-22 16:17:07 +01:00
DS
0667cbf5a2
Clang-Tidy config: Ignore performance-avoid-endl and performance-inefficient-string-concatenation
2025-02-22 16:16:41 +01:00
sfan5
ba62808fe8
Basic camera control API ( #15796 )
2025-02-19 18:45:45 +01:00