psi29a
f7c819a118
Merge branch 'waterculling' into 'master'
...
Don't use height cull callback when there's no terrain
See merge request OpenMW/openmw!3787
2024-01-20 15:52:59 +00:00
psi29a
c23cd8e544
Merge branch 'umlautontherocks' into 'master'
...
Convert strings in nif files to utf8
Closes #7780
See merge request OpenMW/openmw!3783
2024-01-20 11:56:59 +00:00
elsid
b96e32144c
Support lldb in crash catcher
2024-01-19 21:11:23 +01:00
elsid
0095cb604f
Handle sysctl errors without assert
2024-01-19 21:11:20 +01:00
elsid
4efc0e20a3
Report errors on handling the crash
2024-01-19 21:00:33 +01:00
elsid
acb246cbf2
Report errors on printing gdb info
2024-01-19 21:00:33 +01:00
elsid
140cc53b55
Report errors on installing crash handler
2024-01-19 21:00:33 +01:00
elsid
2ef286b27a
Make sure function handling crash does not return
2024-01-19 21:00:33 +01:00
elsid
fffc6101b7
Remove unnecessary nesting
2024-01-19 21:00:32 +01:00
elsid
55501a02c0
Define only one crashCatcherInstall function
2024-01-19 21:00:32 +01:00
elsid
fc12728d25
Move crash_switch variable to cpp file
2024-01-19 21:00:32 +01:00
elsid
8348557893
Move crash handling out of crash handler installation
2024-01-19 21:00:32 +01:00
elsid
7763fe73d8
Make it clear handled signals are always the same
2024-01-19 21:00:32 +01:00
elsid
d54bb5cb5a
Declare variables closer to where they are used
2024-01-19 21:00:29 +01:00
elsid
d6f1fbe2c9
Remove unused user info function
2024-01-19 19:22:15 +01:00
elsid
388a73376c
Use std::optional for siginfo
2024-01-19 19:22:15 +01:00
elsid
c95c8fcc36
Add missing description for SIGABRT
2024-01-19 19:22:15 +01:00
elsid
48c3268bcb
Reduce code duplication for finding signal description
2024-01-19 19:22:14 +01:00
elsid
98844a692d
Regroup crash catcher includes
2024-01-19 19:21:01 +01:00
Andrei Kortunov
87c9f395f1
Move local variables in components
2024-01-19 16:01:48 +04:00
Alexei Kotov
e997c44db6
Restore unwrapped Bullet triangle shape shallow copying
2024-01-19 12:53:35 +03:00
Alexei Kotov
ffa52dfe7c
Don't use height cull callback when there's no terrain
2024-01-19 12:24:15 +03:00
psi29a
7c14bac7c2
Merge branch 'load_save_composites' into 'master'
...
Write AiSequence and Script data field by field via decompose function
See merge request OpenMW/openmw!3770
2024-01-19 08:31:43 +00:00
psi29a
c84386aa4b
Merge branch 'fix_navigator_update' into 'master'
...
Fix navmesh update on player changing tile
See merge request OpenMW/openmw!3756
2024-01-19 08:30:22 +00:00
psi29a
6b9fd12ab7
Merge branch 'fix_ubsan_warnings' into 'master'
...
Fix ubsan warnings
See merge request OpenMW/openmw!3772
2024-01-19 08:29:23 +00:00
elsid
35d9b18b4c
Add type for normalized VFS path and use for VFS::Manager file map key
...
This will reduce the number of path normalizations while more places will use
this type. In some cases it also will reduce number of temporary allocations for
new strings.
For now make conversion from and to std::string_view implicit to allow gradual
migration to this type.
2024-01-18 00:03:06 +01:00
Evil Eye
48db113149
Address feedback
2024-01-17 18:10:42 +01:00
Evil Eye
27fa411f4f
Convert strings in nif files to utf8
2024-01-16 20:56:58 +01:00
elsid
a2147d70cc
Use forward declaration for some VFS types
...
This will allow to save on preprocessed code size in the future changes.
2024-01-16 01:32:11 +01:00
elsid
4d6350539c
Move FindLowestUnusedTexUnitVisitor to unnamed namespace
...
It's not used anywhere except this translation unit so no need to make the
symbol available everywhere else.
2024-01-15 22:23:59 +01:00
elsid
6451750890
Write AiSequence and Script data field by field via decompose function
...
Use the same function to load and save to have single place with field order
definition. Use concepts for overload over different types.
2024-01-14 23:04:56 +01:00
psi29a
4f21ea2eae
Merge branch 'rm_redundant_ctors' into 'master'
...
Remove redundant SizeProxy and RenderTarget constructors
See merge request OpenMW/openmw!3769
2024-01-13 09:51:10 +00:00
psi29a
8dbadd660e
Merge branch 'pregenerate_glow_textures' into 'master'
...
Pregenerate glow texture names
See merge request OpenMW/openmw!3768
2024-01-13 09:50:47 +00:00
uramer
b9afd7245c
Create separate UI api tables for menu and player contexts
2024-01-13 10:13:13 +01:00
elsid
dd706aab0e
Add missing SubPass::mMinMap initialization
2024-01-13 01:08:57 +01:00
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