Commit Graph

11715 Commits

Author SHA1 Message Date
JosiahWI
dde1eb76fe
Merge 6be3c1a0f0c3a4b5f129ab915bab4edad49a04cf into 9a1501ae89ffe79c38dbd6756c9e7ed647dd7dc1 2024-06-28 00:22:29 -03:00
grorp
9a1501ae89
CIrrDeviceSDL: Fix numpad key events not having correct KeyInput.Char (#14780)
Allows you to change viewing range using numpad +/- again. This fix also works with the current unreleased version of SDL 3.

The keycodes for numpad keys (both SDL keycodes and Irrlicht keycodes) are not the same as the keycodes for the equivalent non-numpad keys and don't correspond to chars, so I mapped them to chars manually.

Since I think the resolution of https://github.com/minetest/minetest/issues/13770 was "just disable numlock", I made sure to only do this for the numpad number keys if numlock is enabled.
2024-06-27 14:44:44 +02:00
Erich Schubert
514e106414
Fix missing newline before Markdown list (#14783)
Renders incorrectly e.g. on https://api.minetest.net/spatial-vectors/
2024-06-26 22:21:18 +02:00
grorp
4c001bd248
Make button sprites (scrollbar arrows) DPI-aware (#14772) 2024-06-26 15:25:27 +02:00
1F616EMO~nya
fb6ceb2664
Properly escape Markdown markups at minetest.string_to_area (#14774)
Co-authored-by: DS <ds.desour@proton.me>
2024-06-24 22:14:16 +02:00
aminothere
50da26da91
Document alternative 'persist' key in noise parameter table (#14762) 2024-06-24 22:12:42 +02:00
kromka-chleba
28857841aa
Fix math.round floating point bug (#14757) 2024-06-24 20:57:06 +01:00
rubenwardy
157d129e30
Fix unnecessary content refreshing (#14705) 2024-06-24 20:56:37 +01:00
Yoruma
9ab447843b
Clarify "dtime" in API (#14758) 2024-06-22 10:59:58 +02:00
l-koehler
fe6da3a16b
Disallow formspec debug if the player does not have the debug privilege (#14753) 2024-06-17 15:59:49 +02:00
sfan5
fac9aac821
Move malloc_trim invocations to background thread (#14744) 2024-06-17 15:59:35 +02:00
grorp
d7f4ce6cff
Fix broken default sneak keybind on macOS with SDL (#14754) 2024-06-16 17:50:02 +02:00
grorp
a9cca5e76c
SDL2: Support highdpi (#14703)
and handle DPI changes at runtime
2024-06-16 17:49:42 +02:00
cx384
7a64527db5
Fix connected_players on_shutdown (#14739) 2024-06-15 16:00:33 +02:00
grorp
bc23a610d3
Fix two problems with toggling fullscreen at runtime (#14750) 2024-06-14 16:50:41 +02:00
Lars Mueller
6be3c1a0f0 Rename (& minify) files to follow naming conventions 2024-06-12 23:45:31 +02:00
Lars Mueller
196bb56dfd Fix invalid bufferview bounds test 2024-06-12 23:42:36 +02:00
Lars Mueller
3467d91730 Fix sparse accessor handling in tiniergltf 2024-06-12 20:35:36 +02:00
Lars Mueller
35466b227a Add applicable tests from animated branch 2024-06-12 20:18:46 +02:00
Lars Mueller
8547a33cc7 Use SKIP now that we can 2024-06-12 18:08:44 +02:00
Lars Mueller
31ab21ffd5 Update devtest mod count, add mod.conf 2024-06-12 17:57:08 +02:00
Lars Mueller
0ce6b3f8c8 Implement clang-tidy suggestions in tiniergltf 2024-06-12 17:57:08 +02:00
Lars Mueller
616a27a966 Work around lack of SKIP 2024-06-12 17:57:08 +02:00
Lars Mueller
39691664ba Add spider model 2024-06-12 17:57:08 +02:00
Lars Mueller
d6b6eec1bf Address minor TODOs in tiniergltf 2024-06-12 17:57:08 +02:00
Lars Mueller
997926461e Test fixes (get rid of device creation, fix error case tests) 2024-06-12 17:57:08 +02:00
Lars Mueller
37c3edfc38 Move test assets to devtest, add corresponding entities 2024-06-12 17:57:08 +02:00
Lars Mueller
be03a435b8 Add copy & move constructor from STL string to Irrlicht string 2024-06-12 17:57:08 +02:00
Lars Mueller
580a71554d Improve docs 2024-06-12 17:57:08 +02:00
Lars Mueller
1d185c1ce7 Fix triangle with vertex stride test case 2024-06-12 17:57:08 +02:00
Lars Mueller
451978dc2c Move everything to sections of one big "gltf" test case 2024-06-12 17:57:08 +02:00
Lars Mueller
59a173b51b Clean up unit tests 2024-06-12 17:57:08 +02:00
Lars Mueller
50c8604de1 Fix snow man test texture coordinates
The current texture coordinates specified in the test did not use sufficient precision.
It is unfortunately common for software to round away the last bit when displaying floats.
This issue was previously masked by Irrlicht using a float comparison with tolerance for vectors,
which was changed in 3452857 to an exact float comparison for unrelated reasons.
Manual inspection of the buffer reveals that the values produced by the reader are correct.
2024-06-12 17:57:08 +02:00
Lars Mueller
50d20a854c Fix -Wsign-compare warning 2024-06-12 17:57:08 +02:00
Josiah VanderZee
d5450c62bf Add f postfix to floating point test values 2024-06-12 17:57:08 +02:00
Josiah VanderZee
2a9e570cbc Fix strict aliasing violations in glTF tests 2024-06-12 17:57:08 +02:00
Josiah VanderZee
8f6c24cbe9 Fix improper unit tests paths again 2024-06-12 17:57:08 +02:00
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