elsid
ada48d9021
Reduce a chance to have a deadlock in the AsyncNavMeshUpdater
...
* Do not fail tile generation if debug mesh writing fails.
* Mark some functions as noexcept to better crash than have a deadlock.
* Unlock tile and remove job if there on exception while processing it.
2025-03-23 23:33:40 +01:00
elsid
7112217adc
Use temporary directory for tests output
2025-03-23 23:33:40 +01:00
elsid
51d73e37df
Fix msvc warnings
...
components\lua\configuration.cpp(133): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
components\esm3\effectlist.cpp(35): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
components_tests\misc\testmathutil.cpp(54): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
components_tests\misc\testmathutil.cpp(62): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
components_tests\misc\testmathutil.cpp(131): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
components_tests\misc\testmathutil.cpp(135): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
components_tests\misc\testmathutil.cpp(135): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
components_tests\misc\testmathutil.cpp(139): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
2025-03-09 17:55:17 +01:00
uramer
3a98b945a8
Keep MENU-registered input actions between games
2025-02-26 16:56:41 +01:00
elsid
a00909d139
Reduce precision for random point distance comparison
2024-12-20 14:00:49 +01:00
elsid
054d5ec1d6
Reduce precision for random point position comparison
2024-12-18 22:28:55 +01:00
Alexei Kotov
23a46a1bf9
Merge branch 'vfs_normalized_path_22' into 'master'
...
Use normalized path for KeyframeManager::get (#8138 )
See merge request OpenMW/openmw!4463
2024-12-01 21:45:01 +00:00
jvoisin
b555c980da
Merge branch 'deepasapuddle' into 'master'
...
Change the default depth test mode from less-than to less-than-or-equal-to (#7040 )
Closes #7040
See merge request OpenMW/openmw!4464
2024-11-25 01:41:17 +00:00
Alexei Kotov
5433ecf861
Change default depth test mode to <= ( #7040 )
2024-11-23 08:32:25 +03:00
elsid
a550a8af36
Use normalized path for KeyframeManager::get
2024-11-20 21:29:36 +01:00
Evil Eye
5dbe86e9ee
Use the actual callback function instead of mocking it
2024-11-12 17:22:45 +01:00
Evil Eye
6572122acc
Use the right deserializer for unloaded scripts
2024-11-09 13:05:39 +01:00
Petr Mikheev
bac0018a09
Merge branch 'unloadedcontainers' into 'master'
...
Fix Lua memory usage
See merge request OpenMW/openmw!4363
2024-10-15 21:18:13 +00:00
Evil Eye
68ebefc2dd
Fix Lua memory usage
2024-10-15 21:18:13 +00:00
Evil Eye
ffe164b28d
Add a test and address feedback
2024-10-06 11:32:24 +02:00
elsid
63e984ba24
Use normalized path in BulletShapeManager
2024-09-27 23:33:58 +02:00
elsid
b4f77e8bd7
Store Lua script path as VFS normalized
2024-09-15 13:53:20 +02:00
elsid
32ec92e71c
Use normalized path in LuaState
2024-09-08 11:53:57 +02:00
Evil Eye
032d506aa7
Fix components_tests
2024-08-24 09:10:23 +02:00
Evil Eye
4529af9b7f
Fix the tests
2024-08-23 22:40:39 +02:00
uramer
2460b5f4ef
Merge branch 'swizzle_bop_boom_bazingle_v2' into 'master'
...
lua - add swizzling to vector types
See merge request OpenMW/openmw!4304
2024-08-16 13:22:22 +00:00
elsid
a376d20c30
Fix tests on windows
2024-08-09 16:58:10 +02:00
elsid
b56de5bcf9
Make test for navmeshdb limit less strict
...
To avoid rare test failures when tiles are added into the database in different
order.
2024-08-07 00:01:50 +02:00
Cody Glassman
a53d002262
lua - add swizzling to vector types
2024-08-05 06:53:59 -07:00
elsid
ec02e2ba1d
Revert "Merge branch 'swizzle_bop_boom_bazingle' into 'master'"
...
This reverts merge request !4288
2024-08-05 09:08:17 +00:00
Cody Glassman
9951fd8a1a
support 0/1 constant swizzles
2024-08-04 11:56:34 -07:00
Cody Glassman
7186b8febc
generate all swizzle bindings at API initialization
2024-08-04 11:56:34 -07:00
Cody Glassman
19c0cebb27
lua - add swizzling to vector types
2024-08-04 11:56:34 -07:00
elsid
ad428bd23b
Add unit tests for conversion to euler angles
2024-07-21 01:26:51 +02:00
elsid
a5d9bb08e0
Support custom log level in tests
2024-07-13 11:15:34 +02:00
elsid
6d43aedec8
Use Lua modules in tests from the source directory
2024-07-13 11:14:55 +02:00
Dave Corley
4cc956fdd7
TEST: Add a test to ensure invalid box extents are not assigned
2024-07-11 04:06:06 -05:00
elsid
5c3ae3d94c
Make loading and saving script record more robust
...
* Check the header presence before using it.
* Write the header based on the actual content.
2024-06-21 20:37:37 +02:00
elsid
447c4bb6a0
Extend ESM3 Script record tests
2024-06-21 18:01:34 +02:00
Alexei Kotov
65a9f78943
Fix flags used in terrain saving/loading tests
2024-06-12 12:50:20 +03:00
elsid
1e98cc6c3b
Move EXPECT_ERROR macro to a separate header
...
To include it only where it's required.
2024-06-10 23:12:15 +02:00
elsid
7d1cd11ba9
Split openmw_test_suite into openmw and components tests
...
To avoid duplicated compilation for openmw translation units. Link openmw-lib to
openmw-tests instead.
2024-06-10 23:12:14 +02:00