1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-04 17:00:23 +02:00

319 Commits

Author SHA1 Message Date
43aad3711b MapBlock::getData be gone (#16292)
* Remove Mapblock::getData and all its uses

* Do not leak ystride, zstride, and nodecount
2025-06-29 13:36:47 -07:00
fde6384a09 Fix and clean up skeletal animation (#15722)
* Fix attachments lagging behind their parents (#14818)
* Fix animation blending (#14817)
* Bring back cool guy as another .x smoke test
* Add .x mesh loader unittest
* Do bounding box & matrix calculation at proper point in time
* Remove obsolete `SAnimatedMesh`
2025-06-01 23:21:35 +02:00
6274a8dec4 Refactor MMVManip to get rid of m_loaded_blocks 2025-05-30 13:03:21 +02:00
41651c7317 Add C++-side unit tests for MMVManip 2025-05-30 13:03:21 +02:00
5c2599315c Change nil-component error to deprecation warning 2025-05-28 13:29:30 +02:00
6ca9d75f0b Reject NaN and Inf in check_v3d() too
check_v2f() was already doing this
2025-05-28 13:29:30 +02:00
ec16fb33d0 Add unit tests for Lua vector reading 2025-05-28 13:29:30 +02:00
d96f5e1c76 MetaDataRef: Make set_float preserve numbers exactly (#16090) 2025-05-02 21:27:00 +02:00
01e4395977 glTF: Clean up rigid animation 2025-04-26 16:15:05 +02:00
0d414c44da Add testeditor to devtest for easier testing. (#15206)
* Add testeditor to devtest for easier testing.

Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2025-04-25 05:09:23 +02:00
e1143783e5 Fix some (MSVC) compiler warnings 2025-04-20 20:49:10 +02:00
78293404c7 Rename perlin noise to value noise (#15858) 2025-04-10 14:39:40 +02:00
124d770823 Fix edge-case where manually set gameid isn't used 2025-04-10 14:39:21 +02:00
a3648b0b16 Add spatial index for objects (#14631) 2025-04-08 08:44:53 +02:00
2602d03b34 Split ABM/LBM from serverenvironment.cpp to own file 2025-03-30 18:17:19 +02:00
dea95c7339 Reduce transitive includes by moving a class 2025-03-30 18:17:19 +02:00
e73eed247e Apply some refactoring/cleanup to mainly util functions 2025-03-30 18:17:19 +02:00
f63436c8d3 Add basic unittests for LBMManager 2025-03-26 20:49:43 +01:00
7b746d21f9 Make sure generated blocks have their timestamp set
behavior change: newly generated blocks are no longer momentarily activated.
this shouldn't matter for anyone and did not consistently apply to all blocks anyway

addresses issue from #15902 for new maps(!)
2025-03-26 20:49:43 +01:00
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
c439d784ac add unit tests for map block position encoding 2025-03-16 17:56:58 +01:00
7892541383 Various random code cleanups 2025-03-04 19:53:01 +01:00
d74af2f1a7 Use matrix4::getRotationRadians 2025-02-27 12:31:04 +01:00
c261c26456 Add Irrlicht rotation consistency unit tests 2025-02-27 12:31:04 +01:00
5abf220979 Fix random usage in matrix4 tests 2025-02-27 12:31:04 +01:00
1ceeea34f4 Extend quaternion tests 2025-02-27 12:31:04 +01:00
3ae1fd459a Add quaternion conversion unit tests 2025-02-27 12:31:04 +01:00
0e86366324 Add test for matrix4::getRotationDegrees 2025-02-27 12:31:04 +01:00
ee9258cefd Clean up some packet-related code 2025-02-26 12:21:57 +01:00
cc352f3b66 Add unit tests for MapDatabase implementations 2025-02-18 19:29:06 +01:00
567b9a997a Collision: more accurate computation with acceleration and long dtime (#15408)
Co-authored-by: SmallJoker <mk939@ymail.com>
2025-02-15 12:17:44 +01:00
319e270664 Clean up Irrlicht matrices a bit more (#15733) 2025-02-15 12:17:30 +01:00
b5e084c9a5 Update github URL references (#15705) 2025-01-24 16:50:39 +01:00
af3f696423 Code style fixes. 2025-01-21 16:29:12 +01:00
8719a816e7 Fix CMatrix<T>::getScale returning negative scale (#15687) 2025-01-18 00:27:27 +01:00
d044c27b5f MeshMakeData: Explain members, and add grid size and minimap flag 2025-01-11 16:43:37 +01:00
c0ce918d77 Meshgen: Handle enable_water_reflections like smooth_lighting 2025-01-11 16:43:37 +01:00
DS
436b391a80 VoxelArea: Fix missing cacheExtent calls in helpers (#15657) 2025-01-11 16:43:20 +01:00
e8f6127779 Reduce irrlicht_extrabloated.h includes in header files 2025-01-04 12:39:34 +01:00
81f51492ff Don't silence errorstream in tests (#15629) 2025-01-04 12:39:16 +01:00
a1b8d20f18 Rename getMapSettingNoiseParams to getNoiseParams 2025-01-02 14:59:19 +01:00
0a67e6180d Disable failing unit test for the time being
see #15598
2025-01-02 12:42:19 +01:00
412cc96bc9 Fix some compiler warnings (#15596) 2024-12-26 11:29:00 +01:00
23e502fa0e Test & document conventions used by matrix4::setRotation* (#15542)
Also includes a minor `matrix4::transformVect` refactor to make testing easier.
2024-12-14 17:02:16 +01:00
ac7406c8a1 Fixup parsing for Plural-Forms (#15519) 2024-12-12 15:33:34 +01:00
DS
bcbee873e8 Use openssl's sha1 and sha256, optionally (#15472) 2024-12-10 22:00:43 +01:00
4f800dd2b4 Change VoxelArea volume to be u32 2024-12-10 22:00:28 +01:00
67126cbd1b Fix meaning of VoxelArea::hasEmptyExtent() 2024-12-10 22:00:28 +01:00
8957739cdf Use appropriate sized type for VoxelArea extent 2024-12-10 22:00:28 +01:00
480eb7d816 Mapgen: Fix biome Y calculation regression
BiomeGen::getNextTransitionY(y) did not guarantee the condition (y < biome_y_min)
of the next loop because the function may return the value (biome_y_min - 1).
Hence, the biome was not updated until one Y coordinate after.
2024-12-08 20:27:33 +01:00