sfan5
ee9258cefd
Clean up some packet-related code
2025-02-26 12:21:57 +01:00
sfan5
cc352f3b66
Add unit tests for MapDatabase implementations
2025-02-18 19:29:06 +01:00
Erich Schubert
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
Lars Müller
319e270664
Clean up Irrlicht matrices a bit more ( #15733 )
2025-02-15 12:17:30 +01:00
sfan5
b5e084c9a5
Update github URL references ( #15705 )
2025-01-24 16:50:39 +01:00
SFENCE
af3f696423
Code style fixes.
2025-01-21 16:29:12 +01:00
Lars Müller
8719a816e7
Fix CMatrix<T>::getScale returning negative scale ( #15687 )
2025-01-18 00:27:27 +01:00
Desour
d044c27b5f
MeshMakeData: Explain members, and add grid size and minimap flag
2025-01-11 16:43:37 +01:00
Desour
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
SmallJoker
e8f6127779
Reduce irrlicht_extrabloated.h includes in header files
2025-01-04 12:39:34 +01:00
sfan5
81f51492ff
Don't silence errorstream in tests ( #15629 )
2025-01-04 12:39:16 +01:00
wozrer
a1b8d20f18
Rename getMapSettingNoiseParams to getNoiseParams
2025-01-02 14:59:19 +01:00
sfan5
0a67e6180d
Disable failing unit test for the time being
...
see #15598
2025-01-02 12:42:19 +01:00
Lars Müller
412cc96bc9
Fix some compiler warnings ( #15596 )
2024-12-26 11:29:00 +01:00
Lars Müller
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
y5nw
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
sfan5
4f800dd2b4
Change VoxelArea volume to be u32
2024-12-10 22:00:28 +01:00
sfan5
67126cbd1b
Fix meaning of VoxelArea::hasEmptyExtent()
2024-12-10 22:00:28 +01:00
sfan5
8957739cdf
Use appropriate sized type for VoxelArea extent
2024-12-10 22:00:28 +01:00
SmallJoker
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
SmallJoker
50928b9759
Mapgen: Add rudimentary unittests
2024-12-08 20:27:33 +01:00
Lars Müller
3e10d9ccf5
Refactor: Merge [IC]SkinnedMesh
into SkinnedMesh
( #15511 )
2024-12-06 18:03:44 +01:00
AFCMS
e545e96d2b
Make string to v3f parsing consistent, replace core.setting_get_pos()
by core.settings:get_pos()
( #15438 )
...
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
2024-12-04 18:19:46 +01:00
sfan5
a4d1b5b155
Fix script security path normalization in presence of links ( #15481 )
2024-12-03 16:51:34 +01:00
sfan5
794aea8e92
Drop fixed pipeline support code ( #15421 )
...
OpenGL 2.0 is now mandatory.
2024-11-13 14:24:01 +01:00
sfan5
c00129360e
Remove unused pos_max_d
2024-11-12 10:52:46 +01:00
sfan5
f916f5de78
Add basic unit tests for collisionMoveSimple
2024-11-12 10:52:46 +01:00
sfence
d849d51c2d
Replace licensing text in headers (LGPLv2.1) ( #15321 )
2024-10-28 15:57:39 +01:00
DS
e5d321d286
Cleanup headers in irr/include/ ( #15181 )
2024-10-18 10:58:32 +02:00
Lars Müller
c7938ce81c
Improve glTF logging ( #15274 )
...
Also removes all animations but the first one from gltf_frog.gltf
to address the corresponding warning.
Catches some more possible exceptions (out of bounds, optional access)
which might be caused by a broken model to properly log them.
2024-10-15 12:19:19 +02:00
y5nw
e3aa79cffb
Gettext and plural support for client-side translations ( #14726 )
...
---------
Co-authored-by: Ekdohibs <nathanael.courant@laposte.net>
Co-authored-by: y5nw <y5nw@protonmail.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2024-10-13 11:29:08 +02:00
sfan5
c8dc9c2b8d
Increase safety checks around ObjectRefs
2024-10-12 22:37:17 +02:00
sfan5
6d5103900f
Some refactoring and fixes to VoxelArea and VoxelManip
...
In particular this validates the edges of VoxelArea and fixes
all the nonsense tests uncovered by it.
2024-10-12 22:37:17 +02:00
paradust7
2188adc0f9
Ensure that null C strings do not break logging ( #15255 )
2024-10-12 22:34:24 +02:00
Lars Mueller
323fc0a798
Add glTF animation support
2024-10-10 21:39:57 +02:00
Lars Mueller
521e678d39
Add binary glTF (.glb) support
2024-10-10 21:02:05 +02:00
sfan5
c8f1efebea
Use execvp in fs::RecursiveDelete()
2024-10-10 17:40:06 +02:00
sfan5
87a42d62b2
Fix GLTF test depending on irrlicht internals & memory leaks
...
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-10-09 16:25:02 +02:00
paradust7
3a7c8279bf
Split log.h to speed up compilation ( #15258 )
2024-10-09 16:24:44 +02:00
sfence
d08d34d803
ABM without_neighbors ( #14116 )
2024-09-26 17:32:55 +02:00
Desour
6d01ed5d74
irr_ptr: Allow to use with forward-declared types
...
Also add [[nodiscard]] to ::grab() (because similar named irr_ptr::grab() returns void).
And use new std::is_convertible_v.
2024-09-18 12:19:40 +02:00
red-001
486dc3288d
VoxelManipulator code cleanup ( #15114 )
...
* Cache node in voxel area index when possible
The index function according to the MSVC profiler actually takes up a significant time slice (around ~5% of total time for the process) during normal game-play.
Might not be accurate but still good to not recalculate it twice.
* Remove `setNodeNoRef` from VM
* VM: remove old commented out print statement
2024-09-04 15:20:39 +02:00
JosiahWI
ac11a14509
Add static glTF support ( #14557 )
...
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
Co-authored-by: jordan4ibanez <jordan4ibanez@users.noreply.github.com>
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2024-09-02 14:50:30 +02:00
red-001
1b8b84bee8
connection: Remove unused timeout feature
...
Was only used for a unit test and incorrectly at that.
2024-08-31 20:46:27 +02:00
JosiahWI
c893e0b72b
Convert nodedef tests to Catch2 ( #15045 )
...
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
2024-08-28 15:36:02 +02:00
sfan5
7968ab6928
Move network protocol implementation behind an interface
2024-08-21 21:40:58 +02:00
sfan5
c6ef5ab259
Sanitize formspec fields server-side ( #14878 )
2024-08-21 21:34:46 +02:00
Lars Mueller
6874c358ea
Allow managing object observers
...
-----
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2024-08-16 22:13:16 +02:00