Evil Eye
fba4055877
Move return comments to a new line
2024-01-18 22:32:46 +01:00
Cody Glassman
3cdb9496c4
dont clear empty FBOs, fix doc example
2024-01-18 07:15:35 -08: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
68c280a493
Merge branch 'streammusic_fade' into 'master'
...
Add a table with fadeOut argument for streamMusic
See merge request OpenMW/openmw!3774
2024-01-17 19:26:07 +00:00
Evil Eye
f5b4287c79
Merge branch 'hide_internal_symbols' into 'master'
...
Move FindLowestUnusedTexUnitVisitor to unnamed namespace
See merge request OpenMW/openmw!3780
2024-01-17 19:21:52 +00:00
Evil Eye
0f6133b040
Merge branch 'move_editor' into 'master'
...
Move local variables in the editor
See merge request OpenMW/openmw!3771
2024-01-17 17:21:05 +00: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
Andrei Kortunov
a340b49cbc
Enhance light settings tweaking
2024-01-16 10:23:13 +04: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
Evil Eye
5ae878c248
Merge branch 'blocksound' into 'master'
...
Play shield hit sound for the shield that was hit (#7774 )
Closes #7774
See merge request OpenMW/openmw!3776
2024-01-15 16:06:01 +00:00
psi29a
39a1a7b2f1
Merge branch 'rework_launcher_tabs' into 'master'
...
Rework launcher tabs
See merge request OpenMW/openmw!3775
2024-01-15 11:31:28 +00: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
Andrei Kortunov
a91e557c68
Fix Touch command (bug 7765)
2024-01-14 22:10:18 +04:00
psi29a
2836ca2d91
Merge branch 'dynamic_casts' into 'master'
...
Check dynamic cast results
See merge request OpenMW/openmw!3761
2024-01-14 17:23:13 +00:00
uramer
0a2adfee16
SaveInfo.timePlayed field
2024-01-14 17:47:27 +01:00
uramer
94d782c4be
Fix doc typos and add menu package to necessary lists
2024-01-14 17:47:23 +01:00
Evil Eye
6ff14e19d1
Make cell models preloading a const operation
2024-01-14 16:41:55 +01:00
Andrei Kortunov
6cefe2c118
Rework launcher tabs
2024-01-14 14:05:14 +04:00
Alexei Kotov
1a629cbf07
Play shield hit sound for the shield that was hit ( #7774 )
2024-01-14 10:33:21 +03:00
Andrei Kortunov
98b281e4ad
Add a missing assertion
2024-01-14 10:59:39 +04:00
Andrei Kortunov
f8c1d48c0b
Get rid of redundant casts
2024-01-14 10:54:51 +04:00
Andrei Kortunov
14e6af8bea
Add a table with fadeOut argument for streamMusic
2024-01-13 15:42:17 +04:00
psi29a
51426eb754
Merge branch 'topiccoloring' into 'master'
...
Properly redraw the topics list when disposition bar state changes
See merge request OpenMW/openmw!3765
2024-01-13 09:52:20 +00: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
384a1dd13a
Update PrecipitationOccluder only when there is precipitation
2024-01-13 01:08:57 +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
uramer
dd09c9b362
Don't save global storage if global scripts didn't run
2024-01-13 00:42:55 +01:00
jvoisin
99164b3a0e
Merge branch 'cicontent' into 'master'
...
Use ciEqual to detect missing content files
See merge request OpenMW/openmw!3767
2024-01-12 19:19:02 +00:00
Zackhasacat
f3229f8674
Merge branch 'master' of gitlab.com:openmw/openmw into lua_controller_cursor
2024-01-12 12:01:44 -06:00
elsid
3592dc4c88
Add tests for saving and loading AiSequence::AiWander
2024-01-12 12:31:40 +01:00
psi29a
53e3dd0a70
Merge branch 'ondeath' into 'master'
...
Handle running stats extensions on non-actors gracefully (#7770 )
Closes #7770
See merge request OpenMW/openmw!3760
2024-01-12 07:55:49 +00:00
Andrei Kortunov
074ab682ab
Move local variables in the editor
2024-01-12 10:10:27 +04: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
uramer
b5aca012eb
Fix typo
2024-01-11 17:57:11 +01:00
psi29a
4c88ab5e07
Merge branch 'thunderstorm' into 'master'
...
Interrupt thunder SFX indoors (bug #6402 )
Closes #6402
See merge request OpenMW/openmw!3741
2024-01-11 16:23:16 +00:00
psi29a
d458a8e43b
Merge branch 'readonly_properties' into 'master'
...
Refactor Lua properties
See merge request OpenMW/openmw!3762
2024-01-11 09:32:30 +00:00