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
uramer
79deb5f559
Remove settings pages in Lua
2024-01-10 23:13:27 +01:00
uramer
2107bbc01d
Reuse input engine handlers in menu scripts
2024-01-10 23:13:23 +01:00
uramer
962ecc4329
Allow menu scripts to read global sections while a game is loaded
2024-01-10 22:28:57 +01:00
Andrei Kortunov
0e1bb45345
Cleanup navmesh updater
2024-01-10 15:28:26 +04:00
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
2024-01-09 21:42:45 +00:00
Evil Eye
d05f5e84ff
Merge branch 'missing_assert' into 'master'
...
Add missing assertion
See merge request OpenMW/openmw!3751
2024-01-09 18:17:31 +00:00
Evil Eye
0db8026356
Stop adding and deleting rows
2024-01-09 17:45:48 +01:00
Evil Eye
672cefd594
Track checked EsmFile pointers instead of full paths
2024-01-09 17:40:14 +01:00
Evil Eye
521394d67b
Override launcher file info with higher priority info
2024-01-09 17:40:14 +01:00
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.
2024-01-09 01:18:45 +01:00
Andrei Kortunov
d1a7dfee87
Add missing assertion
2024-01-08 16:19:40 +04:00
jvoisin
57066bcac1
Merge branch 'more_cleanup' into 'master'
...
Code cleanup
See merge request OpenMW/openmw!3746
2024-01-08 11:35:24 +00:00
uramer
a6e2ceebb8
Don't clear menu UI on game load
2024-01-07 23:29:20 +01:00
uramer
d1268acf95
Merge branch 'master' into menuscripts
2024-01-07 23:15:21 +01:00
jvoisin
bb22c6e739
Merge branch 'navmesh_cleanup' into 'master'
...
Small cleanup for navmesh related code
See merge request OpenMW/openmw!3734
2024-01-07 22:14:52 +00:00
Alexei Kotov
14c8103a9e
Merge branch 'dripdrop' into 'master'
...
Drop support for save game format 4
Closes #6624
See merge request OpenMW/openmw!3737
2024-01-07 18:01:20 +00:00
elsid
b0b6c48a88
Add clarifying comments to detournavigator coordinates conversion functions
2024-01-07 17:57:53 +01:00
elsid
afd6f0739c
Format box shape indices grouping by triangle
2024-01-07 17:57:53 +01:00
Andrei Kortunov
828c40c710
Do not copy due to auto misuse
2024-01-07 18:52:10 +04:00
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
2024-01-07 14:15:52 +00:00
Alexei Kotov
327fafe739
Contect selector: fix ESM date and version data encoding/decoding ( #7764 )
2024-01-07 07:16:42 +03:00
Alexei Kotov
bd2ea715b4
Bring ESM4 head part reading up-to-date with FO76
2024-01-07 04:55:39 +03:00
Alexei Kotov
0b63fafc6d
Bring ESM4 global variable reading up-to-date with FO76
2024-01-07 04:55:39 +03:00
Alexei Kotov
f9825328d2
Bring ESM4 texture set reading up-to-date with FO76
2024-01-07 04:55:39 +03:00
Alexei Kotov
18982ea4a0
Read FO76 plugin header
2024-01-07 04:55:39 +03:00
Evil Eye
a11ff46e82
Drop support for save game format 4
2024-01-06 14:59:22 +01:00
psi29a
21f177daac
Merge branch 'shininess' into 'master'
...
Silence OSG shininess limit warnings
See merge request OpenMW/openmw!3725
2024-01-06 11:26:40 +00:00
psi29a
459aa69b87
Merge branch 'clampunclamped' into 'master'
...
Manually clamp controller time (#7523 )
Closes #7523
See merge request OpenMW/openmw!3713
2024-01-05 09:43:23 +00:00
Alexei Kotov
c5a3b516d6
Merge branch 'init_variables' into 'master'
...
Add missing initialization
See merge request OpenMW/openmw!3722
2024-01-04 20:31:55 +00:00
Alexei Kotov
3ba03782c0
Silence OSG shininess limit warnings
2024-01-04 01:02:33 +03:00
Andrei Kortunov
8d3efd27ba
Add missing initialization
2024-01-03 19:25:33 +04:00
Alexei Kotov
b132fd4373
Merge branch 'lua_action_fixes' into 'master'
...
Lua Action fixes
See merge request OpenMW/openmw!3717
2024-01-03 15:19:18 +00:00
Alexei Kotov
19a6fd4e1b
Merge branch 'display_esm_version' into 'master'
...
Improve format version in content selector
See merge request OpenMW/openmw!3709
2024-01-02 17:32:21 +00:00
uramer
e9b48e35c0
Coverity defects
2024-01-02 13:54:02 +01:00
uramer
1d8ee7984f
Make input.triggers[] consistent with input.actions[]
2024-01-02 13:45:45 +01:00
Alexei Kotov
04b714198a
Manually clamp controller time ( #7523 )
2024-01-01 20:59:33 +03:00
Andrei Kortunov
93e50cc7aa
Improve format version in content selector
2024-01-01 18:16:58 +04:00
Evil Eye
b835114ce2
Prevent input type assertion
2024-01-01 12:48:12 +01:00
Evil Eye
e63933efa6
Use NAM9 for stack count
2023-12-31 17:12:46 +00:00
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
2023-12-31 11:01:14 +00:00
psi29a
67955ac55f
Merge branch 'treejunk' into 'master'
...
Discard additional tokens in non-expression contexts
See merge request OpenMW/openmw!3700
2023-12-30 09:42:26 +00:00
psi29a
cb24475662
Merge branch 'what-a-selection-you-have' into 'master'
...
Feat(CS): Add More Selection Controls
See merge request OpenMW/openmw!3674
2023-12-30 09:40:29 +00:00
Alexei Kotov
640fa53bb8
Make rain and snow ripple settings global rather than per-weather ( #7748 )
2023-12-30 04:24:18 +03:00
Evil Eye
01eb333fad
Merge branch 'generic_object_cache' into 'master'
...
Refactor GenericObjectCache and add unit tests
See merge request OpenMW/openmw!3689
2023-12-29 21:22:30 +00:00
psi29a
e9f3e5c6d1
Merge branch 'lua_actions_electric_boogaloo' into 'master'
...
Lua actions take 3
See merge request OpenMW/openmw!2628
2023-12-29 18:56:59 +00:00
uramer
0e2e386dc9
Lua actions take 3
2023-12-29 18:56:59 +00:00
elsid
7a817d3147
Apply project naming styleguide to GenericObjectCache
2023-12-28 21:58:42 +01:00
elsid
45b1b4f1e0
Remove redundant ObjectCacheMap alias
2023-12-28 21:58:42 +01:00
elsid
7b1ee2780b
Use ranged for loops in GenericObjectCache
2023-12-28 21:58:42 +01:00
elsid
2f0613c8d4
Remove user defined destructor for GenericObjectCache
2023-12-28 21:58:42 +01:00
elsid
fd2fc63dd3
Support heterogeneous lookup in GenericObjectCache
2023-12-28 21:58:41 +01:00
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.
2023-12-28 21:58:33 +01:00
Evil Eye
02775c490b
Discard additional tokens in non-expression contexts
2023-12-28 21:49:25 +01:00
alekulyn
f71862fb76
Remove unnecessary code
2023-12-27 22:30:04 -06:00
alekulyn
310b8206dd
Fix #7696
2023-12-27 22:15:48 -06:00
Alexei Kotov
f1782ad8df
Merge branch 'rm_unused_vfs' into 'master'
...
Remove unused vfs argument from correctMeshPath
See merge request OpenMW/openmw!3691
2023-12-27 17:23:16 +00:00
Evil Eye
c6e5a28241
Merge branch 'crime_disposition' into 'master'
...
Implement crime disposition modifier
Closes #4683
See merge request OpenMW/openmw!3448
2023-12-27 11:53:56 +00:00
AnyOldName3
a497d40689
Merge branch 'vfs_string_view' into 'master'
...
Use string_view for VFS (#6125 )
See merge request OpenMW/openmw!3688
2023-12-26 18:40:25 +00:00
AnyOldName3
4567374e1f
Merge branch 'localize_tooltip' into 'master'
...
Make content selector tooltip localizable
See merge request OpenMW/openmw!3687
2023-12-26 18:38:35 +00:00
jvoisin
c3dfc8c213
Merge branch 'detour_alloc' into 'master'
...
Use RecastGlobalAllocator for Detour
See merge request OpenMW/openmw!3678
2023-12-26 13:44:00 +00:00
elsid
81a483fc7f
Remove unused vfs argument from correctMeshPath
2023-12-26 14:14:52 +01:00
psi29a
5d53eb7566
Merge branch 'russianroulette' into 'master'
...
BulletNifLoader: Handle NiSkinPartition, reduce false-positive collision generation for NiSwitchNode children
See merge request OpenMW/openmw!3634
2023-12-26 10:33:20 +00:00
psi29a
ff514df5a1
Merge branch 'distortion' into 'master'
...
Distortion
See merge request OpenMW/openmw!3536
2023-12-26 10:31:51 +00:00
Andrei Kortunov
ffffb427f5
Implement crime disposition modifier (bug 4683)
2023-12-26 14:04:23 +04:00
elsid
851bad4262
Merge branch 'precipitationripples' into 'master'
...
Use fallback weather ripple settings (bug #7292 )
Closes #7292
See merge request OpenMW/openmw!3671
2023-12-26 09:51:23 +00:00
elsid
71e33cf8b2
Add unit tests for GenericObjectCache
2023-12-25 14:12:16 +01:00
elsid
0d8dc5aabc
Use string_view for VFS lookups
2023-12-25 12:21:01 +01:00
elsid
3363616f56
Remove redundant startsWith function
2023-12-25 11:43:02 +01:00
Andrei Kortunov
f2c284688b
Make content selector tooltip localizable
2023-12-25 11:29:36 +04:00
Andrei Kortunov
1ca2a0ef66
Store generated UI by pointer to avoid redundant processing
2023-12-24 20:35:19 +04:00
Alexei Kotov
51b05647e2
Merge branch 'move_files' into 'master'
...
Move *.ui files for different applications to different folders
See merge request OpenMW/openmw!3659
2023-12-24 09:58:24 +00:00
elsid
329500b087
Remove redundant return
2023-12-24 00:24:32 +01:00
elsid
0cf55d3617
Use RecastGlobalAllocator for Detour
2023-12-24 00:24:27 +01:00
Dave Corley
24443e00bf
Feat(CS): Implement selection groups into data model
2023-12-23 15:05:13 -06:00
Dave Corley
5c10727380
Feat(CS): Add definition files for selection group record type
2023-12-23 15:05:13 -06:00
Alexei Kotov
099c39ae87
Use fallback weather ripple settings (bug #7292 )
2023-12-23 11:46:08 +03:00
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;
^
2023-12-22 14:43:38 +01:00
Cody Glassman
187f63d3d3
support postprocess distortion
2023-12-21 10:56:38 -08:00
Evil Eye
3e101ab409
Add a variadic getHNOT
2023-12-20 12:28:34 +01:00
Andrei Kortunov
e6690bbcc7
Use CMAKE_CURRENT_SOURCE_DIR instead of CMAKE_SOURCE_DIR
2023-12-19 19:58:52 +04:00
Andrei Kortunov
2e041073fc
Move *.ui files for different applications to different folders
2023-12-19 15:21:08 +04:00
Evil Eye
9f38ee82f4
Fix misaligned address
2023-12-17 21:30:04 +01:00
Evil Eye
37415b0382
Don't use getExact to read structs
2023-12-17 15:16:32 +01:00
Evil Eye
c10b9297f0
Remove Sized methods from ESMReader
2023-12-17 14:05:10 +01:00
Evil Eye
a9e6e63c4e
Remove fixed size reads
2023-12-17 13:00:14 +01:00
Alexei Kotov
46dc290b75
Merge branch 'more_localizable' into 'master'
...
Make hardcoded strings in Launcher and Wizard localizable
See merge request OpenMW/openmw!3630
2023-12-15 04:41:31 +00:00
jvoisin
3b1df3dd07
Merge branch 'tangentspace' into 'master'
...
Untangle tangent space handling and parallax
See merge request OpenMW/openmw!3648
2023-12-14 20:01:39 +00:00
Alexei Kotov
7e3270abc9
Merge branch 'unsave' into 'master'
...
Drop support for saves made prior to 0.40
See merge request OpenMW/openmw!3645
2023-12-13 00:33:20 +00:00
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
2023-12-12 22:42:53 +03:00
jvoisin
abbb620ea2
Merge branch 'nifogproperty' into 'master'
...
Handle NiFogProperty (feature #5173 )
Closes #5173
See merge request OpenMW/openmw!3642
2023-12-12 18:30:11 +00:00
Evil Eye
78da1eb41f
Merge branch 'settings_values_editor_2' into 'master'
...
Use settings values for editor (#6876 )
See merge request OpenMW/openmw!3633
2023-12-12 17:00:43 +00:00
Andrei Kortunov
ca19f7006c
Make hardcoded strings in Launcher and Wizard localizable
2023-12-11 12:02:43 +04:00
AnyOldName3
4d0aece001
Clarify variable name
2023-12-11 00:05:41 +00:00
AnyOldName3
3a71a78d9e
Combine topLevelDirectory and alternativeDirectories
2023-12-10 19:01:30 +00:00
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.
2023-12-10 18:25:00 +00:00
AnyOldName3
575367bc18
v e c t o r
2023-12-10 18:25:00 +00:00
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.
2023-12-10 18:24:07 +00:00
jvoisin
e3e9b39a16
Merge branch 'skinning' into 'master'
...
Streamline passing influence data to skinning
See merge request OpenMW/openmw!3641
2023-12-10 12:56:08 +00:00
jvoisin
47b87f1ff2
Merge branch 'reanimaterescaling' into 'master'
...
Restore animated collision shape rescaling (take 3)
See merge request OpenMW/openmw!3635
2023-12-10 12:55:57 +00:00
Evil Eye
b0ef42ae3c
Drop support for save game format 3
2023-12-09 18:05:57 +01:00
Evil Eye
becc5ef8fa
Drop support for save game format 2
2023-12-09 17:45:42 +01:00
Evil Eye
521cff08f8
Drop support for save game format 1
2023-12-09 17:22:11 +01:00
Alexei Kotov
9cdaf2c29b
Handle NiFogProperty (feature #5173 )
2023-12-09 17:13:16 +03:00
Alexei Kotov
c1088e5f70
Streamline passing influence data to skinning
2023-12-08 20:58:34 +03:00
Devin Alexander Torres
8161771969
Add sol::lib::jit to actually enable JIT
2023-12-07 04:57:52 -06:00
jvoisin
b67d89f2e0
Merge branch 'saveformat' into 'master'
...
Drop support for old saves
See merge request OpenMW/openmw!3629
2023-12-06 12:33:07 +00:00
Alexei Kotov
754c5a8e2a
Restore animated collision shape rescaling
2023-12-06 00:54:54 +03:00
Mads Buvik Sandvei
f6a6c278dd
More cleanup of scripted animations
2023-12-05 14:13:35 +00:00
Evil Eye
7cdf702a14
Merge branch 'niftestbsatool' into 'master'
...
bsatool and NIF debugging improvements
See merge request OpenMW/openmw!3619
2023-12-04 19:24:10 +00:00
Alexei Kotov
b93291840e
BulletNifLoader: Handle NiSkinPartition
...
Add NiSkinPartition recovery helper method
2023-12-04 15:53:24 +03:00
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
2023-12-04 01:22:13 +03:00
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
2023-12-03 20:29:25 +00:00
AnyOldName3
952bf58bc1
Merge branch 'turnitup' into 'master'
...
Support Oblivion parallax setup
See merge request OpenMW/openmw!3620
2023-12-03 18:52:17 +00:00
elsid
e1a68d8cf5
Ignore absent default setting value
2023-12-03 17:18:26 +01:00
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
2023-12-02 13:51:00 +00:00
Evil Eye
194bcb0187
Drop support for save game format 0 (pre 0.37)
2023-12-01 16:37:29 +01:00
Evil Eye
23aacbd914
Introduce a minimum supported save game format
2023-12-01 16:37:29 +01:00
Evil Eye
8d8e970aba
Merge branch 'message_formatting' into 'master'
...
Do not include formatting spaces to localizable strings
See merge request OpenMW/openmw!3624
2023-12-01 15:36:22 +00:00
Andrei Kortunov
c5b16d1ba2
Do not include formatting spaces to localizable strings
2023-11-30 13:06:50 +04:00
Evil Eye
f52e8f76c6
Use std::erase instead of using std::remove without erasing
2023-11-29 16:59:01 +01:00
Evil Eye
fe67407f74
Merge branch 'bullettotheheart' into 'master'
...
BulletNifLoader: Move NiGeometry triangulation to NiGeometry
See merge request OpenMW/openmw!3613
2023-11-29 15:49:19 +00:00
jvoisin
d230c89a56
Merge branch 'rework_resolutions' into 'master'
...
Rework resolution selection
Closes #7709
See merge request OpenMW/openmw!3622
2023-11-29 13:18:20 +00:00
Andrei Kortunov
5e96825e6b
Highlight new items in launcher by text formatting, not by color
2023-11-29 11:14:44 +04:00
Zackhasacat
ae3f9f8dcf
Merge branch 'lua_ui_child_element' into 'master'
...
Lua Element as layout children
See merge request OpenMW/openmw!3582
2023-11-28 21:54:55 +00:00
Andrei Kortunov
623510c073
Use multiplication character in the launcher instead of 'x'
2023-11-28 22:47:27 +04:00
Alexei Kotov
99024d3826
Revamp NIF debug logging
...
Disabled by default
Extend it to supported files
Log more version info
Reduce noise
2023-11-28 21:46:29 +03:00
Andrei Kortunov
81a6a7cd2f
Rework resolution selection (feature 7709)
2023-11-28 22:22:34 +04:00
Alexei Kotov
9c94058727
Support Oblivion parallax setup
2023-11-27 03:41:51 +03:00
Alexei Kotov
9a43ca2d00
Move NiGeometry triangulation to NiGeometry
2023-11-24 23:39:49 +03:00
uramer
9403f06618
Fix visibility breaking after multiple updates
2023-11-24 20:36:45 +01:00
uramer
d214f6f6ef
Get rid of unncesesary onCoordChange
2023-11-24 20:36:45 +01:00
uramer
f3a7b087eb
Clean up unncesesary namespace prefixes
2023-11-24 20:36:45 +01:00
uramer
86ea12a458
Handle moving element into another element layout
2023-11-24 20:36:45 +01:00
uramer
cf84386cc2
Use Element Content children for Settings UI
2023-11-24 20:36:45 +01:00
uramer
4ba2aca3d3
Handle Element root changing type
2023-11-24 20:36:45 +01:00
uramer
919e067ab7
Error when encountering destroyed widgets
2023-11-24 20:36:45 +01:00
uramer
a36360cbde
Update parent coords when updating element
2023-11-24 20:36:45 +01:00
uramer
4a4cef5709
Attach elements to each other, safely destroy
2023-11-24 20:36:45 +01:00
uramer
f037dc814d
Allow UI Elements in UI Content
2023-11-24 20:36:45 +01:00
elsid
f08ab9af56
Use SDL2 generate cmake files to find the package
2023-11-24 15:56:54 +01:00
Zackhasacat
5623a5cf01
Merge branch 'lua_sgetcurrent_conditionofitem_itemdata_idea' into 'master'
...
Lua API to get/set item condition
See merge request OpenMW/openmw!3421
2023-11-23 23:10:39 +00:00
jvoisin
08538dd137
Merge branch 'rm_unused_variable' into 'master'
...
Remove unused variable
See merge request OpenMW/openmw!3607
2023-11-22 19:46:38 +00:00
Zackhasacat
a38d17a918
Merge branch 'api_inconsistencies' into 'master'
...
Minor API inconsistencies
See merge request OpenMW/openmw!3601
2023-11-21 03:04:24 +00:00
uramer
c9eaeb47d5
Minor API inconsistencies
2023-11-21 03:04:24 +00:00
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
2023-11-21 03:01:51 +00:00
Zackhasacat
6fb6c7a32f
Merge branch 'misisng_plugins' into 'master'
...
Display missing plugins upon savegame loading
Closes #7608
See merge request OpenMW/openmw!3594
2023-11-20 00:19:43 +00:00
elsid
81fa7836fe
Remove unused variable
2023-11-20 00:36:53 +01:00
elsid
94b085af9e
Add Navigator and Lua API function to find nearest position on navmesh
2023-11-18 23:54:37 +01:00
elsid
40688c0e7c
Rename findPath to findPolygonPath to avoid name collision with other findPath
2023-11-18 22:37:58 +01:00
Evil Eye
5a1a54b959
Merge branch 'lua_class_data' into 'master'
...
Add class records to lua
See merge request OpenMW/openmw!3515
2023-11-18 20:55:45 +00:00
Andrei Kortunov
f88b99201a
Display missing plugins upon savegame loading (feature 7608)
2023-11-18 14:12:18 +04:00
Evil Eye
63875a7954
Merge branch 'concepts' into 'master'
...
Use concepts for some argument types
See merge request OpenMW/openmw!3598
2023-11-18 09:59:39 +00:00
jvoisin
2150e4cae6
Merge branch 'warningfixes' into 'master'
...
Fix warnings
See merge request OpenMW/openmw!3587
2023-11-17 23:41:47 +00:00
Zackhasacat
13deb0fba8
Merge branch 'imod' into 'master'
...
Fill out item modification records and add them to the scene
See merge request OpenMW/openmw!3540
2023-11-17 18:22:17 +00:00
AnyOldName3
94ea0541f3
Merge branch 'editormarkerrendering' into 'master'
...
NifLoader: Only handle editor marker extra data for the root node
See merge request OpenMW/openmw!3595
2023-11-17 18:04:32 +00:00
elsid
b17afc4641
Use concepts for some argument types
2023-11-16 22:22:46 +01:00
elsid
fb0b95a2dd
Define editor settings as typed struct members
2023-11-16 22:14:58 +01:00
Zackhasacat
35da9578ca
Merge gitlab.com:openmw/openmw into lua_class_data
2023-11-16 11:33:44 -06:00
uramer
d6220b7d03
Merge branch 'postprocess_version' into 'master'
...
[Postprocessing] Add an API version, mirroring Lua
See merge request OpenMW/openmw!3552
2023-11-16 15:24:16 +00:00
Cody Glassman
de8c93d049
[Postprocessing] Add an API version, mirroring Lua
2023-11-16 15:24:16 +00:00
Andrei Kortunov
aeb46f5fba
Fix Coverity warnings
2023-11-16 18:53:43 +04:00
Zackhasacat
10030a55e0
Merge branch 'master' of gitlab.com:openmw/openmw into lua_class_data
2023-11-16 07:37:03 -06:00
Zackhasacat
a2b47f44d2
Fix misspelling
2023-11-16 07:36:40 -06:00
Alexei Kotov
1e0d549d1d
NifLoader: Only handle editor marker extra data for the root node
2023-11-16 15:18:28 +03:00
Alexei Kotov
d495e5af62
Merge branch 'missing_settings_values' into 'master'
...
Use settings values for missed cases (#6876 )
See merge request OpenMW/openmw!3589
2023-11-16 11:54:04 +00:00
jvoisin
9b1cb99b1a
Merge branch 'ncroot' into 'master'
...
Improve BulletNifLoader handling of extra data
See merge request OpenMW/openmw!3590
2023-11-15 22:37:57 +00:00
jvoisin
710b560f91
Merge branch 'dont_reset_luminance' into 'master'
...
consistent average scene luminance (#7679 )
See merge request OpenMW/openmw!3579
2023-11-14 10:56:26 +00:00
Alexei Kotov
c7d5ea9fbf
Improve BulletNifLoader handling of extra data
...
Only handle extra data for the root node(s)
Properly handle MRK flag editor marker filtering
Fix BSXFlags test
2023-11-14 01:30:36 +03:00
Dave Corley
d76ae20c29
Feat(textedit): Set max text length for lua textEdit boxes to int_max by default
2023-11-12 23:59:52 +00:00
elsid
1fa5d2ca98
Use settings values for GUI tags
2023-11-12 16:33:48 +01:00
Alexei Kotov
e11bee250f
Merge branch 'init_field2' into 'master'
...
Init missing fields
See merge request OpenMW/openmw!3574
2023-11-11 21:34:53 +00:00
Cody Glassman
85fcfbafda
apply same logic to render targets, remove UB
2023-11-10 21:22:11 -08:00
jvoisin
374b9759b0
Merge branch '76timesthedetail' into 'master'
...
Read (almost) all NIF files from SeventySix - Meshes.ba2
See merge request OpenMW/openmw!3577
2023-11-10 12:40:56 +00:00
jvoisin
32a9581394
Merge branch 'deepdepths' into 'master'
...
Depth flag handling fixes (bug #7380 )
See merge request OpenMW/openmw!3568
2023-11-08 22:47:29 +00:00
jvoisin
60ec894d8a
Merge branch 'lightitupbaby' into 'master'
...
Support point specular lighting (#6188 )
Closes #6188
See merge request OpenMW/openmw!3559
2023-11-08 22:43:42 +00:00
AnyOldName3
9b6d82566f
Merge branch 'unbound' into 'master'
...
Don't use Bounding Box node bounds as the original collision shape
See merge request OpenMW/openmw!3562
2023-11-08 16:33:16 +00:00
Alexei Kotov
7f92c1821e
Read BSCollisionQueryProxyExtraData
2023-11-08 13:38:14 +03:00
Alexei Kotov
fdf9184cae
Improve or fix FO76-related definitions
2023-11-08 13:38:14 +03:00
Zackhasacat
ec81bd7f1b
rename specilizationIndexToLuaId
2023-11-07 12:01:54 -06:00
Zackhasacat
cb705ff02a
Revert redundant changes
2023-11-07 11:52:53 -06:00
Zackhasacat
76f872aaa2
use std:;array
2023-11-07 11:40:43 -06:00
Andrei Kortunov
47c7997a23
Init an another field
2023-11-07 15:57:25 +04:00
Andrei Kortunov
2d4e1b88b2
Init missing field
2023-11-07 15:52:49 +04:00
Alexei Kotov
bdc019647a
Merge branch 'figure-skaters' into 'master'
...
Use accumulated movement when possible
Closes #5062
See merge request OpenMW/openmw!3549
2023-11-07 03:01:56 +00:00
Alexei Kotov
116ef1c62b
Depth flag handling fixes (bug #7380 )
...
Properly disable depth test while allowing depth writes to happen
Remove NiStencilProperty interaction
Don't set up depth flags for BSShaderPPLightingProperty
2023-11-06 02:19:56 +03:00
Cody Glassman
0f53088014
re-sync docs with postprocessing API
2023-11-05 10:22:22 -08:00
Alexei Kotov
9176326eeb
Merge branch 'fix_lua_atlasing' into 'master'
...
Fix Lua UI atlasing
See merge request OpenMW/openmw!3525
2023-11-05 17:25:23 +00:00
jvoisin
e88f8e09c3
Merge branch 'fixed' into 'master'
...
Replace more variable width integers in ESM code
See merge request OpenMW/openmw!3518
2023-11-05 16:36:13 +00:00
Evil Eye
9fe0e4c035
Merge branch 'bsshaderdepth' into 'master'
...
Support BSShader/BSLightingShader depth flags
See merge request OpenMW/openmw!3560
2023-11-05 09:03:31 +00:00
Alexei Kotov
820fc068d1
Support point specular lighting ( #6188 )
...
Fix passing light specular colors with shader lighting methods (with help from wazabear)
2023-11-04 17:58:51 +03:00
Alexei Kotov
c1f7a9c258
Merge branch 'fix_persistent_buffers' into 'master'
...
Fix persistent buffers and issue with glsl_version
See merge request OpenMW/openmw!3553
2023-11-03 22:53:37 +00:00
Alexei Kotov
f992d0dbf4
Merge branch 'settings_categories_includes' into 'master'
...
Cleanup settings categories includes
See merge request OpenMW/openmw!3551
2023-11-03 22:52:24 +00:00
Zackhasacat
c311caef9a
Redo specialization field
2023-11-03 17:19:53 -05:00
Alexei Kotov
2c1db92d04
Don't use Bounding Box node bounds as the original collision shape
...
Bounding Box node bounds are not used for non-actor collision in Morrowind and the generated box isn't actually used for actor collision in OpenMW
Preserving btBoxShape cloning code because it might get used in the future
2023-11-04 00:56:14 +03:00
Cody Glassman
9a5fa9b8d6
fix persistent buffers and glsl_version
2023-11-03 12:59:23 -07:00
AnyOldName3
e67135a517
Merge branch 'expiredborders' into 'master'
...
Fix #7621
Closes #7621
See merge request OpenMW/openmw!3533
2023-11-03 18:13:02 +00:00
Evil Eye
23afffcc33
Merge branch 'letitsnow' into 'master'
...
Read LTEX::INAM
See merge request OpenMW/openmw!3538
2023-11-03 16:33:34 +00:00
Evil Eye
e51d1967f4
Base cell size on worldspace
2023-11-03 17:24:35 +01:00
Alexei Kotov
af08205f19
Support BSShader/BSLightingShader depth flags
2023-11-03 18:38:01 +03:00
AnyOldName3
07594037ca
Merge branch 'settings_values_shadows' into 'master'
...
Use settings values for Shadows settings (#6876 )
See merge request OpenMW/openmw!3550
2023-11-03 11:35:58 +00:00
Alexei Kotov
410fc17159
Merge branch 'fo4_abc' into 'master'
...
Use correct template flags for FO4 NPCs
See merge request OpenMW/openmw!3544
2023-11-03 01:30:08 +00:00
Evil Eye
1e06d74f82
Fix #7621
2023-11-02 21:53:22 +01:00
elsid
f4efbcc1c4
Use settings values for Shadows settings
2023-11-02 16:36:44 +01:00
Alexei Kotov
4445a55084
Merge branch 'font_fix' into 'master'
...
Fix TrueType fonts scaling
See merge request OpenMW/openmw!3541
2023-11-02 13:09:17 +00:00
Andrei Kortunov
960d903217
Add comment
2023-11-02 13:35:54 +04:00
elsid
633fd89270
Cleanup settings categories includes
2023-11-01 23:34:54 +01:00
Alexei Kotov
8a8d77a444
Merge branch 'settings_reload' into 'master'
...
Support reload for settings values
See merge request OpenMW/openmw!3543
2023-11-01 21:06:09 +00:00
Mads Buvik Sandvei
f41de6b02d
Use accumulated movement whenever possible. Apply diagonal movement by rotating accumulated movement and sliding based on that, rather than ignoring accumulated movement.
2023-11-01 20:31:57 +01:00
Petr Mikheev
6c01ce2672
Use correct template flags for FONV and FO4 NPCs
2023-10-31 23:48:29 +01:00
Alexei Kotov
0b8739711e
Merge branch 'settings_values_video' into 'master'
...
Use settings values for Video settings (#6876 )
See merge request OpenMW/openmw!3527
2023-10-31 21:24:53 +00:00
Alexei Kotov
c49c401441
Merge branch 'settings_values_stereo' into 'master'
...
Use settings values for Stereo settings (#6876 )
See merge request OpenMW/openmw!3530
2023-10-31 21:21:32 +00:00
elsid
ebfcb661ee
Support reload for settings values
...
Convert local static variables into unique_ptr static members of StaticValues.
Add clear member function to reset them. Use it when settings have to be
reloaded.
2023-10-31 11:30:31 +01:00
Petr Mikheev
f5325e11e3
Rename mPermanentCallbacks -> mMenuScriptsCallbacks in LuaUtil::Storage
2023-10-31 11:05:00 +01:00
Petr Mikheev
1dd7a15255
Draft: add new type of Lua scripts - menu scripts
2023-10-31 10:29:24 +01:00
Andrei Kortunov
377d8c905c
Fix TrueType fonts scaling
2023-10-31 10:59:57 +04:00
Alexei Kotov
03c3818229
Place ESM4::ItemMod into the scene
2023-10-31 00:54:44 +03:00
Alexei Kotov
9a6c2fd2cc
Fill out ESM4::ItemMod
2023-10-30 23:23:39 +03:00
Alexei Kotov
f4b27a521a
Read LTEX::INAM
2023-10-30 02:34:47 +03:00
Alexei Kotov
6d776ac833
Merge branch 'range' into 'master'
...
Use a dynamic falloff range for soft effect
See merge request OpenMW/openmw!3532
2023-10-29 22:03:05 +00:00
Cody Glassman
09928ba265
use a dynamic falloff range for soft effect and use shader flags
2023-10-28 10:23:55 -07:00
elsid
bb7ac64f19
Use settings values for Stereo and Stereo View settings
2023-10-27 23:30:17 +02:00
elsid
561a6bf854
Avoid using camera settings from stereo manager
2023-10-27 23:29:07 +02:00
Alexei Kotov
3f4591eb3b
Add movable static and ESM4 land texture stores
2023-10-27 22:53:40 +03:00
elsid
dcd81d026f
Use settings values for Video settings
...
* Convert window mode, vsync mode into enums, screenshot type into a struct.
* Add missing doc for screenshot type.
2023-10-27 14:31:23 +02:00
uramer
f9888230af
Fix Lua UI atlasing
2023-10-26 20:46:34 +02:00
psi29a
6a87ba8f33
Merge branch 'mygui343_fix' into 'master'
...
Fix MyGUI 3.4.3 issues [#7528 ]
See merge request OpenMW/openmw!3319
2023-10-25 12:35:13 +00:00
Evil Eye
212f6bae56
Use correct skip and fix MSVC
2023-10-24 20:59:20 +02:00
Evil Eye
77aaa6177e
Use more fixed size ints
2023-10-24 19:25:52 +02:00
Evil Eye
dc781bad5d
Use fixed size unsigned ints for inventory offsets
2023-10-24 17:51:12 +02:00
Evil Eye
77c978c226
Use more fixed size integers
2023-10-24 17:23:54 +02:00
psi29a
c058b30322
Merge branch 'riggeometry' into 'master'
...
Refurbish SceneUtil::RigGeometry
See merge request OpenMW/openmw!3472
2023-10-24 10:20:12 +00:00
psi29a
698fd00269
Merge branch 'killerqueen' into 'master'
...
Support NiParticleBomb (feature #7634 )
Closes #7634
See merge request OpenMW/openmw!3512
2023-10-24 10:19:59 +00:00
Petr Mikheev
26ff56f150
Merge branch 'lua_ui_focus_loss' into 'master'
...
Work around MyGUI bug in a less destructive way
See merge request OpenMW/openmw!3511
2023-10-24 09:24:33 +00:00
Alexei Kotov
715efe6cb1
Handle NiParticleBomb (feature #7634 )
2023-10-22 16:26:46 +03:00
Alexei Kotov
76939aae45
Refurbish RigGeometry
...
Restructure/untangle influence data
Don't store the input influence data
Overall cleanup
2023-10-22 16:20:32 +03:00
uramer
6081dcc43c
Work around MyGUI bug in a less destructive way
2023-10-22 11:29:00 +02:00
Bret Curtis
1bd4860026
no more obsolete mygui shizzle for macos
2023-10-22 11:25:39 +02:00
psi29a
a08ca11c34
Merge branch 'boundingboxing' into 'master'
...
BulletNifLoader: Replicate node bounds handling more closely
See merge request OpenMW/openmw!3505
2023-10-22 08:52:23 +00:00
Alexei Kotov
0748e2094d
Read NiParticleBomb
2023-10-22 11:45:39 +03:00
Evil Eye
536a167bb4
Merge branch 'anothersettlementneedsyourhelp' into 'master'
...
Read all official Fallout 4 NIF files
See merge request OpenMW/openmw!3506
2023-10-22 08:42:29 +00:00
Alexei Kotov
8ce9f7b9cf
Read BSPackedCombinedSharedGeomDataExtra
2023-10-20 17:39:58 +03:00
Alexei Kotov
23eb6289b3
Read BSLightingShaderPropertyUShortController
2023-10-20 17:09:42 +03:00
Alexei Kotov
981e482171
Read BSSubIndexTriShape
...
It's currently handled exactly like BSTriShape, which works ok enough for our purposes
2023-10-20 17:02:46 +03:00
Alexei Kotov
9405e5cb3c
BulletNifLoader: Replicate node bounds handling more closely
2023-10-19 03:11:55 +03:00
Cody Glassman
5fc46b166a
track debug window size and dimensions between sessions
2023-10-18 09:04:57 -07:00
Evil Eye
97009f1e23
Merge Assumeru/mystringvui
2023-10-17 23:53:04 +02:00
Bret Curtis
589a27d09c
additional clean up for clang
2023-10-17 23:53:04 +02:00
Bret Curtis
e97b07b6a4
additional cleanup
2023-10-17 23:53:04 +02:00
Bret Curtis
1df448f59b
remove hack from 3.4.2
2023-10-17 23:53:04 +02:00
Bret Curtis
43a931d3c4
[ #7528 ] Fix MyGUI 3.4.3 issues
2023-10-17 23:53:04 +02:00
psi29a
798ff7062b
Merge branch 'bullet' into 'master'
...
BulletNifLoader updates
See merge request OpenMW/openmw!3498
2023-10-17 07:40:45 +00:00
psi29a
9259f5c056
Merge branch 'merryweather' into 'master'
...
Replace more sized reads and change weather loading
See merge request OpenMW/openmw!3496
2023-10-16 20:06:59 +00:00
psi29a
97d9f9c4f3
Merge branch 'dont-lose-your-head' into 'master'
...
Add missing headers to components/CMakeLists.txt
See merge request OpenMW/openmw!3499
2023-10-16 20:06:47 +00:00
elsid
7ac402390a
Use settings values for Water settings
2023-10-15 23:24:46 +02:00
AnyOldName3
2ed584428c
Add missing headers to components/CMakeLists.txt
...
Otherwise, they won't show up as part of the project in IDEs.
2023-10-15 15:44:24 +01:00
Alexei Kotov
40313019ef
BulletNifLoader updates
...
Refactor root node, visual collision type and filename handling
Only handle BSXFlags for the root, handle BSXFlags collision flag and absence
Properly distinguish collision node and autogenerated flag
2023-10-15 15:22:59 +03:00
psi29a
febfa353e0
Merge branch 'save_metadata' into 'master'
...
Add additional fields to save metadata
See merge request OpenMW/openmw!3493
2023-10-15 11:42:02 +00:00
psi29a
03fa273394
Merge branch 'settings_values_sound' into 'master'
...
Use settings values for Sound settings (#6876 )
See merge request OpenMW/openmw!3494
2023-10-15 11:41:30 +00:00
Evil Eye
514723a4e6
Use fixed size ints for Region and use an array for weather odds
2023-10-14 16:36:45 +02:00
Evil Eye
1c47062083
Replace more explicitly sized reads
2023-10-14 16:22:28 +02:00
Andrei Kortunov
fc74cc49dd
Add additional fields to save metadata (feature 7618)
2023-10-14 09:53:44 +04:00
AnyOldName3
bb6fdc1e21
Merge branch 'wrap' into 'master'
...
Use a more clear error message for clamp wrap mode use (#7487 )
Closes #7487
See merge request OpenMW/openmw!3479
2023-10-13 16:23:32 +00:00
elsid
a84e412a37
Use settings values for Sound settings
2023-10-13 12:58:58 +02:00
psi29a
de11bbc008
Merge branch 'settings_values_shaders' into 'master'
...
Use settings values for Shaders settings (#6876 )
See merge request OpenMW/openmw!3489
2023-10-13 07:34:43 +00:00
elsid
08902371b4
Use settings values for Shaders settings
2023-10-12 20:43:53 +02:00
Kindi
58a16dacbe
take2 resolve
2023-10-13 00:53:59 +08:00
Alexei Kotov
8c58ec9c32
Merge branch 'esm4actors' into 'master'
...
Show ESM4 NPCs
See merge request OpenMW/openmw!3312
2023-10-11 21:33:14 +00:00
Alexei Kotov
d2a79c4205
Use a more clear error message for clamp wrap mode
2023-10-11 05:24:39 +03:00
psi29a
01ee448c61
Merge branch 'settings_values_navigator' into 'master'
...
Use settings values for Navigator settings (#6876 )
See merge request OpenMW/openmw!3468
2023-10-10 03:24:33 +00:00
elsid
7b4b8763ff
Use settings values for Post Processing settings
2023-10-08 11:58:16 +02:00
psi29a
575f43876b
Merge branch 'fixedpath' into 'master'
...
Replace more sized reads and change path grid loading
See merge request OpenMW/openmw!3475
2023-10-08 02:18:43 +00:00
psi29a
7475929dc8
Merge branch 'copyrigvisitor' into 'master'
...
CopyRigVisitor: don't copy unskinned geometry (bug #5280 )
Closes #5280
See merge request OpenMW/openmw!3477
2023-10-08 02:16:04 +00:00
Petr Mikheev
7dc08b5b64
More headpart types
2023-10-07 19:35:54 +02:00
Petr Mikheev
4beed29404
Changes required during review
2023-10-07 17:21:25 +02:00
Petr Mikheev
be455469ba
Read SUB_DNAM in ESM4::ArmorAddon and SUB_PNAM in ESM4::HeadPart
2023-10-07 17:21:25 +02:00
AnyOldName3
73187b03f3
Merge branch 'allofitjustworks' into 'master'
...
Fallout 4 and SSE support improvements
See merge request OpenMW/openmw!3465
2023-10-07 15:05:08 +00:00
Alexei Kotov
799da630e4
CopyRigVisitor: don't copy unskinned geometry (bug #5280 )
2023-10-07 00:11:31 +03:00
Evil Eye
b99f58613e
Remove signed/unsigned conversions in pathgrid loading code and use meaningful member names
2023-10-06 16:46:09 +02:00
Evil Eye
f9c5edf6b9
Replace more sized reads and unsized ints
2023-10-06 16:44:18 +02:00
Evil Eye
3c03555b96
Move werewolf FOV from unused to float and use string_view
2023-10-04 21:53:20 +02:00
Alexei Kotov
79e6c9a92a
Add more comments to handleBSGeometry
2023-10-04 16:46:26 +03:00
Alexei Kotov
1da9038b35
Updates to resource path handling
...
- Remove consecutive slashes
- Only use backslashes
- Try to find the top level directory in the path before prepending it
2023-10-04 15:54:28 +03:00
Alexei Kotov
284129b9ec
Support Fallout 4 skinning
...
Convert the skinning data into NiSkinData-compatible format
2023-10-04 15:54:28 +03:00
Alexei Kotov
b9d42946be
Fix SSE mesh loading
2023-10-04 15:54:28 +03:00
Alexei Kotov
b4f81fb4fa
Fix formatting
2023-10-04 15:54:28 +03:00
Alexei Kotov
0497fd111f
Handle BSTriShape basic geometry
2023-10-04 15:54:28 +03:00
Alexei Kotov
af24d3fd3c
Nth revision of NifLoader geometry handling
...
Handle BSSegmentedTriShape
2023-10-04 15:54:28 +03:00
Alexei Kotov
8fb900da85
Remove GeometryInterface
...
Actually, it was a terrible idea
2023-10-04 15:54:28 +03:00
Alexei Kotov
291d0de79e
Read more FO4 extra data records
2023-10-04 15:54:28 +03:00
Alexei Kotov
94b286a088
Read NiLightRadiusController
2023-10-04 15:54:28 +03:00
Alexei Kotov
6c2a79184d
Read FO4 skinning data
2023-10-04 15:54:28 +03:00
AnyOldName3
15e6ababf1
Merge branch 'soft_particles' into 'master'
...
Apply soft effect to nifs marked with soft effect flag (originally developed by Cody Glassman)
See merge request OpenMW/openmw!3447
2023-10-02 21:38:14 +00:00
Alexei Kotov
b6d2fa5f9d
Merge branch 'initially_disabled' into 'master'
...
Take into account "Enable Parent" subrecord and disable ESM4 objects that should be initially disabled
See merge request OpenMW/openmw!3461
2023-10-02 18:28:29 +00:00
elsid
b3c8a15af1
Parse navmesh render mode on reading settings
2023-10-01 11:09:59 +02:00
psi29a
df1063be5d
Merge branch 'thedichotomyof4' into 'master'
...
ESM4 upd8s: Fours and Worlds
Closes #7445
See merge request OpenMW/openmw!3454
2023-09-29 08:16:30 +00:00
Petr Mikheev
02de5e82d8
Take into account "Enable Parent" subrecord and disable ESM4 objects that should be initially disabled.
2023-09-28 23:09:09 +02:00
Petr Mikheev
a401461a64
Update addedState in shadervisitor.cpp
2023-09-27 21:19:59 +02:00
elsid
1d94527a19
Avoid using settings in components to get actor model
...
Settings::Values are initialized only for engine. Accessing them from other
binaries leads to a crash.
2023-09-27 21:00:46 +02:00
Petr Mikheev
63d5bd6f8a
Apply soft effect to nifs marked with soft effect flag (developed by Cody Glassman)
2023-09-27 20:41:52 +02:00
Alexei Kotov
8d655054f1
esmtool: Print human-readable ESM4 file format version
2023-09-25 21:40:14 +03:00
Alexei Kotov
9f8f2dd925
Use parent worldspace terrain when requested
2023-09-25 21:40:14 +03:00
Alexei Kotov
8c27dca1df
ESM4: add a way to get the current form version
...
Differentiate between Fallout 4 and TES4 version 1.0 plugins
2023-09-25 21:26:51 +03:00
Alexei Kotov
052fb416c6
Read BSSegmentedTriShape
2023-09-25 14:48:40 +03:00
Alexei Kotov
67e24a0ffe
Read all Bethesda Havok Action records
2023-09-25 14:45:40 +03:00
Alexei Kotov
a18601d6e0
Finish bhkPhantom hierarchy, read bhkAabbPhantom
2023-09-25 14:21:15 +03:00
Alexei Kotov
e22654baa7
Read bhkMeshShape
2023-09-25 14:00:44 +03:00
Alexei Kotov
01cd7e715b
Fix formatting
2023-09-24 20:22:09 +03:00
Alexei Kotov
6b28f07537
Read bhkPlaneShape and bhkMultiSphereShape
2023-09-24 20:22:09 +03:00
Alexei Kotov
7c11d9acbc
Read NiMeshPSysData and related modifiers
2023-09-24 20:22:09 +03:00
Alexei Kotov
285eafbf66
Read bhkBallSocketConstraintChain and BSProceduralLightingController
2023-09-24 20:22:07 +03:00
Alexei Kotov
02c895c107
Read all remaining Havok constraint records
2023-09-24 20:21:30 +03:00
Alexei Kotov
3296dadf60
Read BSPSysMultiTargetEmitterCtlr and bone LOD controllers
2023-09-24 20:21:30 +03:00
Alexei Kotov
d048746146
Read BSMasterParticleSystem, BSParentVelocityModifier, NiLookAtInterpolator
2023-09-24 20:21:30 +03:00
psi29a
8df8135f1d
Merge branch 'youhavemyoarcitizen' into 'master'
...
Fix bhkConvexSweepShape loading
See merge request OpenMW/openmw!3444
2023-09-24 17:11:58 +00:00
Alexei Kotov
7e360df6c0
Place ESM4::Flora instances to the scene
2023-09-24 10:25:44 +03:00
Alexei Kotov
47a1403717
Fix bhkConvexSweepShape loading
2023-09-23 21:16:04 +03:00
Alexei Kotov
470852f88e
Cleanup
2023-09-22 21:59:24 +03:00
Alexei Kotov
a416d18adf
Read NiPSysColorModifier, NiPSysGrowFadeModifier, BSPSysArrayEmitter
2023-09-22 15:10:49 +03:00
Alexei Kotov
655dcef34c
Fix >1 particle radii loading
2023-09-22 11:12:35 +03:00
Alexei Kotov
0ad3463d36
Read BSWindModifier and NiPSysBombModifier
2023-09-22 05:28:18 +03:00
Alexei Kotov
5de3bdd2bc
Read Gamebryo particle colliders and a few more modifiers
2023-09-22 05:15:01 +03:00
Alexei Kotov
120223d8df
Read even more Gamebryo/Bethesda particle records
2023-09-22 04:42:46 +03:00
Alexei Kotov
8594875ccb
Read a few more Gamebryo/Bethesda modifiers
2023-09-22 04:11:32 +03:00
Alexei Kotov
c6d0df432f
Read a few Gamebryo particle emitters, NiPSysResetOnLoopCtlr, NiPSysPositionModifier
2023-09-22 03:50:16 +03:00
Alexei Kotov
717b93d61e
Read BSPSysLODModifier
2023-09-22 03:15:29 +03:00
Alexei Kotov
b45923ac39
Read NiPSysSpawnModifier, NiPSysAgeDeathModifier
2023-09-22 02:54:03 +03:00
Alexei Kotov
eaa82ba5c6
Read BSStripPSysData
2023-09-22 02:40:12 +03:00
Alexei Kotov
a8946e06f6
Read NiParticleSystem and its twins
...
Looks like NiPSysData is loading correctly
2023-09-22 02:12:18 +03:00
Alexei Kotov
c800152ca2
Diminish error marker prominence
...
Don't render ESM4 actors or SpeedTree objects
2023-09-22 01:01:19 +03:00
Alexei Kotov
f507e17807
Read BSWaterShaderProperty and BSSkyShaderProperty
2023-09-22 00:36:41 +03:00
Alexei Kotov
6204a83a2b
Read bhkBallAndSocketConstraint and bhkStiffSpringConstraint
2023-09-21 23:07:56 +03:00
Alexei Kotov
e2efc9dd2f
Read NiLightColorController and NiPathInterpolator
2023-09-21 16:06:31 +03:00
Alexei Kotov
2d9c700530
Read BSDebrisNode
2023-09-21 16:06:31 +03:00
Alexei Kotov
812b0cf246
Read NiFloatExtraDataController records
2023-09-21 16:06:31 +03:00
Alexei Kotov
c34faaf336
Read NiPSysUpdateCtlr
2023-09-21 16:06:31 +03:00
Alexei Kotov
a90c848349
Reject files with non-zero preceding separators
...
This sign is typically bad news on some 10.0.1.2 files used in Oblivion.
Technically our fault, but NifTools research is incomplete, will need to check if cc9cii found anything
2023-09-21 16:06:31 +03:00
Alexei Kotov
c8307ad397
Read particle system modifier controllers
2023-09-21 16:06:31 +03:00
Alexei Kotov
dddfbf806b
Move particle geometry, add NiPSysData and NiPSysEmitterCtlrData
...
These record types are currently unreachable, might get tweaks later
2023-09-21 13:26:01 +03:00
Alexei Kotov
73a12eb74a
Read BSLagBoneController
2023-09-20 08:53:35 +03:00
Alexei Kotov
1aabc9aee5
Read bhkNPCollisionObject, bhkPhysicsSystem and bhkRagdollSystem
2023-09-20 08:27:20 +03:00
Alexei Kotov
b5f1d0a91b
Fix formatting
2023-09-20 08:15:48 +03:00
Alexei Kotov
ad20384750
Read NiLightDimmerController
2023-09-20 07:14:07 +03:00
Alexei Kotov
312e32717c
Read bhkConvexListShape and bhkConvexSweepShape
2023-09-20 07:14:03 +03:00
Alexei Kotov
0eb8d28e81
Read bhkBlendCollisionObject
2023-09-20 05:57:43 +03:00
Alexei Kotov
70877c94bc
Read BSNiAlphaPropertyTestRefController
2023-09-20 05:26:41 +03:00
Alexei Kotov
9a2d385d87
Read NiAdditionalGeometryData records
2023-09-20 05:06:38 +03:00
Alexei Kotov
ecf644bda5
Read bhkCylinderShape
2023-09-20 05:06:38 +03:00
Alexei Kotov
e207285323
Read BSFrustumFOVController and BSKeyframeController
2023-09-20 05:06:38 +03:00
Alexei Kotov
5f504688ad
Read BSMultiBoundAABB
2023-09-20 05:06:38 +03:00
Alexei Kotov
77c5882622
Read various FO3 shader properties
...
BSDistantTreeShaderProperty, DistantLODShaderProperty, HairShaderProperty, Lighting30ShaderProperty, SkyShaderProperty, TallGrassShaderProperty, TileShaderProperty, VolumetricFogShaderProperty, WaterShaderProperty
2023-09-20 05:06:38 +03:00
Alexei Kotov
30b842dd1e
Read BSMeshLODTriShape and BSDynamicTriShape
...
Slightly clean up BSVertexData loading
Fix skin tint alpha loading in BSLightingShaderProperty
2023-09-20 05:06:38 +03:00
Alexei Kotov
a39182f7de
Read a bunch more extra data records
...
NiStringsExtraData, BSExtraData, BSBoneLODExtraData, BSClothExtraData, BSDecalPlacementVectorExtraData, BSDistantObjectExtraData, BSDistantObjectLargeRefExtraData, BSWArray
2023-09-20 02:57:37 +03:00
psi29a
3ae189dda1
Merge branch 'nifcouriersix' into 'master'
...
Modernize NIF loader, part 6
See merge request OpenMW/openmw!3435
2023-09-19 08:37:23 +00:00
Alexei Kotov
82eed09604
Further adjust FO3+ shader properties based on nifly definitions
2023-09-19 00:12:05 +03:00
psi29a
eb688b603d
Merge branch 'refnum_ref' into 'master'
...
Replace `const ESM::RefNum&` -> `ESM::RefNum`
See merge request OpenMW/openmw!3432
2023-09-18 08:35:45 +00:00
Alexei Kotov
4db994cda9
Remap FO76 shader types
2023-09-18 06:44:44 +03:00
Alexei Kotov
81441bc963
Fix formatting and typos
2023-09-18 06:44:44 +03:00
Alexei Kotov
1b93e646b8
Rename Property->NiProperty
2023-09-18 06:44:44 +03:00
Alexei Kotov
defe5ba5e7
Remove last remnants of deprecated NIFStream methods
2023-09-18 06:44:44 +03:00
Alexei Kotov
c551f23667
Update NIF property loading, second pass
...
Refactor all remaining NIF properties
2023-09-18 06:44:44 +03:00
Alexei Kotov
080d7d2c13
Refactor NiTexturingProperty, load everything
2023-09-18 06:44:44 +03:00
Alexei Kotov
18e4af04b3
Rewrite BSVertexData loading and read FO4 geometry properly
2023-09-17 20:15:30 +03:00
Alexei Kotov
9ae1077808
Update NIF property loading, first pass
...
Revise all FO3+ shader properties (attempt reading FO4, FO76 and Starfield properties)
Use constants for most instances of property flags
Drop invalid usage of non-existent double-sided flag for BSShader
Make formatting more consistent, drop unnecessary comments
2023-09-17 19:22:16 +03:00
Alexei Kotov
eb8242946a
Improve node record consistency with NifTools
2023-09-16 19:17:40 +03:00
Alexei Kotov
bff9231c3b
Refactor NiGeometry/BSTriShape
...
Don't pass invalid geometry data links to the loaders
2023-09-16 19:17:40 +03:00
Alexei Kotov
deb051639e
Refactor NiBoundingVolume
2023-09-15 21:11:12 +03:00
Alexei Kotov
5b0bc97db0
Refactor NiSwitchNode and NiLODNode
2023-09-15 21:11:12 +03:00
Alexei Kotov
c9300cac31
Update NIF node records, first pass
2023-09-15 21:11:09 +03:00
Petr Mikheev
c67b866a11
Replace const ESM::RefNum&
-> ESM::RefNum
2023-09-15 19:38:09 +02:00
psi29a
12159d95f3
Merge branch 'music' into 'master'
...
Rework music system
See merge request OpenMW/openmw!3372
2023-09-15 07:11:31 +00:00
psi29a
59f8034442
Merge branch 'sizedreads' into 'master'
...
Replace more sized reads
See merge request OpenMW/openmw!3425
2023-09-15 07:03:18 +00:00
Alexei Kotov
2f8229a54d
Fix bit shift
2023-09-14 07:01:12 +03:00
Alexei Kotov
f271c4305a
Fix formatting
2023-09-14 05:11:40 +03:00
Alexei Kotov
8856dff3db
Refactor NiParticleSystemController and update definitions
2023-09-14 04:57:55 +03:00
Alexei Kotov
d55ba0cfa2
Cleanup
2023-09-14 03:12:10 +03:00
Alexei Kotov
0fe095303f
Rename Controller->NiTimeController, update NiTimeController and related code
2023-09-14 03:12:10 +03:00
Alexei Kotov
04d3f6a42d
Update NiPathController
...
Support 10.1.0.0+ NiPathController loading
2023-09-14 03:12:10 +03:00
Alexei Kotov
ca85820431
Refactor NiUVController
2023-09-14 02:07:24 +03:00
Alexei Kotov
b0dfd74562
NIFStream: remove getBoolean, getString
2023-09-14 01:54:27 +03:00
Alexei Kotov
05d8975ed1
Revise various NIF controller records
...
Mostly those that don't require external changes
2023-09-14 01:44:41 +03:00
Alexei Kotov
19d1f6f3f5
Rewrite typed NiInterpolator loading
2023-09-14 00:34:15 +03:00
Alexei Kotov
6d82f8b00d
Refactor NiKeyframeController and NiTransformInterpolator
2023-09-14 00:03:25 +03:00
Alexei Kotov
735a948452
Refactor NiMultiTargetTransformController
2023-09-13 23:43:24 +03:00
Alexei Kotov
208bfa9e21
Refactor NiMaterialColorController
2023-09-13 23:37:28 +03:00
Alexei Kotov
a224bea6d4
Rewrite NiBlendInterpolator+friends loading
2023-09-13 23:15:14 +03:00
Evil Eye
b59739a529
Replace more sized reads
2023-09-13 21:51:42 +02:00
Alexei Kotov
956ede52fb
NIFStream: remove getShort, getMatrix3, getQuaternion
2023-09-13 21:56:02 +03:00
Andrei Kortunov
e1cae5a029
Rework music system
2023-09-13 09:11:07 +04:00
psi29a
090da90302
Merge branch 'factions' into 'master'
...
Implement Lua API for factions
See merge request OpenMW/openmw!3405
2023-09-12 19:41:54 +00:00
psi29a
42b77342c5
Merge branch 'nif' into 'master'
...
Modernize NIF loader, part 3
See merge request OpenMW/openmw!3418
2023-09-12 08:34:46 +00:00
Andrei Kortunov
6ee86dea82
Implement Lua API for factions (feature 7468)
2023-09-12 09:49:03 +04:00
psi29a
39a209cb78
Merge branch 'settings_values_models' into 'master'
...
Use settings values for Models settings (#6876 )
See merge request OpenMW/openmw!3413
2023-09-11 06:55:17 +00:00
psi29a
76b0aaa110
Merge branch 'mistify' into 'master'
...
Fix NiRotatingParticlesData loading in Mistify
See merge request OpenMW/openmw!3417
2023-09-11 06:51:24 +00:00
Alexei Kotov
9b801b0876
Fix NiParticlesData loading in Mistify
2023-09-10 19:38:05 +03:00
Alexei Kotov
4dd2f34e30
Fix Windows build
2023-09-10 09:20:06 +03:00
Alexei Kotov
a7cc4e6ba6
Rename Node->NiAVObject and update everything directly related
...
Update NiNode
Simplify RootCollisionNode handling in BulletNifLoader
2023-09-10 07:18:39 +03:00
Alexei Kotov
878d4ddaa7
Update record pointer loading
2023-09-10 07:18:39 +03:00
Alexei Kotov
6872c7144e
Rename Transformation->NiTransform and update everything directly related
2023-09-10 07:18:39 +03:00
Alexei Kotov
535290a83d
Update NIF Reader class and related code
...
Update BSStreamHeader definitions
Fix 10.0.1.8 loading
Explicitly avoid loading 20.3.1.2
2023-09-10 07:18:39 +03:00
Alexei Kotov
ef896faa90
Rename Named->NiObjectNET and update everything directly related to it
...
BulletNifLoader: properly check if the node has animation controllers
Flatten extra data linked list
2023-09-10 07:18:39 +03:00
elsid
053a3caf7b
Pass cache expiry delay to GenericResourceManager constructor
2023-09-09 19:35:20 +02:00
elsid
ad509bb954
Use settings values for Models settings
2023-09-09 13:12:08 +02:00
psi29a
61937e19a9
Merge branch 'fixstringformat' into 'master'
...
Fix string format
See merge request OpenMW/openmw!3408
2023-09-09 08:06:38 +00:00
Alexei Kotov
b9f552b7f4
Preallocate lines in NiLinesData
2023-09-08 15:58:26 +03:00
Kindi
c77b88cd38
fix string format
2023-09-08 10:39:28 +08:00
Alexei Kotov
145ce8f924
Deduplicate some version checks, avoid resizing twice
2023-09-06 23:55:37 +03:00
Alexei Kotov
b7c69d109f
Use Fallout 3 stream version constant in NiParticlesData
2023-09-06 23:55:37 +03:00
Alexei Kotov
bf64ad6470
Further cleanup
2023-09-06 23:55:37 +03:00
Alexei Kotov
5b8f574be3
Update keygroup/morph loading
2023-09-06 23:55:36 +03:00
Alexei Kotov
efe1c66536
Further cleanup in NiGeometryData, update NiParticlesData to 20.2.0.7
2023-09-06 23:55:36 +03:00
Alexei Kotov
fd3b24e2e6
Make better use of osg::BoundingSpheref in the NIF loader
2023-09-06 23:55:36 +03:00
Alexei Kotov
0154bb78df
Modernize NiSkinPartition
2023-09-06 23:55:36 +03:00
Alexei Kotov
6ac271d5c0
Modernize NiParticlesData and NiSkinData
2023-09-06 23:55:36 +03:00
Alexei Kotov
89774716fb
Modernize NiGeometryData
2023-09-06 23:55:36 +03:00
Alexei Kotov
50a5d53b41
Modernize NiKeyframeData
2023-09-06 23:55:36 +03:00
Alexei Kotov
cfd37dbcc6
Modernize NiTriShapeData
2023-09-06 23:55:36 +03:00
Alexei Kotov
56ee2588a5
Fix NiSourceTexture loading for internal textures
2023-09-06 23:55:36 +03:00
Alexei Kotov
5e8f9e7dd9
Modernize NiPixelData
2023-09-06 23:55:36 +03:00
Alexei Kotov
523e7e8228
Modernize NiRotatingParticlesData and NiVisData
2023-09-06 23:55:35 +03:00
Alexei Kotov
eba0ab444b
Modernize NiTriStripsData
2023-09-06 23:55:35 +03:00
Alexei Kotov
fda6b0b4f8
Modernize NiUVData, NiLinesData, NiTriBasedGeomData
2023-09-06 23:55:35 +03:00
Alexei Kotov
384a398b62
Modernize NiMorphData, palette and BSBound records
2023-09-06 23:55:35 +03:00
Alexei Kotov
5b07a78f2c
Modernize skin instance records
2023-09-06 23:55:35 +03:00
psi29a
690a237896
Merge branch 'init_field' into 'master'
...
Init structs to make sure that we do not store a random data
See merge request OpenMW/openmw!3400
2023-09-05 07:33:39 +00:00
psi29a
08b9da0023
Merge branch 'static_copy' into 'master'
...
Do not copy a static string
See merge request OpenMW/openmw!3399
2023-09-05 07:33:09 +00:00
psi29a
58a3fcb972
Merge branch 'var_copy' into 'master'
...
Do not copy vector
See merge request OpenMW/openmw!3401
2023-09-05 07:32:57 +00:00
Andrei Kortunov
a849a053be
Do not copy vector
2023-09-04 16:50:45 +04:00
psi29a
1a4b29f014
Merge branch 'fix_terrain_cache' into 'master'
...
Terrain cache fixes and optimizations
Closes #7557
See merge request OpenMW/openmw!3388
2023-09-04 09:39:46 +00:00
Andrei Kortunov
5d51f3ea26
Init structs to make sure that we do not store a random data
2023-09-04 12:19:56 +04:00
Andrei Kortunov
fae9ced5f9
Do not copy a static string
2023-09-04 10:24:34 +04:00
psi29a
0b74146b05
Merge branch 'luautflib' into 'master'
...
Lua utf-8 support
Closes #6505
See merge request OpenMW/openmw!3327
2023-09-03 17:05:27 +00:00
Kindi
7eb456a169
refactoring for readability
2023-09-03 19:20:59 +08:00
psi29a
ccc465db27
Merge branch 'nif' into 'master'
...
Modernize NIF loader, part 1
See merge request OpenMW/openmw!3394
2023-09-03 10:34:46 +00:00
Kindi
8798217b51
remove const keyword from all string_view
2023-09-02 12:21:07 +08:00
Kindi
db287b2bc6
dont use pass by const reference for small types in func arguments
2023-09-01 19:35:50 +08:00
Kindi
dd61caa96d
using misc::stringutils::format and simplify relativeposition function
2023-09-01 19:26:18 +08:00
psi29a
3e99103beb
Merge branch 'rtd' into 'master'
...
Show OpenMW version and Lua API revision in documentation
Closes #6149
See merge request OpenMW/openmw!3382
2023-09-01 08:06:58 +00:00
psi29a
64bdbe339d
Merge branch 'starfieldbsa' into 'master'
...
Support Starfield BA2s
See merge request OpenMW/openmw!3392
2023-09-01 08:06:25 +00:00
Alexei Kotov
2edf3399e2
Modernize extra data records
2023-09-01 01:54:11 +03:00
Alexei Kotov
8a7e8a89ac
Modernize Bethesda Havok records
2023-09-01 01:54:11 +03:00
Alexei Kotov
087114e55b
Print unsupported interpolator record names
2023-09-01 01:27:03 +03:00
Alexei Kotov
bb6e008801
Modernize dynamic effects
2023-08-31 22:06:21 +03:00
Petr Mikheev
d39552962f
Validate version of resources
2023-08-31 20:56:02 +02:00
Petr Mikheev
f260fa006e
Show OpenMW version and Lua API revision in documentation.
2023-08-31 20:56:02 +02:00
Alexei Kotov
2e847a12c4
Modernize NiSourceTexture and BSShaderTextureSet
2023-08-31 20:50:30 +03:00
Alexei Kotov
fb8ead2bd4
Rename nif/controlled to nif/texture
2023-08-31 18:59:33 +03:00
Alexei Kotov
4a88726aba
Move particle modifiers into a dedicated file
2023-08-31 18:43:13 +03:00
Alexei Kotov
1d05aa2e37
Modernize particle modifiers
2023-08-31 18:16:11 +03:00
psi29a
2cd17830d3
Merge branch 'nifreorg' into 'master'
...
Reorganize NIF record lists
See merge request OpenMW/openmw!3390
2023-08-31 14:18:26 +00:00
Alexei Kotov
b2bb19ae4d
Support Starfield BA2s
2023-08-30 21:57:30 +03:00
Alexei Kotov
f8b2967dab
Alphabetize NIF record type list
2023-08-30 19:20:26 +03:00
Alexei Kotov
4140f9da3c
Reorganize the list of recognized NIF records
2023-08-30 19:20:26 +03:00
Alexei Kotov
4d717ade6c
Allow BSA string tables to contain padding
2023-08-30 17:39:20 +03:00
Kindi
af58b531da
change function names and add documentation in overview.rst
2023-08-30 02:33:27 +08:00
elsid
915a8df942
Use struct for GenericObjectCache items
2023-08-29 20:25:21 +02:00
elsid
5f4bd498cf
Move cached value into container to be removed
2023-08-29 20:25:21 +02:00
elsid
d3dca99a76
Preload terrain in single pass
...
Otherwise there is lodFlags mismatch because some of the neighbours are removed
during preloading. This makes rendering culling create land chunk nodes again
for the same position, lod because lodFlags are different.
2023-08-29 20:25:21 +02:00
elsid
52ab47771c
Initialize expiry delay for all GenericResourceManager instances
2023-08-29 20:25:21 +02:00
elsid
6d120f92e0
Lookup for terrain template using std::map::lower_bound instead of linear search
2023-08-29 20:25:20 +02:00
elsid
b6a3d3c906
Make BaseResourceManager abstract
2023-08-29 20:25:20 +02:00
elsid
3202900fd3
Make GenericResourceManager::setExpiryDelay final
2023-08-29 20:25:20 +02:00
psi29a
15a24a5af6
Merge branch 'formid' into 'master'
...
Change FormId::toString to be consistent with RefId. Remove FormIdRefId.
See merge request OpenMW/openmw!3378
2023-08-28 11:32:04 +00:00
psi29a
07edabdc75
Merge branch 'optimize_get_land' into 'master'
...
Optimize Storage::getLand calls
See merge request OpenMW/openmw!3379
2023-08-28 07:01:46 +00:00
Kindi
532230254b
add documentation
2023-08-28 02:37:52 +08:00
Kindi
92842cedf5
len,codepoint,offset
2023-08-27 16:12:52 +08:00
Petr Mikheev
32f3a16db3
Change FormId::toString to be consistent with RefId. Remove FormIdRefId.
2023-08-27 09:55:06 +02:00
elsid
816d3772b9
Cache absent land object
...
This allows to save on lookup in store.
2023-08-27 01:32:36 +02:00
elsid
eba553821b
Use std::vector for LandCache implementation
2023-08-27 01:32:36 +02:00
Evil Eye
10f1e9a4e0
Load the lowest faction reaction for every faction
2023-08-25 16:57:27 +02:00
psi29a
5b3e2fbf1c
Merge branch 'clickbait' into 'master'
...
Assign StringRefIds to attributes
See merge request OpenMW/openmw!3256
2023-08-21 18:59:44 +00:00
psi29a
86f15fa194
Merge branch 'ui' into 'master'
...
Control GUI from Lua
See merge request OpenMW/openmw!3236
2023-08-21 11:32:24 +00:00
psi29a
7233277d27
Merge branch 'compressedbsagozoomzoom' into 'master'
...
Rewrite compressed BSA loading
See merge request OpenMW/openmw!3361
2023-08-21 09:29:28 +00:00
psi29a
1c2f92cac9
Merge branch 'use_command_keys' into 'master'
...
Remove special handling for Mac command key, since MyGUI now switches automatically
See merge request OpenMW/openmw!3363
2023-08-21 09:27:42 +00:00
Zackhasacat
349bad4f98
Remove special handling for Mac command key, since MyGUI now switches automatically
2023-08-21 09:27:42 +00:00
psi29a
cf950c2e4a
Merge branch 'sizeable' into 'master'
...
Replace more explicitly sized reads and variable width integers
See merge request OpenMW/openmw!3364
2023-08-21 09:27:32 +00:00
psi29a
42469c4b54
Merge branch 'crash_temporary_ui_element' into 'master'
...
Fix crash #7469
See merge request OpenMW/openmw!3367
2023-08-21 09:25:30 +00:00
Petr Mikheev
87eacf774a
Control GUI modes from Lua
2023-08-20 17:49:56 +02:00
Petr Mikheev
f86a45d60a
[Lua] add __len metafunction for readonly objects
2023-08-20 17:49:56 +02:00
uramer
e1cbeb0d3b
Don't free ui element's shared_ptr right before destroying it
2023-08-20 16:02:38 +02:00
psi29a
c5789b5543
Merge branch 'Fix-BA2GNRLFile-GetFile' into 'master'
...
Fix BA2 general reading file
See merge request OpenMW/openmw!3365
2023-08-20 11:52:41 +00:00
psi29a
ab798be320
Merge branch 'fix_scrollbars' into 'master'
...
Do not use deprecated MyGUI properties
Closes #5896
See merge request OpenMW/openmw!3320
2023-08-20 11:04:23 +00:00
Alexei Kotov
ab4ed390fc
Rewrite compressed BSA loading
2023-08-20 13:19:32 +03:00
Evil Eye
62f47acf6b
Replace more explicitly sized reads and variable width integers
2023-08-20 11:34:05 +02:00
Evil Eye
e660a9ca16
Assign StringRefIds to attributes
2023-08-20 10:28:46 +02:00
psi29a
11ae1a1fcb
Merge branch 'nifstreamingservice' into 'master'
...
NIFStream rewrite/refactoring/rewhatever
See merge request OpenMW/openmw!3281
2023-08-19 22:17:25 +00:00
elsid
bda29819cf
Reduce include dependency for land records
2023-08-19 01:30:17 +02:00
elsid
53c3f95ac8
Avoid redundant copy for LandData underlying data
2023-08-19 01:30:17 +02:00
elsid
955790dc31
Split ESM::Land::loadData
2023-08-19 01:30:17 +02:00
elsid
a027cd898b
Use only cell position to detect cell change
2023-08-19 01:30:17 +02:00
elsid
28614730da
Pass land reference to LandObject constructor
2023-08-19 01:30:17 +02:00
elsid
e6f35373b5
Remove ESM::LandObject dependency on ESM::Land
2023-08-19 01:30:16 +02:00
elsid
8a88a2d61f
Make ESM::LandData::mLoadFlags private
2023-08-19 01:30:16 +02:00
elsid
a17cb0ff0e
Remove unused ESM4::Land fields
2023-08-19 01:30:16 +02:00
elsid
401e748aa0
Avoid redundant casts and use static_cast
2023-08-19 01:30:16 +02:00
elsid
9aa9ce48c9
Use proper naming style for ESM4::Land static variables
2023-08-19 01:30:16 +02:00
elsid
e4e857f51f
Remove redundant ESM4::Land default constructor
2023-08-19 01:30:16 +02:00
elsid
bd426bac5c
Use static_cast
2023-08-19 01:30:16 +02:00
elsid
6f3b7072ac
Change mWnam type to std::array
2023-08-19 01:30:16 +02:00
elsid
0cb37742cb
Replace Land::swap by move assignment
2023-08-19 01:30:15 +02:00
elsid
c88e9dee27
Use unique_ptr to store LandData in ESM::Land
2023-08-19 01:30:15 +02:00
elsid
d0f8ab5767
Move getLandData definitions to class definition
2023-08-19 01:30:15 +02:00
elsid
07599d0bb0
Move condLoad to unnamed namespace
2023-08-19 01:30:13 +02:00
Cédric Mocquillon
3b1d6a7e62
Use the right size
2023-08-18 21:32:49 +02:00
elsid
dad0cb3349
Move transposeTextureData to unnamed namespace
2023-08-18 18:30:06 +02:00
elsid
a2f2b1a3d1
Remove redundant ESM::Land and LandData default constructors
2023-08-18 18:30:06 +02:00
elsid
95a39b3281
Use sized types for land records members
2023-08-18 18:30:06 +02:00
elsid
f15ccec0d9
Remove unused ESM::Land functions
2023-08-18 18:30:05 +02:00
psi29a
16628a766f
Merge branch 'fallout4' into 'master'
...
ESM4 Loader: initial Fallout 4 support
See merge request OpenMW/openmw!3347
2023-08-18 16:22:40 +00:00
psi29a
2b78552dac
Merge branch 'themostfashionablelandintes5' into 'master'
...
Only use loaded data for ESM4 terrain
See merge request OpenMW/openmw!3352
2023-08-18 16:21:33 +00:00
Alexei Kotov
4b38db4a69
Only use loaded data for ESM4::Land
...
Prevents broken vertex colors in cells that lack vertex colors
2023-08-18 16:48:55 +03:00
elsid
db16caa963
Support yaml-cpp 0.8.0
2023-08-18 15:08:00 +02:00
Petr Mikheev
4211665ede
Merge branch 'sounds' into 'master'
...
Lua bindings for sound functions
See merge request OpenMW/openmw!3247
2023-08-18 09:15:24 +00:00
psi29a
5389d32b5c
Merge branch 'applycontentfile_coverity' into 'master'
...
Fix coverity warning in esm3/globalscript.cpp
See merge request OpenMW/openmw!3325
2023-08-18 08:22:26 +00:00
psi29a
adb5774aa9
Merge branch 'optimize_get_blendmaps' into 'master'
...
Optimize land lookup on blendmaps sampling
See merge request OpenMW/openmw!3333
2023-08-18 08:22:16 +00:00
psi29a
e21e3a0d46
Merge branch 'time' into 'master'
...
Pause/resume the game in Lua scripts
See merge request OpenMW/openmw!3317
2023-08-18 08:22:04 +00:00
Alexei Kotov
1bd2667c66
Rename REFR::XTEL transition interior field
2023-08-17 23:28:35 +03:00
Alexei Kotov
1a62b2e6b5
ESM4: use switch-cases when relevant
2023-08-17 22:14:40 +03:00
Alexei Kotov
42c6b3b993
Use VER_100 named constant, note precautions
2023-08-17 21:36:49 +03:00
Kindi
6d02c31720
utf8.codes
2023-08-18 00:01:11 +08:00