elsid
|
0801e0512d
|
Do thread safe local static based initialization
|
2025-08-01 11:48:35 +02:00 |
|
psi29a
|
b160cee0b7
|
Merge branch 'sonarview' into 'master'
Address string_view conversions flagged by SonarQube
See merge request OpenMW/openmw!4693
|
2025-08-01 08:06:36 +00:00 |
|
psi29a
|
2a8dc56619
|
Merge branch 'pedanticmsvc' into 'master'
Resolve unused code warnings when compiling in Debug mode using MSVC
See merge request OpenMW/openmw!4820
|
2025-08-01 08:06:11 +00:00 |
|
Mads Buvik Sandvei
|
34eb3d485d
|
[Lua] Partially dehardcode onHit
|
2025-07-30 20:21:15 +00:00 |
|
Evil Eye
|
bc05628fa8
|
Resolve unused code warnings when compiling in Debug mode using MSVC
|
2025-07-30 20:44:59 +02:00 |
|
Evil Eye
|
75845bf863
|
Work around compiler versions that haven't addressed defect 3865
|
2025-07-30 19:41:14 +02:00 |
|
Evil Eye
|
ee540039a1
|
Address string_view conversions flagged by SonarQube
|
2025-07-30 19:37:37 +02:00 |
|
Alexei Kotov
|
399ec4eccc
|
Merge branch 'qt6' into 'master'
Drop support for Qt5
Closes #8578
See merge request OpenMW/openmw!4742
|
2025-07-30 13:26:46 +03:00 |
|
psi29a
|
4efc8bf99d
|
Merge branch 'fix_clang_tidy' into 'master'
Fix clang tidy warnings
See merge request OpenMW/openmw!4811
|
2025-07-28 15:55:53 +00:00 |
|
Alexei Kotov
|
0a8373987d
|
Merge branch 'aiwander' into 'master'
Build checkpoints based path for wandering actors (#8433)
Closes #8433
See merge request OpenMW/openmw!4652
|
2025-07-28 00:48:17 +03:00 |
|
elsid
|
ec0c76d2f3
|
Ignore false positive warning
cellSize > 1 so the result of the division cannot be undefined.
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:18:35: error: The result of the '/' expression is undefined [clang-analyzer-core.UndefinedBinaryOperatorResult,-warnings-as-errors]
18 | std::size_t cell = global / (cellSize - 1);
| ^
/home/elsid/dev/openmw/components/esmterrain/storage.cpp:244:13: note: Assuming 'lodLevel' is >= 0
244 | if (lodLevel < 0 || 63 < lodLevel)
| ^~~~~~~~~~~~
/home/elsid/dev/openmw/components/esmterrain/storage.cpp:244:13: note: Left side of '||' is false
/home/elsid/dev/openmw/components/esmterrain/storage.cpp:244:29: note: Assuming 'lodLevel' is <= 63
244 | if (lodLevel < 0 || 63 < lodLevel)
| ^~~~~~~~~~~~~
/home/elsid/dev/openmw/components/esmterrain/storage.cpp:244:9: note: Taking false branch
244 | if (lodLevel < 0 || 63 < lodLevel)
| ^
/home/elsid/dev/openmw/components/esmterrain/storage.cpp:247:13: note: Assuming 'size' is > 0
247 | if (size <= 0)
| ^~~~~~~~~
/home/elsid/dev/openmw/components/esmterrain/storage.cpp:247:9: note: Taking false branch
247 | if (size <= 0)
| ^
/home/elsid/dev/openmw/components/esmterrain/storage.cpp:272:13: note: Assuming the condition is false
272 | if (land != nullptr)
| ^~~~~~~~~~~~~~~
/home/elsid/dev/openmw/components/esmterrain/storage.cpp:272:9: note: Taking false branch
272 | if (land != nullptr)
| ^
/home/elsid/dev/openmw/components/esmterrain/storage.cpp:363:9: note: Calling 'sampleCellGrid<const (lambda at /home/elsid/dev/openmw/components/esmterrain/storage.cpp:280:35) &>'
363 | sampleCellGrid(cellSize, sampleSize, beginX, beginY, distance, handleSample);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:72:13: note: Assuming 'cellSize' is >= 2
72 | if (cellSize < 2 || !Misc::isPowerOfTwo(cellSize - 1))
| ^~~~~~~~~~~~
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:72:13: note: Left side of '||' is false
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:72:9: note: Taking false branch
72 | if (cellSize < 2 || !Misc::isPowerOfTwo(cellSize - 1))
| ^
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:75:13: note: Assuming 'sampleSize' is not equal to 0
75 | if (sampleSize == 0 || !Misc::isPowerOfTwo(sampleSize))
| ^~~~~~~~~~~~~~~
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:75:13: note: Left side of '||' is false
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:75:9: note: Taking false branch
75 | if (sampleSize == 0 || !Misc::isPowerOfTwo(sampleSize))
| ^
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:78:13: note: Assuming 'distance' is >= 2
78 | if (distance < 2 || !Misc::isPowerOfTwo(distance - 1))
| ^~~~~~~~~~~~
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:78:13: note: Left side of '||' is false
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:78:9: note: Taking false branch
78 | if (distance < 2 || !Misc::isPowerOfTwo(distance - 1))
| ^
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:84:13: note: Assuming 'distance' is >= 'cellSize'
84 | if (distance < cellSize || sampleSize > cellSize - 1)
| ^~~~~~~~~~~~~~~~~~~
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:84:13: note: Left side of '||' is false
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:84:36: note: Assuming the condition is true
84 | if (distance < cellSize || sampleSize > cellSize - 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:84:9: note: Taking true branch
84 | if (distance < cellSize || sampleSize > cellSize - 1)
| ^
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:85:20: note: Calling 'sampleCellGridSimple<const (lambda at /home/elsid/dev/openmw/components/esmterrain/storage.cpp:280:35) &>'
85 | return sampleCellGridSimple(cellSize, sampleSize, beginX, beginY, endX, endY, f);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:56:16: note: 'cellSize' is > 1
56 | assert(cellSize > 1);
| ^
/usr/include/assert.h💯27: note: expanded from macro 'assert'
100 | (static_cast <bool> (expr) \
| ^~~~
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:56:9: note: '?' condition is true
56 | assert(cellSize > 1);
| ^
/usr/include/assert.h💯7: note: expanded from macro 'assert'
100 | (static_cast <bool> (expr) \
| ^
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:57:9: note: '?' condition is true
57 | assert(Misc::isPowerOfTwo(cellSize - 1));
| ^
/usr/include/assert.h💯7: note: expanded from macro 'assert'
100 | (static_cast <bool> (expr) \
| ^
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:58:16: note: 'sampleSize' is not equal to 0
58 | assert(sampleSize != 0);
| ^
/usr/include/assert.h💯27: note: expanded from macro 'assert'
100 | (static_cast <bool> (expr) \
| ^~~~
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:58:9: note: '?' condition is true
58 | assert(sampleSize != 0);
| ^
/usr/include/assert.h💯7: note: expanded from macro 'assert'
100 | (static_cast <bool> (expr) \
| ^
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:60:9: note: Calling 'sampleGrid<(lambda at /home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:61:13)>'
60 | sampleGrid(sampleSize, beginX, beginY, endX, endY,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61 | [&](std::size_t globalX, std::size_t globalY, std::size_t vertX, std::size_t vertY) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | const auto [cellX, x] = toCellAndLocal(beginX, globalX, cellSize);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63 | const auto [cellY, y] = toCellAndLocal(beginY, globalY, cellSize);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
64 | f(cellX, cellY, x, y, vertX, vertY);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
65 | });
| ~~
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:33:38: note: Assuming 'y' is < 'endY'
33 | for (std::size_t y = beginY; y < endY; y += sampleSize)
| ^~~~~~~~
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:33:9: note: Loop condition is true. Entering loop body
33 | for (std::size_t y = beginY; y < endY; y += sampleSize)
| ^
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:36:42: note: Assuming 'x' is < 'endX'
36 | for (std::size_t x = beginX; x < endX; x += sampleSize)
| ^~~~~~~~
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:36:13: note: Loop condition is true. Entering loop body
36 | for (std::size_t x = beginX; x < endX; x += sampleSize)
| ^
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:36:42: note: Assuming 'x' is < 'endX'
36 | for (std::size_t x = beginX; x < endX; x += sampleSize)
| ^~~~~~~~
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:36:13: note: Loop condition is true. Entering loop body
36 | for (std::size_t x = beginX; x < endX; x += sampleSize)
| ^
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:37:17: note: Calling 'operator()'
37 | f(x, y, vertX++, vertY);
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:62:41: note: Calling 'toCellAndLocal'
62 | const auto [cellX, x] = toCellAndLocal(beginX, globalX, cellSize);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/elsid/dev/openmw/components/esmterrain/gridsampling.hpp:18:35: note: The result of the '/' expression is undefined
18 | std::size_t cell = global / (cellSize - 1);
| ~~~~~~~^~~~~~~~~~~~~~~~
|
2025-07-27 12:11:24 +02:00 |
|
elsid
|
4433e3c2de
|
Build path over navmesh for wandering actors
Using a path over pathgrid as checkpoints.
This allows to avoid having paths going through obstacles if they are
placed over pathgrid points.
|
2025-07-27 11:17:17 +02:00 |
|
elsid
|
3f1ac1848c
|
Move getClosestPoint to a separate file
|
2025-07-27 11:17:17 +02:00 |
|
elsid
|
50f5bc51c6
|
Store allowed positions as osg::Vec3f
There is no need to store pathgrid points.
|
2025-07-27 11:16:47 +02:00 |
|
Evil Eye
|
2bce45260c
|
Drop support for Qt5
|
2025-07-27 10:47:34 +02:00 |
|
Evil Eye
|
b4a753812e
|
Use empty paths instead of optionals
|
2025-07-26 10:23:19 +02:00 |
|
Evil Eye
|
c0b230b742
|
Remove global config on Windows
|
2025-07-26 09:45:35 +02:00 |
|
Alexei Kotov
|
730a62effc
|
Merge branch 'warn-baby-warn' into 'master'
Fix MSVC warnings
Closes #7882
See merge request OpenMW/openmw!4804
|
2025-07-25 21:45:34 +03:00 |
|
psi29a
|
714c128947
|
Merge branch 'compositemipmaps' into 'master'
Apply filtering settings to composite maps
See merge request OpenMW/openmw!4805
|
2025-07-25 07:12:07 +00:00 |
|
Evil Eye
|
e3c9e6fe2b
|
Set a root for BS skins as well
|
2025-07-24 08:46:21 +02:00 |
|
Evil Eye
|
8d7218c118
|
Take skin transform and skeleton root into account
|
2025-07-24 08:40:20 +02:00 |
|
Alexei Kotov
|
ad996393f1
|
Apply filtering settings to composite maps
|
2025-07-24 08:41:43 +03:00 |
|
AnyOldName3
|
437f22ed72
|
Typo fix
|
2025-07-24 00:37:28 +01:00 |
|
AnyOldName3
|
f8a96fae24
|
Some formatting changes I missed
|
2025-07-24 00:26:47 +01:00 |
|
AnyOldName3
|
be54521cfa
|
Fix loads of warnings
These weren't detected due to https://gitlab.com/OpenMW/openmw/-/issues/7882, but now they are, so they can be fixed.
|
2025-07-24 00:20:05 +01:00 |
|
elsid
|
28851411a3
|
Fix and enforce namespace naming
|
2025-07-20 21:19:16 +02:00 |
|
psi29a
|
412134da99
|
Merge branch 'bsazoomies' into 'master'
Use zlib directly for BSA file decompression (#8569)
Closes #8569
See merge request OpenMW/openmw!4795
|
2025-07-18 19:56:15 +00:00 |
|
Evil Eye
|
22232e8710
|
Merge branch 'sortedanimations' into 'master'
Assume NIF controller data is already sorted (#8545)
Closes #8545
See merge request OpenMW/openmw!4794
|
2025-07-18 19:29:24 +00:00 |
|
Alexei Kotov
|
f7238cd043
|
Merge branch 'document_object_cache' into 'master'
Add documentation for update function of Generic Object Cache
See merge request OpenMW/openmw!4164
|
2025-07-18 21:51:16 +03:00 |
|
Alexei Kotov
|
4a0c998f53
|
Avoid zero division during animation interpolation
|
2025-07-18 00:13:01 +03:00 |
|
Alexei Kotov
|
93cb69b012
|
Assume NIF controller data is already sorted (#8545)
|
2025-07-18 00:09:28 +03:00 |
|
Alexei Kotov
|
6796121305
|
Use zlib directly for BSA file decompression (#8569)
|
2025-07-17 22:25:18 +03:00 |
|
psi29a
|
0006cb22e2
|
Merge branch 'FillJournalConsoleCommand' into 'master'
Implement FillJournal script instruction
Closes #8509
See merge request OpenMW/openmw!4676
|
2025-07-17 14:22:53 +00:00 |
|
psi29a
|
e1847d2670
|
Merge branch 'master' into 'master'
Bump libsdl to 2.0.20
See merge request OpenMW/openmw!4779
|
2025-07-17 14:20:13 +00:00 |
|
Andy Lanzone
|
f45053ad25
|
Bump libsdl to 2.0.20
|
2025-07-17 14:20:13 +00:00 |
|
psi29a
|
418879bada
|
Merge branch 'tcbtakethree' into 'master'
Re-reimplement TCB interpolation for scalars and vectors (#2379)
See merge request OpenMW/openmw!4784
|
2025-07-16 14:12:48 +00:00 |
|
Alexei Kotov
|
a12a0916ed
|
Merge branch 'too-many-markers' into 'master'
FEAT(CS): Replace selection markers with a real one (#8139)
Closes #8139
See merge request OpenMW/openmw!4349
|
2025-07-14 23:18:46 +03:00 |
|
Dave Corley
|
9dd028b260
|
FEAT(CS): Replace selection markers with a real one (#8139)
|
2025-07-14 23:18:45 +03:00 |
|
Alexei Kotov
|
a03a2a5ff2
|
Re-reimplement TCB interpolation for scalars and vectors (#2379)
|
2025-07-14 13:09:23 +03:00 |
|
Alexei Kotov
|
119a87b7f4
|
Revert "Merge branch 'tbcornottbcwaititstcbactually' into 'master'"
This reverts merge request !4539
|
2025-07-13 18:02:15 +03:00 |
|
elsid
|
f5e66f3e24
|
Remove unused includes
|
2025-07-12 12:31:15 +02:00 |
|
Alexei Kotov
|
6d74a4607c
|
Restore some omitted object cache remarks that seemed useful
|
2025-07-10 17:25:27 +03:00 |
|
Florian Heberer
|
a00e5ec828
|
Add documentation for update function of Generic Object Cache
|
2025-07-10 17:18:18 +03:00 |
|
Dave Corley
|
7bc507eb58
|
FIX: Skip only the current subrecord when reading quest status
|
2025-07-10 17:08:47 +03:00 |
|
psi29a
|
c691c72cec
|
Merge branch 'esm4sound' into 'master'
Initial support of ESM4 sounds
See merge request OpenMW/openmw!3784
|
2025-07-08 10:32:24 +00:00 |
|
Alexei Kotov
|
c0276b6890
|
Merge branch 'cpputil2lua' into 'master'
Move some util to lua
See merge request OpenMW/openmw!4750
|
2025-07-08 12:45:14 +03:00 |
|
Petr Mikheev
|
10dba7cda7
|
Initial support of ESM4 sounds; play opening sound of ESM4 doors.
|
2025-07-08 11:14:13 +02:00 |
|
Kuyondo
|
f87d6818b7
|
pressing enter for newline
|
2025-07-08 05:02:53 +08:00 |
|
psi29a
|
83a37fecea
|
Merge branch 'l10n_format' into 'master'
Treat formatting string arguments as UTF-8 string
Closes #8385
See merge request OpenMW/openmw!4751
|
2025-07-07 09:28:43 +00:00 |
|
Aussiemon
|
67795543a2
|
Revert "Fix unneeded runtime errors"
This reverts commit d207c2251ffe4693f73e275c8df95bc7127c0010.
|
2025-07-06 20:51:53 -06:00 |
|