cx384
bb38c0d107
Remove p.layer.animation_frame_count
2025-09-21 22:19:14 +02:00
cx384
77290934b7
getTextureForMesh
...
Co-authored-by: sfan5 <sfan5@live.de>
2025-09-21 21:43:51 +02:00
cx384
3a607c545c
Fix crack on animated tiles
2025-04-07 21:51:01 +02:00
cx384
bed36139db
Fix struct forward declaration
2025-04-07 01:38:32 +02: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
sfan5
e6acc4e7ed
Delete TestCAO
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
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
grorp
b0bc6ce637
TouchControls: Take FOV into account for camera movement ( #15936 )
2025-03-28 07:43:59 -04: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
sfan5
1f14b7cb1b
Make remote media exclusively use GET for hash set ( #15885 )
2025-03-19 22:06:34 +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
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
afb15978d9
Clean up and compress some pre-join packets ( #15881 )
2025-03-11 20:00:07 +01:00
cx384
b9ed4793ea
Move drawItemStack out of hud.h/cpp ( #15868 )
2025-03-11 10:00:04 +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
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
062207e696
Enforce minimum client_mapblock_limit depending on view range
2025-03-01 22:40:10 +01:00
y5nw
a11b25f3f5
Use fallback font correctly for fonts provided by the server
2025-03-01 12:25:24 +01:00
Lars Mueller
d74af2f1a7
Use matrix4::getRotationRadians
2025-02-27 12:31:04 +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
42a35cec83
Allow looking straight up or down
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
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
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
sfan5
ba62808fe8
Basic camera control API ( #15796 )
2025-02-19 18:45:45 +01:00
Desour
138111a542
Don't use fps_max_unfocused for server step time on non-singleplayer main-menu-hosted servers
...
It's unreasonable to change server step time when the hosting user unfocuses their window.
(m_is_paused is already not set if it's not singleplayer.)
2025-02-15 18:21:01 +01:00
Desour
191cb117f9
Don't use fps_max_unfocused for the pause menu
...
Nowadays, we have things like buttons that change appearance on hover, or scoll bars
in the pause menu. These do not work fine with low fps.
2025-02-15 18:21:01 +01:00
Desour
2c50066c16
Keep the game paused in pause menu settings
...
The button_exit[]s were replaced by regular button[]s, to avoid a very short unpause when you
click the btn_settings (probably because it uses ClientEvent stuff).
2025-02-14 16:31:57 +01:00