sfan5
8c8b7cb251
Clean up menus properly on client exit ( #16150 )
2025-05-18 12:13:48 +02:00
SmallJoker
3020c192b2
Client: Disable node specular shader effect ( #16113 )
...
This feature needs a proper API integration to result in a correct
in-game appearance. See #15898 for details.
This is a band-aid solution for the 5.12.0 release.
2025-05-17 15:02:47 +02:00
sfan5
8a28339ed3
Revert "Fix handling of skinned meshes for nodes"
...
It literally breaks torches and doors in MTG.
Regardless of whether this is an oversight or not let's not pull this in so close to release.
This reverts commit 612db5b2ca .
2025-05-14 23:21:33 +02:00
Lars Mueller
612db5b2ca
Fix handling of skinned meshes for nodes
...
- Rigidly animated models (e.g. the gltf frog node) were not working correctly,
since cloning the mesh ignored the transformation matrices.
Note that scaling the mesh needs to occur *after* transforming the vertices.
- Visual scale did not apply to skinned models,
as resetting the animation overwrote scaled vertex data with static positions & normals.
For backwards compatibility, we only apply a 10x scale to static (.obj) models.
2025-05-14 22:28:33 +02:00
grorp
959a8b5b8b
Fix black font and menu header when game exits in background ( #16131 )
2025-05-14 07:23:53 -04:00
Lars Müller
f4285a59ac
Purge some dead code (mostly Irrlicht) ( #16111 )
...
* Remove obsolete Irrlicht attributes system
* Remove dead GUI element types
* Remove some obsolete Irrlicht headers
* Fix some oopsies from d96f5e1
2025-05-04 16:31:44 +02:00
sfan5
377fa5bb14
Minor improvements to image algorithms
...
- loop Y around X
- use float over double
2025-05-04 16:31:00 +02:00
sfan5
486fb7cc4d
Add caching of generated textures as image
2025-05-03 11:32:41 +02:00
sfan5
9cb78f2dc5
Try to reuse texture objects in TextureSource::rebuildTexture()
2025-05-03 11:32:41 +02:00
sfan5
b841c23701
Clean up TextureSource and related code
2025-05-03 11:32:41 +02:00
sfence
0bdd5f294e
Make SDL2 default on macOS ( #16039 )
2025-05-02 21:28:13 +02:00
SmallJoker
6f3735281f
GUI: restore the Pause Menu after closing the Settings Menu
2025-05-02 21:26:34 +02:00
Muhammad Rifqi Priyo Susanto
3e5d9782cc
Android: Persistent notification while ingame ( #13125 )
...
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com >
Co-authored-by: grorp <grorp@posteo.de >
2025-04-24 07:38:52 -04:00
Vincent Robinson
233ffbe384
Change exit keybinding and fix bug in allow_close[]
2025-04-23 21:41:32 +02:00
sfan5
2c83c67b7d
Move profiler call out of hot path in ClientMap ( #16056 )
2025-04-23 09:30:58 +02:00
SmallJoker
5c6e4d35b0
Client: protect against circular attachments ( #16038 )
...
The server already includes such check. There must be a desync issue that causes
an ID mismatch, resulting in client crashes. Any such crash must be prevented.
2025-04-21 12:33:19 +02:00
sfan5
900cf896db
Move NodeShaderConstantSetter to game.cpp
2025-04-21 12:32:29 +02:00
sfan5
f3c2bbfb48
Change shaders to be defined by input constants rather than drawtype/material type
2025-04-21 12:32:29 +02:00
sfan5
baa4c7cd21
Introduce IShaderConstantSetter abstraction
2025-04-21 12:32:29 +02:00
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
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
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
Erich Schubert
78293404c7
Rename perlin noise to value noise ( #15858 )
2025-04-10 14:39:40 +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
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