AnyOldName3
e0eb3feb89
Use OSG_PLUGIN_PREFIX instead of CMAKE_SHARED_MODULE_PREFIX
...
Logic to generate it copied from OSG's CMake instead of guessed.
2024-01-12 23:49:53 +00:00
uramer
7cc0eae461
Fix Menu Lua settings reset between states
2024-01-13 00:46:24 +01:00
AnyOldName3
62f5c46f25
Split list in CMake instead of C++
...
That avoids the need for constexpr work, and therefore the need for an MSVC-specific extension
2024-01-12 23:43:14 +00:00
AnyOldName3
de107c6a98
Add missing _view
2024-01-12 23:43:14 +00:00
AnyOldName3
ef65f0c70d
Make OSG plugin checker barely functional
...
* Work out what module filenames should be in CMake, and give those to C++
* Compare just the module filenames instead of the full strings
* Deal with OSG trying to support both UTF-8 and system-eight-bit-code-page file paths on Windows.
* Add a comment complaining about the constexpr situation.
* Use a stub implementation when using static OSG - apparently we don't actually support mixing and matching static and dynamic OSG plugins even though OSG itself does.
2024-01-12 23:43:14 +00:00
AnyOldName3
c2d1a4c861
Initial stab at OSG plugin checker
...
It doesn't work yet due to osgDB::listAllAvailablePlugins returning a list of paths to dynamic libraries.
That means:
* the check fails when the required plugin is linked statically.
* we're going to have to do something to slice up the filenames.
* there'll probably be unicode errors when the OpenMW installation path isn't representable by the current eight-bit code page on Windows.
Alternatively, we can switch to listing the required file extension support, and use osgDB::Registry::instance()->getReaderWriterList() and each element's supportedExtensions() function, but I don't think we've actually got that list of extensions anywhere and it might get desynced with the existing list of plugins if we add more.
2024-01-12 23:43:14 +00:00
elsid
1bfcfaff34
Use proper naming for member variable
2024-01-12 03:40:54 +01:00
elsid
35da9f8c50
Remove redundant SizeProxy and RenderTarget constructors
2024-01-12 01:49:17 +01:00
elsid
3ad79e3b3e
Pregenerate glow texture names
...
To avoid strings generation and allocations every time model is added to a
scene.
2024-01-11 23:54:20 +01:00
Evil Eye
1880894f4a
Use ciEqual to detect missing content files
2024-01-11 19:05:37 +01:00
Evil Eye
2fc87efa8f
Merge branch 'cleanup_navmesh_updater' into 'master'
...
Cleanup navmesh updater
See merge request OpenMW/openmw!3763
2024-01-11 17:50:12 +00:00
Yury Stepovikov
52623ddd7d
Set MacOS current_path before reading configuration files [ #7706 ]
2024-01-11 00:59:27 +00:00
uramer
dd6017e81e
Avoid making engine handler methods public
2024-01-11 00:55:29 +01:00
uramer
4ed2af7666
Merge branch 'master' into menuscripts
2024-01-10 23:21:42 +01:00
uramer
1afc7ecd58
Test Lua widgets for text inputs correctly
2024-01-10 23:13:27 +01:00
uramer
79deb5f559
Remove settings pages in Lua
2024-01-10 23:13:27 +01:00
uramer
2107bbc01d
Reuse input engine handlers in menu scripts
2024-01-10 23:13:23 +01:00
uramer
962ecc4329
Allow menu scripts to read global sections while a game is loaded
2024-01-10 22:28:57 +01:00
Andrei Kortunov
0e1bb45345
Cleanup navmesh updater
2024-01-10 15:28:26 +04:00
Alexei Kotov
78d8cf86c3
Merge branch 'pickme' into 'master'
...
Override launcher file info with higher priority info
Closes #7733 and #7103
See merge request OpenMW/openmw!3743
2024-01-09 21:42:45 +00:00
Evil Eye
d05f5e84ff
Merge branch 'missing_assert' into 'master'
...
Add missing assertion
See merge request OpenMW/openmw!3751
2024-01-09 18:17:31 +00:00
Evil Eye
0db8026356
Stop adding and deleting rows
2024-01-09 17:45:48 +01:00
Evil Eye
672cefd594
Track checked EsmFile pointers instead of full paths
2024-01-09 17:40:14 +01:00
Evil Eye
521394d67b
Override launcher file info with higher priority info
2024-01-09 17:40:14 +01:00
elsid
69cf507db8
Fix navmesh update on player changing tile
...
In cases when objects are not present on the scene (e.g. generated exterior
cells) navmesh is not updated because area that suppose to be covered with it
was not updated. It was updated only during cell change. This is a regression
from d15e1dca84.
Set TileCachedRecastMeshManager range on NavMeshManager update to make sure it
always covers correct area around player.
Return a union of objects, heightfields and water ranges from
getLimitedObjectsRange intersected with range provided above.
2024-01-09 01:18:45 +01:00
Andrei Kortunov
d1a7dfee87
Add missing assertion
2024-01-08 16:19:40 +04:00
jvoisin
57066bcac1
Merge branch 'more_cleanup' into 'master'
...
Code cleanup
See merge request OpenMW/openmw!3746
2024-01-08 11:35:24 +00:00
uramer
a6e2ceebb8
Don't clear menu UI on game load
2024-01-07 23:29:20 +01:00
uramer
d1268acf95
Merge branch 'master' into menuscripts
2024-01-07 23:15:21 +01:00
jvoisin
bb22c6e739
Merge branch 'navmesh_cleanup' into 'master'
...
Small cleanup for navmesh related code
See merge request OpenMW/openmw!3734
2024-01-07 22:14:52 +00:00
Alexei Kotov
14c8103a9e
Merge branch 'dripdrop' into 'master'
...
Drop support for save game format 4
Closes #6624
See merge request OpenMW/openmw!3737
2024-01-07 18:01:20 +00:00
elsid
b0b6c48a88
Add clarifying comments to detournavigator coordinates conversion functions
2024-01-07 17:57:53 +01:00
elsid
afd6f0739c
Format box shape indices grouping by triangle
2024-01-07 17:57:53 +01:00
Andrei Kortunov
828c40c710
Do not copy due to auto misuse
2024-01-07 18:52:10 +04:00
psi29a
bfb60c5504
Merge branch 'compileerror' into 'master'
...
Contect selector: fix ESM date and version data encoding/decoding (#7764 )
Closes #7764
See merge request OpenMW/openmw!3742
2024-01-07 14:15:52 +00:00
Alexei Kotov
327fafe739
Contect selector: fix ESM date and version data encoding/decoding ( #7764 )
2024-01-07 07:16:42 +03:00
Alexei Kotov
bd2ea715b4
Bring ESM4 head part reading up-to-date with FO76
2024-01-07 04:55:39 +03:00
Alexei Kotov
0b63fafc6d
Bring ESM4 global variable reading up-to-date with FO76
2024-01-07 04:55:39 +03:00
Alexei Kotov
f9825328d2
Bring ESM4 texture set reading up-to-date with FO76
2024-01-07 04:55:39 +03:00
Alexei Kotov
18982ea4a0
Read FO76 plugin header
2024-01-07 04:55:39 +03:00
Evil Eye
a11ff46e82
Drop support for save game format 4
2024-01-06 14:59:22 +01:00
psi29a
21f177daac
Merge branch 'shininess' into 'master'
...
Silence OSG shininess limit warnings
See merge request OpenMW/openmw!3725
2024-01-06 11:26:40 +00:00
psi29a
459aa69b87
Merge branch 'clampunclamped' into 'master'
...
Manually clamp controller time (#7523 )
Closes #7523
See merge request OpenMW/openmw!3713
2024-01-05 09:43:23 +00:00
Alexei Kotov
c5a3b516d6
Merge branch 'init_variables' into 'master'
...
Add missing initialization
See merge request OpenMW/openmw!3722
2024-01-04 20:31:55 +00:00
Alexei Kotov
3ba03782c0
Silence OSG shininess limit warnings
2024-01-04 01:02:33 +03:00
Andrei Kortunov
8d3efd27ba
Add missing initialization
2024-01-03 19:25:33 +04:00
Alexei Kotov
b132fd4373
Merge branch 'lua_action_fixes' into 'master'
...
Lua Action fixes
See merge request OpenMW/openmw!3717
2024-01-03 15:19:18 +00:00
Alexei Kotov
19a6fd4e1b
Merge branch 'display_esm_version' into 'master'
...
Improve format version in content selector
See merge request OpenMW/openmw!3709
2024-01-02 17:32:21 +00:00
uramer
e9b48e35c0
Coverity defects
2024-01-02 13:54:02 +01:00
uramer
1d8ee7984f
Make input.triggers[] consistent with input.actions[]
2024-01-02 13:45:45 +01:00