Commit Graph

7917 Commits (86a82ae3f11e9d39270988dd89db17e863ceca94)

Author SHA1 Message Date
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
uramer 7cc0eae461 Fix Menu Lua settings reset between states 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