Commit Graph

8161 Commits (7d9d377575ff6aac58561c670c8716314386700a)

Author SHA1 Message Date
Dave Corley bb35f0366a Fix(loadcell): Save water height regardless of value, if the user actually adjusted it 10 months ago
Dave Corley 1b431bf633 Fix(editor): Don't save dirty water height values 10 months ago
psi29a 35f547ad7c Merge branch 'fatstacks' into 'master'
Allow the NAM9 field to be used if COUN is omitted

Closes #7836

See merge request OpenMW/openmw!3889
10 months ago
psi29a 518f34c869 Merge branch 'bsa_archive' into 'master'
Cleanup and optimize BSA archives code

See merge request OpenMW/openmw!3876
10 months ago
AnyOldName3 2a5f8d5bab Skip the check on MacOS
It doesn't work, the workaround isn't enough to make it work, I can't be bothered making a more powerful workaround, and it's impossible to *package* a MacOS build missing the plugins we need anyway, even if you can build and attempt to run it.
10 months ago
elsid c2ac1ce046
Use is_directory member function
To reduce the number of syscalls.
10 months ago
AnyOldName3 3335ccbc32 Capitulate 11 months ago
AnyOldName3 8c92f6ee87 Make uniform a signed int again 11 months ago
AnyOldName3 d282fdb77a Eliminate unused uniform 11 months ago
AnyOldName3 132c43affa Fix warning
Also attempt to make an equivalent warning fire with MSVC, then have to fix other stuff because /WX wasn't working, then back out of enabling the warning because none of the ones I could find disliked the old code.
11 months ago
AnyOldName3 7391bf2814 Fix OpenGL errors
There's no reason to use the AndModes variant as we never (intentionally) attempt to sample from a shadow map via the FFP.
11 months ago
AnyOldName3 535c5e328a Affect correct texture units when disabling shadows for stateset
Knowing which are right required making the function non-static, so the shadow manager had to become a singleton as the results of passing it around to where it's needed were hellish.

I'm seeing a bunch of OpenGL errors when actually using this, so I'll investigate whether they're happening on master.
I'm hesitant to look into it too much, though, as I'm affected by https://gitlab.com/OpenMW/openmw/-/issues/7811, and also have the Windows setting enabled that turns driver timeouts into a BSOD so a kernel dump is collected that I can send to AMD.
11 months ago
Evil Eye 254b533512 Allow the NAM9 field to be used if COUN is omitted 11 months ago
psi29a 8c8fffc2c6 Merge branch 'fix_shared_library_build' into 'master'
Build fixes related to shared libraries and position independent code

See merge request OpenMW/openmw!3878
11 months ago
AnyOldName3 2c1c8bc8de Work around for listAllAvailablePlugins 11 months ago
psi29a e88e92d3aa Merge branch 'recursive_directory_iteration_errors' into 'master'
Add context to the errors on recursive iteration over directory

See merge request OpenMW/openmw!3872
11 months ago
psi29a 3369184c19 Merge branch 'lesspragmaticpackages' into 'master'
Use decompose to handle AI packages and data

See merge request OpenMW/openmw!3856
11 months ago
elsid efbc37d22f
Build components with position independent code only for Android
openmw is build as shared library with position independent code enabled there
so linked static libraries need to have this too.
11 months ago
elsid e2e1d913af
Remove redundant destructor 11 months ago
elsid 8c6e0866e0
Avoid seek for detecting BSA type
Seek is pretty expensive operation. Try to read first 12 bytes instead.
11 months ago
elsid cc9f9b53ba
Convert BsaVersion to enum class 11 months ago
elsid df077a2524
Simplify and reduce code duplication for BSA archive creation 11 months ago
elsid 1b1ed55762
Add context to the errors on recursive iteration over directory
To avoid showing users errors like:
recursive_directory_iterator::operator++: Access is denied.

And show something like this:
Failed to recursively iterate over "/home/elsid/.local/share/openmw/test_data"
when incrementing to the next item from
"/home/elsid/.local/share/openmw/test_data/permission_denied": Permission denied
11 months ago
elsid a2345194c8
Optimize lookup for a file in the BSA archive
Use binary search in sorted vector or normalized paths instead of linear search
in the original file struct. With number of files from 1k to 10k in vanilla
archives this gives some benefits.
11 months ago
psi29a a297a0e742 Merge branch 'init_filesystem_archive' into 'master'
Initialize FileSystemArchive index in constructor

See merge request OpenMW/openmw!3870
11 months ago
psi29a f9820e2061 Merge branch 'debugdrawdebugged' into 'master'
Try to uncursify debug primitive drawer (#7767)

Closes #7767

See merge request OpenMW/openmw!3852
11 months ago
elsid d147d1d250
Initialize FileSystemArchive index in constructor
It should be initialize for each created archive anyway. There is no good reason
to have additional complexity for lazy initialization. And it helps to catch
problems with specific directory when it's added to the VFS not when all are
added and index is built.
11 months ago
Alexei Kotov d9ee54ae98 DebugCustomDraw: Correct PerContextProgram use, clean up drawImplementation 11 months ago
psi29a 1280345296 Merge branch 'copy_qtbase' into 'master'
Copy qtbase translations

See merge request OpenMW/openmw!3840
11 months ago
Andrei Kortunov 9a7b9572fd Deploy base Qt translations when needed 11 months ago
uramer 08b7ee8a44 Test LuaUtil::safeGet preventing crash 11 months ago
uramer 550659c2d9 Fix loadVFS error handling 11 months ago
uramer aa4303fc38 Fix crash when throwing in index meta methods 11 months ago
psi29a 29c2042432 Merge branch 'lua_callback_crash' into 'master'
Lua Fix crash when passing a non-callback table to a callback argument

Closes #7827

See merge request OpenMW/openmw!3861
11 months ago
Epoch 6486f3f2cf Add option to use camera as sound listener 11 months ago
uramer 851e291501 Simplify and fix the storage subscribe test 11 months ago
uramer 35448bf0fe Fix crash when passing a non-callback table to a callback argument 11 months ago
psi29a 8d0a670f94 Merge branch 'vfs_normalized_path_2' into 'master'
Use normalized path for file archives indices

See merge request OpenMW/openmw!3830
11 months ago
psi29a a060a7297c Merge branch 'dehardcode-skillprogression' into 'master'
Lua: Dehardcode skill and level progression

See merge request OpenMW/openmw!3779
11 months ago
Evil Eye 75d0b6e355 Use decompose to handle AI packages and data 11 months ago
elsid 1e07935366
Make crashCatcherInstall no-op for Android
The crashcatcher.cpp is not linked on Android because it's not supported but the
function need to have some definition. Make it empty to avoid link failures.
11 months ago
Alexei Kotov 3301ebb2cb Merge branch 'localize_screenshot' into 'master'
Localize screenshot messages

See merge request OpenMW/openmw!3843
11 months ago
Alexei Kotov 4df62d53db Fix OSG boilerplate macro for DebugCustomDraw 11 months ago
Alexei Kotov 6a96cdaa31 Make DebugDrawer a Node 11 months ago
Alexei Kotov 9531b6983a Don't reallocate debug line primitives 11 months ago
Alexei Kotov f9498e6ea4 Make DebugDrawer a LightManager child, don't use VAO for lines
Fixes terrain lighting but currently breaks non-line primitive rendering in exteriors
11 months ago
Alexei Kotov 38ab09a52e Try to uncursify DebugDrawer scene representation 11 months ago
elsid a6657c18cc
Use normalized path for file archives indices 11 months ago
elsid 062d3e9c00
Add NormalizedView for normalized paths 11 months ago
elsid 1689c59546
Add tests for VFS::Path::Normalized 11 months ago
Andrei Kortunov 6760fa4945 Localize screenshot messages 11 months ago
elsid a7da604332
Update next tile_id when there is a duplicate in navmeshdb
Disable writes on failure to update next tile_id to avoid further errors.
11 months ago
Andrei Kortunov 66b2d428c8 Merge branch 'qt_localization' into 'master'
Localize Launcher and Wizard

See merge request OpenMW/openmw!3571
11 months ago
psi29a 9fc71bb7df Merge branch 'crash_catcher' into 'master'
Cleanup crash catcher code and support lldb

See merge request OpenMW/openmw!3792
11 months ago
jvoisin cdd73a1a19 Merge branch 'fix_far_away_navmesh_crash' into 'master'
Limit navmesh vertices coordinates values (#6574)

Closes #6574

See merge request OpenMW/openmw!3825
11 months ago
elsid e6196c782d
Limit navmesh vertices coordinates values
Float values with more than 22 significant fraction bits may cause out of bounds
access in recastnavigation on triangles rasterization. Prevent passing such
values there.
11 months ago
Alexei Kotov 8b47381162 Merge branch 'more_move' into 'master'
Fix some Coverity Scan complaints

See merge request OpenMW/openmw!3829
11 months ago
Zackhasacat 1338e884a9 Merge branch 'menuscripts' into 'master'
Add new Lua context: menu scripts

Closes #7805 and #7648

See merge request OpenMW/openmw!3464
11 months ago
Andrei Kortunov 225e834b88 Fix some Coverity Scan complaints 11 months ago
uramer b988db9bda Merge branch 'master' into menuscripts 11 months ago
Andrei Kortunov 66d1e036d2 Pass some arguments by references 11 months ago
Andrei Kortunov 7e345436f4 Localize Launcher and Wizard 11 months ago
psi29a ee8eb9d36e Merge branch 'localizable_errors' into 'master'
Make ContentSelector errors localizable

See merge request OpenMW/openmw!3821
11 months ago
psi29a 5ca8f7a00e Merge branch 'normalizedsun' into 'master'
Actually normalize the sun position exposed to post-processing

See merge request OpenMW/openmw!3820
11 months ago
Mads Buvik Sandvei 011d9d6493 Dehardcode skill and level progression 11 months ago
elsid f9b69623d3
Remove stateless encoder from ReadersCache
It was added by https://gitlab.com/OpenMW/openmw/-/merge_requests/2804 without a
good reason. There is already encoder available in the used context.
11 months ago
psi29a be6d063b94 Merge branch 'pointlessinisettings' into 'master'
Support Timescale Clouds and MaxNumberRipples INI settings (#7792, #7795)

Closes #7792 and #7795

See merge request OpenMW/openmw!3812
11 months ago
psi29a 435a4cb9ec Merge branch 'minusputback' into 'master'
Parse special characters that have been put back as names too

See merge request OpenMW/openmw!3804
11 months ago
psi29a 7450b11402 Merge branch 'vfs_normalized_path_1' into 'master'
Use normalized path for VFS manager and RecursiveDirectoryIterator

See merge request OpenMW/openmw!3806
11 months ago
Andrei Kortunov 43307bee28 Make ContentSelector errors localizable 11 months ago
Alexei Kotov 422e455157 Actually normalize the sun position exposed to post-processing 11 months ago
uramer 9cce2e39ba Merge branch 'master' into menuscripts 11 months ago
Mads Buvik Sandvei a94add741e Lua: Animation bindings 11 months ago
Alexei Kotov ad64c71753 Correct MaxNumberRipples and Timescale Clouds validation categories 11 months ago
elsid 70061329a1
Return Path::Normalized from RecursiveDirectoryIterator 11 months ago
elsid 9279138fb0
Accept normalized path by VFS::Manager functions 11 months ago
elsid d549cfd66b
Check path for being normalized 11 months ago
elsid 199d97d32a
Use forward declaration for VFS::Manager 11 months ago
Evil Eye 54429cd23b Parse special characters that have been put back as names too 11 months ago
jvoisin 940856b774 Merge branch 'ba2ext' into 'master'
Make BA2 extension hash calculation safer (#7784)

Closes #7784

See merge request OpenMW/openmw!3799
11 months ago
jvoisin ec6ac8058b Merge branch 'vfs_normalized_path' into 'master'
Add type for normalized VFS path and use for VFS::Manager file map key

See merge request OpenMW/openmw!3781
11 months ago
Alexei Kotov 84ab7afd44 Make BA2 extension hash calculation safer (#7784) 12 months ago
Andrei Kortunov 251d01304f Use move semantics for osg::ref_ptr 12 months ago
psi29a 0ad5829e5d Merge branch 'move_components' into 'master'
Move local variables in components

See merge request OpenMW/openmw!3790
12 months ago
psi29a f7c819a118 Merge branch 'waterculling' into 'master'
Don't use height cull callback when there's no terrain

See merge request OpenMW/openmw!3787
12 months ago
psi29a c23cd8e544 Merge branch 'umlautontherocks' into 'master'
Convert strings in nif files to utf8

Closes #7780

See merge request OpenMW/openmw!3783
12 months ago
elsid b96e32144c
Support lldb in crash catcher 12 months ago
elsid 0095cb604f
Handle sysctl errors without assert 12 months ago
elsid 4efc0e20a3
Report errors on handling the crash 12 months ago
elsid acb246cbf2
Report errors on printing gdb info 12 months ago
elsid 140cc53b55
Report errors on installing crash handler 12 months ago
elsid 2ef286b27a
Make sure function handling crash does not return 12 months ago
elsid fffc6101b7
Remove unnecessary nesting 12 months ago
elsid 55501a02c0
Define only one crashCatcherInstall function 12 months ago
elsid fc12728d25
Move crash_switch variable to cpp file 12 months ago
elsid 8348557893
Move crash handling out of crash handler installation 12 months ago
elsid 7763fe73d8
Make it clear handled signals are always the same 12 months ago
elsid d54bb5cb5a
Declare variables closer to where they are used 12 months ago
elsid d6f1fbe2c9
Remove unused user info function 12 months ago
elsid 388a73376c
Use std::optional for siginfo 12 months ago
elsid c95c8fcc36
Add missing description for SIGABRT 12 months ago
elsid 48c3268bcb
Reduce code duplication for finding signal description 12 months ago
elsid 98844a692d
Regroup crash catcher includes 12 months ago
Andrei Kortunov 87c9f395f1 Move local variables in components 12 months ago
Alexei Kotov e997c44db6 Restore unwrapped Bullet triangle shape shallow copying 12 months ago
Alexei Kotov ffa52dfe7c Don't use height cull callback when there's no terrain 12 months ago
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
12 months ago
psi29a c84386aa4b Merge branch 'fix_navigator_update' into 'master'
Fix navmesh update on player changing tile

See merge request OpenMW/openmw!3756
12 months ago
psi29a 6b9fd12ab7 Merge branch 'fix_ubsan_warnings' into 'master'
Fix ubsan warnings

See merge request OpenMW/openmw!3772
12 months ago
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.
12 months ago
Evil Eye 48db113149 Address feedback 12 months ago
Evil Eye 27fa411f4f Convert strings in nif files to utf8 12 months ago
elsid a2147d70cc
Use forward declaration for some VFS types
This will allow to save on preprocessed code size in the future changes.
12 months ago
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.
12 months ago
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.
12 months ago
psi29a 4f21ea2eae Merge branch 'rm_redundant_ctors' into 'master'
Remove redundant SizeProxy and RenderTarget constructors

See merge request OpenMW/openmw!3769
12 months ago
psi29a 8dbadd660e Merge branch 'pregenerate_glow_textures' into 'master'
Pregenerate glow texture names

See merge request OpenMW/openmw!3768
12 months ago
uramer b9afd7245c Create separate UI api tables for menu and player contexts 12 months ago
elsid dd706aab0e
Add missing SubPass::mMinMap initialization 12 months ago
AnyOldName3 e0eb3feb89 Use OSG_PLUGIN_PREFIX instead of CMAKE_SHARED_MODULE_PREFIX
Logic to generate it copied from OSG's CMake instead of guessed.
12 months ago
uramer 7cc0eae461 Fix Menu Lua settings reset between states 12 months ago
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
12 months ago
AnyOldName3 de107c6a98 Add missing _view 12 months ago
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.
12 months ago
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.
12 months ago
elsid 1bfcfaff34
Use proper naming for member variable 12 months ago
elsid 35da9f8c50
Remove redundant SizeProxy and RenderTarget constructors 12 months ago
elsid 3ad79e3b3e
Pregenerate glow texture names
To avoid strings generation and allocations every time model is added to a
scene.
12 months ago
Evil Eye 1880894f4a Use ciEqual to detect missing content files 12 months ago
Evil Eye 2fc87efa8f Merge branch 'cleanup_navmesh_updater' into 'master'
Cleanup navmesh updater

See merge request OpenMW/openmw!3763
12 months ago
Yury Stepovikov 52623ddd7d Set MacOS current_path before reading configuration files [#7706] 12 months ago
uramer dd6017e81e Avoid making engine handler methods public 12 months ago
uramer 4ed2af7666 Merge branch 'master' into menuscripts 12 months ago
uramer 1afc7ecd58 Test Lua widgets for text inputs correctly 12 months ago
uramer 79deb5f559 Remove settings pages in Lua 12 months ago
uramer 2107bbc01d Reuse input engine handlers in menu scripts 12 months ago
uramer 962ecc4329 Allow menu scripts to read global sections while a game is loaded 12 months ago
Andrei Kortunov 0e1bb45345 Cleanup navmesh updater 12 months ago
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
12 months ago
Evil Eye d05f5e84ff Merge branch 'missing_assert' into 'master'
Add missing assertion

See merge request OpenMW/openmw!3751
12 months ago
Evil Eye 0db8026356 Stop adding and deleting rows 12 months ago
Evil Eye 672cefd594 Track checked EsmFile pointers instead of full paths 12 months ago
Evil Eye 521394d67b Override launcher file info with higher priority info 12 months ago
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.
12 months ago
Andrei Kortunov d1a7dfee87 Add missing assertion 12 months ago
jvoisin 57066bcac1 Merge branch 'more_cleanup' into 'master'
Code cleanup

See merge request OpenMW/openmw!3746
12 months ago
uramer a6e2ceebb8 Don't clear menu UI on game load 12 months ago
uramer d1268acf95 Merge branch 'master' into menuscripts 12 months ago
jvoisin bb22c6e739 Merge branch 'navmesh_cleanup' into 'master'
Small cleanup for navmesh related code

See merge request OpenMW/openmw!3734
12 months ago
Alexei Kotov 14c8103a9e Merge branch 'dripdrop' into 'master'
Drop support for save game format 4

Closes #6624

See merge request OpenMW/openmw!3737
12 months ago
elsid b0b6c48a88
Add clarifying comments to detournavigator coordinates conversion functions 12 months ago
elsid afd6f0739c
Format box shape indices grouping by triangle 12 months ago
Andrei Kortunov 828c40c710 Do not copy due to auto misuse 12 months ago
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
12 months ago
Alexei Kotov 327fafe739 Contect selector: fix ESM date and version data encoding/decoding (#7764) 1 year ago
Alexei Kotov bd2ea715b4 Bring ESM4 head part reading up-to-date with FO76 1 year ago
Alexei Kotov 0b63fafc6d Bring ESM4 global variable reading up-to-date with FO76 1 year ago
Alexei Kotov f9825328d2 Bring ESM4 texture set reading up-to-date with FO76 1 year ago
Alexei Kotov 18982ea4a0 Read FO76 plugin header 1 year ago
Evil Eye a11ff46e82 Drop support for save game format 4 1 year ago
psi29a 21f177daac Merge branch 'shininess' into 'master'
Silence OSG shininess limit warnings

See merge request OpenMW/openmw!3725
1 year ago
psi29a 459aa69b87 Merge branch 'clampunclamped' into 'master'
Manually clamp controller time (#7523)

Closes #7523

See merge request OpenMW/openmw!3713
1 year ago
Alexei Kotov c5a3b516d6 Merge branch 'init_variables' into 'master'
Add missing initialization

See merge request OpenMW/openmw!3722
1 year ago
Alexei Kotov 3ba03782c0 Silence OSG shininess limit warnings 1 year ago
Andrei Kortunov 8d3efd27ba Add missing initialization 1 year ago
Alexei Kotov b132fd4373 Merge branch 'lua_action_fixes' into 'master'
Lua Action fixes

See merge request OpenMW/openmw!3717
1 year ago
Alexei Kotov 19a6fd4e1b Merge branch 'display_esm_version' into 'master'
Improve format version in content selector

See merge request OpenMW/openmw!3709
1 year ago
uramer e9b48e35c0 Coverity defects 1 year ago
uramer 1d8ee7984f Make input.triggers[] consistent with input.actions[] 1 year ago
Alexei Kotov 04b714198a Manually clamp controller time (#7523) 1 year ago
Andrei Kortunov 93e50cc7aa Improve format version in content selector 1 year ago
Evil Eye b835114ce2 Prevent input type assertion 1 year ago
Evil Eye e63933efa6 Use NAM9 for stack count 1 year ago
Evil Eye c97d0b5252 Merge branch 'weather' into 'master'
Make rain and snow ripple settings global rather than per-weather (#7748)

See merge request OpenMW/openmw!3706
1 year ago
psi29a 67955ac55f Merge branch 'treejunk' into 'master'
Discard additional tokens in non-expression contexts

See merge request OpenMW/openmw!3700
1 year ago
psi29a cb24475662 Merge branch 'what-a-selection-you-have' into 'master'
Feat(CS): Add More Selection Controls

See merge request OpenMW/openmw!3674
1 year ago
Alexei Kotov 640fa53bb8 Make rain and snow ripple settings global rather than per-weather (#7748) 1 year ago
Evil Eye 01eb333fad Merge branch 'generic_object_cache' into 'master'
Refactor GenericObjectCache and add unit tests

See merge request OpenMW/openmw!3689
1 year ago
psi29a e9f3e5c6d1 Merge branch 'lua_actions_electric_boogaloo' into 'master'
Lua actions take 3

See merge request OpenMW/openmw!2628
1 year ago
uramer 0e2e386dc9 Lua actions take 3 1 year ago
elsid 7a817d3147
Apply project naming styleguide to GenericObjectCache 1 year ago
elsid 45b1b4f1e0
Remove redundant ObjectCacheMap alias 1 year ago
elsid 7b1ee2780b
Use ranged for loops in GenericObjectCache 1 year ago
elsid 2f0613c8d4
Remove user defined destructor for GenericObjectCache 1 year ago
elsid fd2fc63dd3
Support heterogeneous lookup in GenericObjectCache 1 year ago
elsid 56401a90a1
Merge GenericObjectCache update and remove functions
They are always called together. Single iteration over the items is more
efficient along with locking the mutex only once.
1 year ago
Evil Eye 02775c490b Discard additional tokens in non-expression contexts 1 year ago
alekulyn f71862fb76 Remove unnecessary code 1 year ago
alekulyn 310b8206dd Fix #7696 1 year ago
Alexei Kotov f1782ad8df Merge branch 'rm_unused_vfs' into 'master'
Remove unused vfs argument from correctMeshPath

See merge request OpenMW/openmw!3691
1 year ago
Evil Eye c6e5a28241 Merge branch 'crime_disposition' into 'master'
Implement crime disposition modifier

Closes #4683

See merge request OpenMW/openmw!3448
1 year ago
AnyOldName3 a497d40689 Merge branch 'vfs_string_view' into 'master'
Use string_view for VFS (#6125)

See merge request OpenMW/openmw!3688
1 year ago
AnyOldName3 4567374e1f Merge branch 'localize_tooltip' into 'master'
Make content selector tooltip localizable

See merge request OpenMW/openmw!3687
1 year ago
jvoisin c3dfc8c213 Merge branch 'detour_alloc' into 'master'
Use RecastGlobalAllocator for Detour

See merge request OpenMW/openmw!3678
1 year ago
elsid 81a483fc7f
Remove unused vfs argument from correctMeshPath 1 year ago
psi29a 5d53eb7566 Merge branch 'russianroulette' into 'master'
BulletNifLoader: Handle NiSkinPartition, reduce false-positive collision generation for NiSwitchNode children

See merge request OpenMW/openmw!3634
1 year ago
psi29a ff514df5a1 Merge branch 'distortion' into 'master'
Distortion

See merge request OpenMW/openmw!3536
1 year ago
Andrei Kortunov ffffb427f5 Implement crime disposition modifier (bug 4683) 1 year ago
elsid 851bad4262 Merge branch 'precipitationripples' into 'master'
Use fallback weather ripple settings (bug #7292)

Closes #7292

See merge request OpenMW/openmw!3671
1 year ago
elsid 71e33cf8b2
Add unit tests for GenericObjectCache 1 year ago
elsid 0d8dc5aabc
Use string_view for VFS lookups 1 year ago
elsid 3363616f56
Remove redundant startsWith function 1 year ago
Andrei Kortunov f2c284688b Make content selector tooltip localizable 1 year ago
Andrei Kortunov 1ca2a0ef66 Store generated UI by pointer to avoid redundant processing 1 year ago
Alexei Kotov 51b05647e2 Merge branch 'move_files' into 'master'
Move *.ui files for different applications to different folders

See merge request OpenMW/openmw!3659
1 year ago
elsid 329500b087
Remove redundant return 1 year ago
elsid 0cf55d3617
Use RecastGlobalAllocator for Detour 1 year ago
Dave Corley 24443e00bf Feat(CS): Implement selection groups into data model 1 year ago
Dave Corley 5c10727380 Feat(CS): Add definition files for selection group record type 1 year ago
Alexei Kotov 099c39ae87 Use fallback weather ripple settings (bug #7292) 1 year ago
elsid 995f0e4865
Fix unused-but-set-variable warning
components/esm3/inventorystate.cpp:18:18: warning: variable 'index' set but not used [-Wunused-but-set-variable]
        uint32_t index = 0;
                 ^
1 year ago
Cody Glassman 187f63d3d3 support postprocess distortion 1 year ago
Evil Eye 3e101ab409 Add a variadic getHNOT 1 year ago
Andrei Kortunov e6690bbcc7 Use CMAKE_CURRENT_SOURCE_DIR instead of CMAKE_SOURCE_DIR 1 year ago
Andrei Kortunov 2e041073fc Move *.ui files for different applications to different folders 1 year ago
Evil Eye 9f38ee82f4 Fix misaligned address 1 year ago
Evil Eye 37415b0382 Don't use getExact to read structs 1 year ago
Evil Eye c10b9297f0 Remove Sized methods from ESMReader 1 year ago
Evil Eye a9e6e63c4e Remove fixed size reads 1 year ago
Alexei Kotov 46dc290b75 Merge branch 'more_localizable' into 'master'
Make hardcoded strings in Launcher and Wizard localizable

See merge request OpenMW/openmw!3630
1 year ago
jvoisin 3b1df3dd07 Merge branch 'tangentspace' into 'master'
Untangle tangent space handling and parallax

See merge request OpenMW/openmw!3648
1 year ago
Alexei Kotov 7e3270abc9 Merge branch 'unsave' into 'master'
Drop support for saves made prior to 0.40

See merge request OpenMW/openmw!3645
1 year ago
Alexei Kotov 4a96885323 Untangle normals and parallax handling
Move tangent space generation to the vertex shaders
Support diffuse parallax when no normal map is present
Don't use diffuse parallax if there's no diffuse map
Generalize normal-to-view conversion
Rewrite parallax
1 year ago
jvoisin abbb620ea2 Merge branch 'nifogproperty' into 'master'
Handle NiFogProperty (feature #5173)

Closes #5173

See merge request OpenMW/openmw!3642
1 year ago
Evil Eye 78da1eb41f Merge branch 'settings_values_editor_2' into 'master'
Use settings values for editor (#6876)

See merge request OpenMW/openmw!3633
1 year ago
Andrei Kortunov ca19f7006c Make hardcoded strings in Launcher and Wizard localizable 1 year ago
AnyOldName3 4d0aece001 Clarify variable name 1 year ago
AnyOldName3 3a71a78d9e Combine topLevelDirectory and alternativeDirectories 1 year ago
AnyOldName3 f30676cbc7 Invert condition
Rebased to account for upstream normalising slashes to replace forward
slashes with backslashes, simplifying the part that needed to check for
both variants. Perhaps if it'd been like that in the first place, I
wouldn't have made the mistake that made the original version of this
commit necessary.
1 year ago
AnyOldName3 575367bc18 v e c t o r 1 year ago
AnyOldName3 69bb65e47b Allow bookart to be in texutres and texutres to be in bookart.
Rebased to account for upstream normalising slashes to turn forward
slashes into backslashes. This simplifies some conditions that
previously needed to check for both kinds.
1 year ago
jvoisin e3e9b39a16 Merge branch 'skinning' into 'master'
Streamline passing influence data to skinning

See merge request OpenMW/openmw!3641
1 year ago
jvoisin 47b87f1ff2 Merge branch 'reanimaterescaling' into 'master'
Restore animated collision shape rescaling (take 3)

See merge request OpenMW/openmw!3635
1 year ago
Evil Eye b0ef42ae3c Drop support for save game format 3 1 year ago
Evil Eye becc5ef8fa Drop support for save game format 2 1 year ago
Evil Eye 521cff08f8 Drop support for save game format 1 1 year ago
Alexei Kotov 9cdaf2c29b Handle NiFogProperty (feature #5173) 1 year ago
Alexei Kotov c1088e5f70 Streamline passing influence data to skinning 1 year ago
Devin Alexander Torres 8161771969 Add sol::lib::jit to actually enable JIT 1 year ago
jvoisin b67d89f2e0 Merge branch 'saveformat' into 'master'
Drop support for old saves

See merge request OpenMW/openmw!3629
1 year ago
Alexei Kotov 754c5a8e2a Restore animated collision shape rescaling 1 year ago
Mads Buvik Sandvei f6a6c278dd More cleanup of scripted animations 1 year ago
Evil Eye 7cdf702a14 Merge branch 'niftestbsatool' into 'master'
bsatool and NIF debugging improvements

See merge request OpenMW/openmw!3619
1 year ago
Alexei Kotov b93291840e BulletNifLoader: Handle NiSkinPartition
Add NiSkinPartition recovery helper method
1 year ago
Alexei Kotov 6e7661ca87 BulletNifLoader: Handle only the first child of NiSwitchNode and NiFltAnimationNode
To prevent duplicated collisions in general cases when the node states are similar or only one child is ever active.
For NiLODNode this is definitely not going to work
1 year ago
Alexei Kotov 53f5e4dd3c Merge branch 'highlight_color' into 'master'
Highlight new items in launcher by text formatting, not by color

See merge request OpenMW/openmw!3625
1 year ago
AnyOldName3 952bf58bc1 Merge branch 'turnitup' into 'master'
Support Oblivion parallax setup

See merge request OpenMW/openmw!3620
1 year ago
elsid e1a68d8cf5
Ignore absent default setting value 1 year ago
Alexei Kotov 7c63522870 Merge branch 'settings_values_editor_1' into 'master'
Define editor settings as typed struct members (#6876)

See merge request OpenMW/openmw!3597
1 year ago
Evil Eye 194bcb0187 Drop support for save game format 0 (pre 0.37) 1 year ago
Evil Eye 23aacbd914 Introduce a minimum supported save game format 1 year ago
Evil Eye 8d8e970aba Merge branch 'message_formatting' into 'master'
Do not include formatting spaces to localizable strings

See merge request OpenMW/openmw!3624
1 year ago
Andrei Kortunov c5b16d1ba2 Do not include formatting spaces to localizable strings 1 year ago
Evil Eye f52e8f76c6 Use std::erase instead of using std::remove without erasing 1 year ago
Evil Eye fe67407f74 Merge branch 'bullettotheheart' into 'master'
BulletNifLoader: Move NiGeometry triangulation to NiGeometry

See merge request OpenMW/openmw!3613
1 year ago
jvoisin d230c89a56 Merge branch 'rework_resolutions' into 'master'
Rework resolution selection

Closes #7709

See merge request OpenMW/openmw!3622
1 year ago
Andrei Kortunov 5e96825e6b Highlight new items in launcher by text formatting, not by color 1 year ago
Zackhasacat ae3f9f8dcf Merge branch 'lua_ui_child_element' into 'master'
Lua Element as layout children

See merge request OpenMW/openmw!3582
1 year ago
Andrei Kortunov 623510c073 Use multiplication character in the launcher instead of 'x' 1 year ago
Alexei Kotov 99024d3826 Revamp NIF debug logging
Disabled by default
Extend it to supported files
Log more version info
Reduce noise
1 year ago
Andrei Kortunov 81a6a7cd2f Rework resolution selection (feature 7709) 1 year ago
Alexei Kotov 9c94058727 Support Oblivion parallax setup 1 year ago
Alexei Kotov 9a43ca2d00 Move NiGeometry triangulation to NiGeometry 1 year ago
uramer 9403f06618 Fix visibility breaking after multiple updates 1 year ago
uramer d214f6f6ef Get rid of unncesesary onCoordChange 1 year ago
uramer f3a7b087eb Clean up unncesesary namespace prefixes 1 year ago
uramer 86ea12a458 Handle moving element into another element layout 1 year ago
uramer cf84386cc2 Use Element Content children for Settings UI 1 year ago
uramer 4ba2aca3d3 Handle Element root changing type 1 year ago
uramer 919e067ab7 Error when encountering destroyed widgets 1 year ago
uramer a36360cbde Update parent coords when updating element 1 year ago
uramer 4a4cef5709 Attach elements to each other, safely destroy 1 year ago
uramer f037dc814d Allow UI Elements in UI Content 1 year ago
elsid f08ab9af56
Use SDL2 generate cmake files to find the package 1 year ago
Zackhasacat 5623a5cf01 Merge branch 'lua_sgetcurrent_conditionofitem_itemdata_idea' into 'master'
Lua API to get/set item condition

See merge request OpenMW/openmw!3421
1 year ago
jvoisin 08538dd137 Merge branch 'rm_unused_variable' into 'master'
Remove unused variable

See merge request OpenMW/openmw!3607
1 year ago
Zackhasacat a38d17a918 Merge branch 'api_inconsistencies' into 'master'
Minor API inconsistencies

See merge request OpenMW/openmw!3601
1 year ago
uramer c9eaeb47d5 Minor API inconsistencies 1 year ago
Zackhasacat ad1d6c0d0f Merge branch 'find_nearest_nav_mesh_position' into 'master'
Add Navigator and Lua API function to find nearest position on navmesh

See merge request OpenMW/openmw!2681
1 year ago
Zackhasacat 6fb6c7a32f Merge branch 'misisng_plugins' into 'master'
Display missing plugins upon savegame loading

Closes #7608

See merge request OpenMW/openmw!3594
1 year ago
elsid 81fa7836fe
Remove unused variable 1 year ago
elsid 94b085af9e
Add Navigator and Lua API function to find nearest position on navmesh 1 year ago
elsid 40688c0e7c
Rename findPath to findPolygonPath to avoid name collision with other findPath 1 year ago
Evil Eye 5a1a54b959 Merge branch 'lua_class_data' into 'master'
Add class records to lua

See merge request OpenMW/openmw!3515
1 year ago
Andrei Kortunov f88b99201a Display missing plugins upon savegame loading (feature 7608) 1 year ago
Evil Eye 63875a7954 Merge branch 'concepts' into 'master'
Use concepts for some argument types

See merge request OpenMW/openmw!3598
1 year ago
jvoisin 2150e4cae6 Merge branch 'warningfixes' into 'master'
Fix warnings

See merge request OpenMW/openmw!3587
1 year ago
Zackhasacat 13deb0fba8 Merge branch 'imod' into 'master'
Fill out item modification records and add them to the scene

See merge request OpenMW/openmw!3540
1 year ago
AnyOldName3 94ea0541f3 Merge branch 'editormarkerrendering' into 'master'
NifLoader: Only handle editor marker extra data for the root node

See merge request OpenMW/openmw!3595
1 year ago
elsid b17afc4641
Use concepts for some argument types 1 year ago
elsid fb0b95a2dd
Define editor settings as typed struct members 1 year ago
Zackhasacat 35da9578ca Merge gitlab.com:openmw/openmw into lua_class_data 1 year ago
uramer d6220b7d03 Merge branch 'postprocess_version' into 'master'
[Postprocessing] Add an API version, mirroring Lua

See merge request OpenMW/openmw!3552
1 year ago
Cody Glassman de8c93d049 [Postprocessing] Add an API version, mirroring Lua 1 year ago
Andrei Kortunov aeb46f5fba Fix Coverity warnings 1 year ago
Zackhasacat 10030a55e0 Merge branch 'master' of gitlab.com:openmw/openmw into lua_class_data 1 year ago
Zackhasacat a2b47f44d2 Fix misspelling 1 year ago
Alexei Kotov 1e0d549d1d NifLoader: Only handle editor marker extra data for the root node 1 year ago
Alexei Kotov d495e5af62 Merge branch 'missing_settings_values' into 'master'
Use settings values for missed cases (#6876)

See merge request OpenMW/openmw!3589
1 year ago
jvoisin 9b1cb99b1a Merge branch 'ncroot' into 'master'
Improve BulletNifLoader handling of extra data

See merge request OpenMW/openmw!3590
1 year ago