47e557b96a
Enable segment heap on Windows
2023-12-20 21:23:08 +01:00
3b346fd3c9
Fix touch input on Linux
...
The code relied on touch IDs being consecutive. This is true on Android, but not on Linux.
Therefore, touch input on Linux was broken since 53886dcdb5
.
2023-12-20 21:22:15 +01:00
0d61598d8a
Extend bone override capabilities ( #12388 )
2023-12-20 21:21:53 +01:00
61d0f613df
Hand roll UTF-16 conversion in CGUITTFont ( #14121 )
2023-12-19 20:18:43 +01:00
00d9d96e48
Android: Pause rendering while the app is paused ( #14058 )
2023-12-19 20:18:28 +01:00
b1aec1b5c8
Add dithering ( #9014 )
2023-12-19 20:18:11 +01:00
5d3e830176
MinGW toolchain refresh
2023-12-17 20:47:26 +01:00
91ba02449b
Add touch_controls
boolean to get_player_window_information()
( #14092 )
2023-12-17 20:47:07 +01:00
7162b536eb
Extract Game::drawScene from Game::updateFrame
2023-12-17 20:44:45 +01:00
ca1a723890
Allow cheaper culling checks at a distance ( #14073 )
...
* Allow cheaper culling checks at a distance
* Pick a random ray, so that far missing block will eventually be shown
2023-12-16 15:04:21 -08:00
16c22477c2
Update porting.h to fix build errors on macOS 14 / Xcode 15
2023-12-16 12:52:07 +01:00
128ed87dd8
Reorder members of MapBlock for performance
...
Before and after as obtained via `pahole -C MapBlock bin/minetest`:
/* size: 336, cachelines: 6, members: 23 */
/* sum members: 329, holes: 4, sum holes: 7 */
vs.
/* size: 336, cachelines: 6, members: 23 */
/* sum members: 329, holes: 2, sum holes: 7 */
There is not much to be gained by packing but I made sure
to move the most important data (mainly for the client) into
the first cache line.
2023-12-16 12:51:42 +01:00
9408a1a025
Reduce size of some MapBlock members
...
Also adds assertions to catch refcounting errors (on a debug build).
2023-12-16 12:51:42 +01:00
777dca7043
Elide MapBlock::contents_cached
2023-12-16 12:51:42 +01:00
f5b35a074f
Get rid of parent pointer in MapBlock
2023-12-16 12:51:42 +01:00
c6cf90f67b
Change MapBlock content cache to a vector
2023-12-16 12:51:42 +01:00
cb6e3ac6e1
Allocate data seperately from MapBlock class again
...
This effectively reverts commit b3503e7853
.
2023-12-16 12:51:42 +01:00
2c2bc4a427
Try to benchmark common MapBlock usage
2023-12-16 12:51:42 +01:00
e5a6048eec
Allow running individual benchmarks
...
mirrors and reuses the option from 2f6a9d12f1
2023-12-16 12:51:42 +01:00
3c60d359ed
Remove usage of removed "PP" macro
...
This fixes a compilation error introduced by e7be135
.
2023-12-15 10:28:07 +01:00
94a54375e2
Inventory: prevent item loss when stacking oversized ItemStacks ( #14072 )
2023-12-15 10:24:04 +01:00
c871b6dd4e
Hash-check buildbot dependencies
2023-12-15 10:23:52 +01:00
62c6667b0b
Get rid of VERSION_EXTRA for buildbot
...
This is probably a leftover of when CMake didn't automatically
detect the revision from git.
2023-12-15 10:23:52 +01:00
704b5d88b9
Upload artifacts in MinGW CI
2023-12-15 10:23:52 +01:00
a292cc42aa
Fix Windows architecture reporting in sysinfo
2023-12-15 10:23:52 +01:00
da832a295e
Delete clang-format files and comments ( #14079 )
2023-12-15 10:23:44 +01:00
64b59184d1
Reduce test framework macrosity
2023-12-15 10:23:32 +01:00
bd06466d3a
Improve clock_gettime usage
...
- correctly use value of _POSIX_MONOTONIC_CLOCK
- drop special path for macOS: it supports clock_gettime since macOS 10.12
2023-12-15 10:23:19 +01:00
d4123a387c
Clean up porting.h a bit
2023-12-15 10:23:19 +01:00
e7be135b78
Warning: inform about entity name when bug detected about attachement ( #13354 )
2023-12-15 10:22:58 +01:00
d1a55e9ca4
Remove use_texture_alpha compatibility code for nodeboxes & meshes ( #13929 )
2023-12-13 13:15:59 +01:00
6eb9269741
Try to fix safeWriteToFile producing empty files on Windows ( #14085 )
...
Use win32 APIs to write the temporary file before copying to the final
destination. Because we've observed the final file being empty, we
suspect that std::ostream::flush is not flushing.
Also add a test for it.
2023-12-13 13:15:37 +01:00
a98200bb4c
Avoid movement jitter ( #13093 )
...
This allows the client and server to agree on the position of objects and attached players even when there is lag.
2023-12-10 19:12:37 +01:00
55fafb7d25
Add sound volume when unfocused setting ( #14083 )
...
This adds a new setting to set sound volume multiplier when Minetest window is unfocused/inactive (sound_volume_unfocused, located in Settings > Graphics and Audio > Audio > Volume when unfocused).
If the window is not focused, the sound volume will be multiplied by sound_volume_unfocused setting. The sound volume will be set back to sound_volume again when the window is focused.
2023-12-10 19:11:39 +01:00
321bcf5c44
GUIFormspecMenu: Fix race condition between quit event and cleanup in Game ( #14010 )
...
To not instantly free GUIFormSpec upon close/quit, Game periodically
cleans up the remaining instance on the next frame.
When a new formspec is received and processed after closing the previous formspec
but before the cleanup in Game, the formspec would be closed regardless.
This now re-creates the formspec when the old one is already pending for removal.
2023-12-10 19:09:51 +01:00
689aaf50b3
Fix unittest failure for release versions ( #14067 )
2023-12-08 21:13:33 +01:00
2ec3325381
Check if liquid can flow into empty node before picking it as source ( #14057 )
2023-12-08 21:13:18 +01:00
634e49b961
Improve Irrlicht instructions ( #14055 )
...
Specify the version when cloning.
Move instructions from CMakeLists to docs/compiling/.
2023-12-08 21:11:54 +01:00
55f40a7f8d
Continue with 5.9.0-dev
2023-12-04 17:15:43 +00:00
49ce5a2de6
Bump version to 5.8.0
5.8.0
2023-12-04 17:15:36 +00:00
30769589bf
Remove junk translation file
2023-12-03 19:11:32 +01:00
6cf9b7472a
Run mod_translation_updater.py
2023-12-03 19:03:45 +01:00
4be8b77598
Run updatepo.sh
2023-12-03 18:48:54 +01:00
bae9f65411
Update from builtin/settingtypes.txt
2023-12-03 18:47:50 +01:00
0a20d30f83
Various little translation fixups
2023-12-03 18:41:15 +01:00
7245bcc614
Translated using Weblate (Malay)
...
Currently translated at 100.0% (1310 of 1310 strings)
2023-12-03 18:41:15 +01:00
51136780d6
Translated using Weblate (Spanish)
...
Currently translated at 89.6% (1174 of 1310 strings)
2023-12-03 18:41:15 +01:00
ea6eb0dfc8
Translated using Weblate (Spanish)
...
Currently translated at 89.6% (1174 of 1310 strings)
2023-12-03 18:41:15 +01:00
ab88fc6835
Translated using Weblate (Hungarian)
...
Currently translated at 96.7% (1268 of 1310 strings)
2023-12-03 18:41:15 +01:00
30b28280eb
Translated using Weblate (Romanian)
...
Currently translated at 49.3% (647 of 1310 strings)
2023-12-03 18:41:15 +01:00