AnyOldName3
ec4731d454
Cope with scene widgets being destroyed in a weird order
...
I can't actually test this as the CS still doesn't get far enough with this MR.
11 months ago
AnyOldName3
36a75cdb29
Get the GLExtensions instance when a context is created
11 months ago
AnyOldName3
1717e696b1
Format before clang notices and sends me an angry email
11 months ago
AnyOldName3
db5a43db30
Allow top-level prefix to be found in the middle of a path
11 months ago
Evil Eye
0bab37327c
Account for pre-0.46 saves storing a gold value of 0 for everything
11 months ago
psi29a
e4a9e83609
Merge branch 'disable-shadows-properly-properly' into 'master'
...
Affect correct texture units when disabling shadows for stateset
Closes #7838
See merge request OpenMW/openmw!3891
11 months ago
elsid
38990b1fd2
Set components property after it is defined
11 months ago
Dave Corley
ce2787e15e
Cleanup(loadcell): Rename setHasWater to setHasWaterHeightSub
11 months ago
Dave Corley
d04572ac84
Cleanup(loadcell): Rename mHasWater to mHasWaterHeightSub for clarity.
11 months ago
Dave Corley
f95cad07f2
Cleanup(loadcell): Remove unused integer water flag
11 months ago
Dave Corley
bb35f0366a
Fix(loadcell): Save water height regardless of value, if the user actually adjusted it
11 months ago
Dave Corley
1b431bf633
Fix(editor): Don't save dirty water height values
11 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
11 months ago
psi29a
518f34c869
Merge branch 'bsa_archive' into 'master'
...
Cleanup and optimize BSA archives code
See merge request OpenMW/openmw!3876
11 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.
11 months ago
elsid
c2ac1ce046
Use is_directory member function
...
To reduce the number of syscalls.
11 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
12 months ago
elsid
9279138fb0
Accept normalized path by VFS::Manager functions
12 months ago
elsid
d549cfd66b
Check path for being normalized
12 months ago
elsid
199d97d32a
Use forward declaration for VFS::Manager
12 months ago
Evil Eye
54429cd23b
Parse special characters that have been put back as names too
12 months ago
jvoisin
940856b774
Merge branch 'ba2ext' into 'master'
...
Make BA2 extension hash calculation safer (#7784 )
Closes #7784
See merge request OpenMW/openmw!3799
12 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
12 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