Commit Graph

11678 Commits

Author SHA1 Message Date
Josiah VanderZee
d4d9035ee5 Fix improper unit test paths 2024-06-12 17:57:08 +02:00
Josiah VanderZee
0eef3b07b8 Fix minetestserver build 2024-06-12 17:57:08 +02:00
Josiah VanderZee
b45aa1cd72 Get unit tests to build 2024-06-12 17:57:08 +02:00
Lars Mueller
8c35461af2 Fix/improve reading from accessors
- Alignment issues
- Use os::Byteswap::byteswap
- Directly write into matrices
2024-06-12 17:57:08 +02:00
Lars Mueller
be375cdfb6 Do not stack-allocate SSkinMeshBuffer 2024-06-12 17:57:08 +02:00
Josiah VanderZee
b419d0e445 Use __BIG_ENDIAN_
This also corrects the function name to be snake_case because it is
not a method.
2024-06-12 17:57:08 +02:00
Josiah VanderZee
3a4dde48e8 Remove unneeded header 2024-06-12 17:57:08 +02:00
JosiahWI
28299e7910 Program more defensively
Co-authored-by: sfan5 <sfan5@live.de>
2024-06-12 17:57:08 +02:00
Lars Mueller
942d46d37c Remove unused includes 2024-06-12 17:57:08 +02:00
Lars Mueller
88383e40db Reduce verbosity by introducing SelfType alias 2024-06-12 17:57:08 +02:00
Lars Mueller
d4de89cbe7 Remove unnecessary constructor 2024-06-12 17:57:07 +02:00
Lars Mueller
b734119d05 Move data directly rather than copying 2024-06-12 17:57:07 +02:00
Lars Mueller
818ac9ea3d Replace some spaces with tabs 2024-06-12 17:57:07 +02:00
Lars Mueller
a372397416 Remove now obsolete getters for accessor indices 2024-06-12 17:57:07 +02:00
Lars Mueller
a2311dc734 Check that enough bytes could be read 2024-06-12 17:57:07 +02:00
Lars Mueller
00d23d65e0 Add SPDX-License-Identifiers 2024-06-12 17:57:07 +02:00
Josiah VanderZee
315c03b99a Change "reflecting" to "mirroring" for readability 2024-06-12 17:57:07 +02:00
Lars Mueller
411969c87c Bring accessor implementation from other branch over 2024-06-12 17:57:07 +02:00
Josiah VanderZee
8a2cae1065 Mark transformation matrices as const 2024-06-12 17:57:07 +02:00
Josiah VanderZee
5bd1d052ad Remove unused method isSparseAccessor 2024-06-12 17:57:07 +02:00
Josiah VanderZee
b95dcb7e7a Preallocate the indices vector 2024-06-12 17:57:07 +02:00
Josiah VanderZee
da722a833f Compile with runtime type information 2024-06-12 17:57:07 +02:00
Josiah VanderZee
c803a9c895 Add comment clarifying linking of object libraries 2024-06-12 17:57:07 +02:00
Josiah VanderZee
b9b03557c6 Use main project cxx standard for unit tests 2024-06-12 17:57:07 +02:00
Josiah VanderZee
1baa3f1e34 Clean up code style 2024-06-12 17:57:07 +02:00
Josiah VanderZee
26276729ed Remove EAMT_GLTF as it serves no purpose 2024-06-12 17:57:07 +02:00
JosiahWI
ec5950033f Add glTF loader for static meshes 2024-06-12 17:57:07 +02:00
Mikita Wiśniewski
9def45aa80
Add zstd to Void Linux dependencies (#14748) 2024-06-12 12:39:15 +02:00
grorp
85878d894a
Android: Fix back button sometimes not working as ESC (#14743) 2024-06-11 22:37:57 +02:00
Lars Mueller
ae4cd1ebf1 Corresponding code changes 2024-06-10 21:15:30 +02:00
minetest
781c7a800f Replace Catch2 with v3 amalgamation 2024-06-10 21:15:30 +02:00
sfan5
5133ae52df Update vcpkg used in CI 2024-06-10 18:49:43 +02:00
sfan5
3539af7d77 Set some useful SDL hints
fixes #14596
2024-06-10 18:49:43 +02:00
sfan5
c03894321a Fix file write warning in devtest
closes #14721
2024-06-10 18:49:43 +02:00
sfan5
b7e886a740 Rename sha256 header
fixes #14710
2024-06-10 18:49:43 +02:00
sfan5
8268c61b9f Make safeWriteToFile safe for thread-concurrent use 2024-06-10 18:49:43 +02:00
sfan5
fee6e8e11b Identify when compiled with openresty LuaJIT
Debian testing ships it
2024-06-10 18:49:43 +02:00
sfan5
558d749d54 A few clean ups in log.cpp 2024-06-10 18:49:43 +02:00
sfan5
27cb54c1db Stop misusing volatile keyword 2024-06-10 18:49:43 +02:00
cx384
4c9be808a7 Improve register_on_leaveplayer documentation 2024-06-09 13:21:54 +02:00
sfan5
71893807b3
Call malloc_trim() regularly to improve deallocation behavior (#14707) 2024-06-07 16:57:30 +02:00
SmallJoker
08485f6781 Chat: Remove tailing punctuation from clickable links 2024-06-05 20:11:47 +02:00
sfan5
87232358d3
Update some workflows to newer Ubuntu versions (#14668) 2024-06-03 20:39:02 +02:00
Lars Müller
ec9c000be9
Fix scrolling in scroll containers (#14702) 2024-06-03 20:38:09 +02:00
Alex
75f3a2183f
Fix and clarify skybox texture order documentation (#14680) 2024-06-03 12:40:34 +02:00
Lars Mueller
445e485fc5 Fix CI not running on Irrlicht-only PRs 2024-06-03 11:15:56 +02:00
grorp
508b5ccc63
Document keymap_toggle_block_bounds, remove unimplemented BLOCK_BOUNDS_MAX (#14722) 2024-06-02 21:05:35 +02:00
grorp
833bb542fc
Allow toggling fullscreen without restart and add keybind (#14714) 2024-06-02 21:05:16 +02:00
grorp
981d67324b
Mainmenu: Unify gamedata.errormessage and messagebox formspecs (#14716) 2024-06-01 17:03:06 +02:00
sfence
140b9e5a5a
Allow game to specify first and last mod in mod loading order (#14177)
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
Co-authored-by: sfan5 <sfan5@live.de>
2024-06-01 16:36:20 +02:00