Alexei Kotov
6d74a4607c
Restore some omitted object cache remarks that seemed useful
2025-07-10 17:25:27 +03:00
Florian Heberer
a00e5ec828
Add documentation for update function of Generic Object Cache
2025-07-10 17:18:18 +03:00
Dave Corley
7bc507eb58
FIX: Skip only the current subrecord when reading quest status
2025-07-10 17:08:47 +03:00
Andy Lanzone
d46f034e5d
Merge branch openmw:master into master
2025-07-08 19:46:37 -07:00
psi29a
c691c72cec
Merge branch 'esm4sound' into 'master'
...
Initial support of ESM4 sounds
See merge request OpenMW/openmw!3784
2025-07-08 10:32:24 +00:00
Alexei Kotov
c0276b6890
Merge branch 'cpputil2lua' into 'master'
...
Move some util to lua
See merge request OpenMW/openmw!4750
2025-07-08 12:45:14 +03:00
Petr Mikheev
10dba7cda7
Initial support of ESM4 sounds; play opening sound of ESM4 doors.
2025-07-08 11:14:13 +02:00
Kuyondo
f87d6818b7
pressing enter for newline
2025-07-08 05:02:53 +08:00
Andrew Lanzone
21367a6127
Merge branch 'master' of https://gitlab.com/OpenMW/openmw
2025-07-07 08:58:21 -07:00
psi29a
83a37fecea
Merge branch 'l10n_format' into 'master'
...
Treat formatting string arguments as UTF-8 string
Closes #8385
See merge request OpenMW/openmw!4751
2025-07-07 09:28:43 +00:00
Andrew Lanzone
b170500183
Merge branch 'master' of https://gitlab.com/OpenMW/openmw
2025-07-06 23:00:28 -07:00
epochwon
c541cb96cc
doppler take 2
2025-07-07 01:37:18 -04:00
Aussiemon
67795543a2
Revert "Fix unneeded runtime errors"
...
This reverts commit d207c2251f
.
2025-07-06 20:51:53 -06:00
Alexei Kotov
a109052296
Merge branch 'no_water_blend' into 'master'
...
Fix disappearing normals with refraction disabled (#8490 )
Closes #8490
See merge request OpenMW/openmw!4746
2025-07-06 22:12:59 +03:00
Aussiemon
d207c2251f
Fix unneeded runtime errors
2025-07-06 12:16:17 -06:00
Aussiemon
6c70c403be
Implement FillJournal console command
2025-07-06 12:16:17 -06:00
Andrei Kortunov
d455ff5f5e
Treat formatting string arguments as UTF-8 string
2025-07-06 13:35:27 +04:00
Cody Glassman
30a852bb88
disable blending in second color attachment on water node
2025-07-05 08:32:21 -07:00
Andrew Lanzone
8379c31f13
Add option to show controller tooltips by default
2025-07-04 02:40:52 -07:00
Andrew Lanzone
6a1f8b3f69
Merge branch openmw:master into master
2025-07-03 19:03:08 +00:00
Evil Eye
dbc732231f
Allow non-existent techniques to exist
2025-07-03 17:21:50 +02:00
Kuyondo
32f59c16aa
move some util to lua
2025-07-03 19:38:02 +08:00
Evil Eye
206d38f3d7
Fix path handling for files in BSAs
2025-07-03 08:46:23 +02:00
psi29a
66befc67d9
Merge branch 'topiclist' into 'master'
...
Improve topic and magic effect list padding accuracy (#8585 )
Closes #8585
See merge request OpenMW/openmw!4580
2025-07-02 21:44:00 +00:00
Andrew Lanzone
e2e8a02a26
Merge branch 'master' of https://gitlab.com/OpenMW/openmw
2025-07-01 12:22:35 -10:00
psi29a
f6bff53398
Merge branch 'idempotent-parallax' into 'master'
...
Don't forget parallax when reapplying shader visitor
Closes #8341
See merge request OpenMW/openmw!4634
2025-07-01 21:27:01 +00:00
psi29a
9347fe5c4a
Merge branch 'tbcornottbcwaititstcbactually' into 'master'
...
Implement TCB interpolation for vectors and scalars (#2379 )
See merge request OpenMW/openmw!4539
2025-07-01 20:46:47 +00:00
psi29a
2ffc44c31f
Merge branch 'filenameexceptions' into 'master'
...
Remove file name naming convention check exceptions (#7249 )
Closes #7249
See merge request OpenMW/openmw!4551
2025-07-01 20:45:33 +00:00
psi29a
ac7b3e9de9
Merge branch 'itshappening' into 'master'
...
Bump us up to 0.50.0
See merge request OpenMW/openmw!4502
2025-07-01 20:23:24 +00:00
psi29a
8367604331
Merge branch 'path-delousing' into 'master'
...
Handle paths passed on the command line properly
Closes #8567
See merge request OpenMW/openmw!4721
2025-06-21 10:00:23 +00:00
Andrew Lanzone
143c14c556
Merge branch openmw:master into master
2025-06-21 06:38:19 +00:00
AnyOldName3
71d334fe79
Fix MacOS even more
2025-06-19 19:55:26 +01:00
AnyOldName3
bee9716262
Fix getLocalPath for MacOS
2025-06-19 16:32:21 +01:00
AnyOldName3
323ee5f79d
Remove a line break that clang-format was fussing about
2025-06-19 00:27:08 +01:00
AnyOldName3
276e0e6765
Remove vestigial include
2025-06-19 00:22:58 +01:00
AnyOldName3
acbc0a9b8f
Fix launching other binaries when the CWD is not the binary directory
2025-06-19 00:19:14 +01:00
psi29a
efbef1ec96
Merge branch 'nonusercontent' into 'master'
...
Handle implicitly checked files more consistently (#8563 )
See merge request OpenMW/openmw!4716
2025-06-18 15:53:34 +00:00
AnyOldName3
2ce4571c3a
Handle paths passed on the command line properly
...
Fixes https://gitlab.com/OpenMW/openmw/-/issues/8567 .
Also maybe horribly breaks lots of things because it removes some insanity from https://gitlab.com/OpenMW/openmw/-/merge_requests/86 , which would set the CWD to the local directory just in case any local-relative paths were expressed relatively without the explicit base being the local path.
2025-06-17 00:26:06 +01:00
Alexei Kotov
780a4904bd
Handle implicitly checked files more consistently ( #8563 )
2025-06-13 22:14:08 +03:00
Andrew Lanzone
0502366be9
Merge branch openmw:master into master
2025-06-13 04:44:05 +00:00
Evil Eye
45a51bceb2
Implement equal_to for Color
2025-06-12 17:48:11 +02:00
Evil Eye
be0cbb7277
Use the Color type for Light colours in Lua
2025-06-12 17:17:28 +02:00
psi29a
5163214878
Merge branch 'readfileqlists' into 'master'
...
Optimize value deduping in Qt openmw.cfg loading
See merge request OpenMW/openmw!4708
2025-06-11 09:37:56 +00:00
AnyOldName3
7347f4f4e3
Some review stuff
2025-06-09 14:13:50 +01:00
AnyOldName3
9010a5bb32
Emit visible errors when crash dump creation fails
...
Also possibly fix the errors, as I was getting them when I started testing, and then wasn't by the time I'd got the code how I wanted it.
However, nothing in this commit looks like it *should* fix any errors.
2025-06-09 00:20:58 +01:00
Andy Lanzone
0ca6bc012c
Merge branch 'OpenMW:master' into master
2025-06-07 20:39:57 -07:00
Alexei Kotov
de158a476c
Optimize value deduping in Qt openmw.cfg parsing
2025-06-07 11:37:57 +03:00
elsid
267ce1ec9b
Reduce code duplication for finite number
2025-06-06 00:05:07 +02:00
Aussiemon
e2cf80e3a6
Protect more bindings from non-finite numbers
2025-06-03 19:34:10 -06:00
psi29a
cf258821b4
Merge branch 'hexplusone' into 'master'
...
Correctly format single digit hex values
Closes #8541
See merge request OpenMW/openmw!4700
2025-06-03 06:41:04 +00:00
Andy Lanzone
43b5176367
Merge branch 'OpenMW:master' into master
2025-06-02 00:47:04 -07:00
psi29a
1fff2f0199
Merge branch 'setnew' into 'master'
...
Don't use item(QString) while marking new content files
See merge request OpenMW/openmw!4701
2025-06-02 07:08:05 +00:00
Andy Lanzone
51f9ce890e
Merge branch 'OpenMW:master' into master
2025-06-01 22:57:37 -07:00
psi29a
65155a6e6a
Merge branch 'datachangedcalls' into 'master'
...
Content selector: Cut down on unnecessary dataChanged calls (#8478 )
See merge request OpenMW/openmw!4671
2025-06-01 10:46:45 +00:00
Alexei Kotov
3dfc3d7022
Don't use item(QString) while marking new content files
2025-06-01 03:22:18 +03:00
Andy Lanzone
6185683ca3
Merge branch 'OpenMW:master' into master
2025-05-31 15:29:25 -07:00
Evil Eye
9929c35021
Correctly format single digit hex values
2025-05-31 15:43:50 +02:00
Alexei Kotov
e7976a544a
Increment some new Qt progress bars the canonical way
2025-05-29 03:33:03 +03:00
Aussiemon
d2f1eeff98
Prevent hard freeze when camera receives invalid inputs from Lua
2025-05-26 07:22:10 +00:00
Andrew Lanzone
d759418f01
Add controller support for all four inventory menus
2025-05-24 14:17:41 -07:00
Evil Eye
5cf8191cea
Fix compilation on MSVC
2025-05-22 17:31:33 +02:00
Alexei Kotov
2342dbe0f5
Merge branch 'fix_launcher_ui_freeze' into 'master'
...
Make launcher UI on content files selection more responsive (#8478 )
See merge request OpenMW/openmw!4682
2025-05-22 15:37:23 +03:00
psi29a
6ef3c089bf
Merge branch 'flagsgamefiles' into 'master'
...
Make the horrifying content model flags() game search less horrifying (#8478 )
See merge request OpenMW/openmw!4688
2025-05-22 09:45:30 +00:00
elsid
157e8c763c
Show progress dialog for setting content list
2025-05-22 07:47:58 +02:00
elsid
3955428f87
Show progress dialog on updating content selection
2025-05-22 07:47:38 +02:00
Alexei Kotov
5ffcd21eee
Content selector: Cut down on unnecessary dataChanged calls ( #8478 )
...
setData shouldn't do dataChanged calls setCheckState already does
setCheckState should emit dataChanged for downstream dependencies unconditionally
setCheckState shouldn't emit dataChanged for upstream dependencies that weren't enabled
2025-05-22 01:01:41 +03:00
Alexei Kotov
2c6d11f95e
Make the horrifying content model flags() game search less horrifying
...
Properly exit early and cache game file check result
2025-05-20 16:15:16 +03:00
AnyOldName3
47fff7f998
Disable shadows even harder
...
On GPUs that can detect when all fragments in an execution group take the same branch, this might run faster. Even if it doesn't, it might suppress any weirdness coming from sampling the dummy shadow maps.
2025-05-19 15:06:19 +01:00
Andrew Lanzone
0aad0d379a
Minimal controller support for dialog window
2025-05-18 22:45:22 -07:00
Evil Eye
f32d62def8
Merge branch 'setcheckstateesmfile' into 'master'
...
Avoid repeated item(QString) in plugin toggling-related code
See merge request OpenMW/openmw!4678
2025-05-18 16:41:46 +00:00
Evil Eye
a7a072e3f8
Merge branch 'qfileinfo' into 'master'
...
Avoid unnecessary file system access in plugin toggling
See merge request OpenMW/openmw!4679
2025-05-17 10:25:02 +00:00
Alexei Kotov
f7f5665588
Avoid repeated item(QString) in plugin toggling-related code
2025-05-15 23:17:17 +03:00
Alexei Kotov
89d6408587
Avoid unnecessary file system access in plugin toggling
2025-05-15 23:00:08 +03:00
Alexei Kotov
54eea09a9e
Fix out-of-bounds index dataChanged calls
2025-05-15 21:18:10 +03:00
Andrew Lanzone
b2620c861a
Add scrollbar override to capture mouse hover events
2025-05-11 22:24:05 -07:00
Andy Lanzone
b4e0590a10
Merge branch 'OpenMW:master' into master
2025-05-09 22:57:21 -07:00
psi29a
1f724cc336
Merge branch 'postprocessingglslversion' into 'master'
...
Fix post-processing shader glsl_version bumping
See merge request OpenMW/openmw!4653
2025-05-07 17:57:15 +00:00
Andrew Lanzone
71aa11404c
Add checkbox to enable controller menus to openmw launcher.
2025-05-05 22:47:55 -07:00
Alexei Kotov
72e73784fb
Fix post-processing shader glsl_version bumping
2025-04-29 04:25:24 +03:00
elsid
891d6fd0ba
Fix warning: -Wmaybe-uninitialized
...
In member function 'ESM::RefId {anonymous}::IdGettingVisitor::operator()(const MWWorld::Ptr&) const',
inlined from 'constexpr _Res std::__invoke_impl(__invoke_other, _Fn&&, _Args&& ...) [with _Res = ESM::RefId; _Fn = {anonymous}::IdGettingVisitor; _Args = {const MWWorld::Ptr&}]' at /usr/include/c++/13/bits/invoke.h:61:36,
inlined from 'constexpr typename std::__invoke_result<_Functor, _ArgTypes>::type std::__invoke(_Callable&&, _Args&& ...) [with _Callable = {anonymous}::IdGettingVisitor; _Args = {const MWWorld::Ptr&}]' at /usr/include/c++/13/bits/invoke.h:96:40,
inlined from 'static constexpr decltype(auto) std::__detail::__variant::__gen_vtable_impl<std::__detail::__variant::_Multi_array<_Result_type (*)(_Visitor, _Variants ...)>, std::integer_sequence<long unsigned int, __indices ...> >::__visit_invoke(_Visitor&&, _Variants ...) [with _Result_type = std::__detail::__variant::__deduce_visit_result<ESM::RefId>; _Visitor = {anonymous}::IdGettingVisitor&&; _Variants = {const std::variant<MWWorld::Ptr, std::pair<ESM::FormId, ESM::RefId> >&}; long unsigned int ...__indices = {0}]' at /usr/include/c++/13/variant:1060:24,
inlined from 'constexpr decltype(auto) std::__do_visit(_Visitor&&, _Variants&& ...) [with _Result_type = __detail::__variant::__deduce_visit_result<ESM::RefId>; _Visitor = {anonymous}::IdGettingVisitor; _Variants = {const variant<MWWorld::Ptr, pair<ESM::FormId, ESM::RefId> >&}]' at /usr/include/c++/13/variant:1815:5,
inlined from 'constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = {anonymous}::IdGettingVisitor; _Variants = {const variant<MWWorld::Ptr, pair<ESM::FormId, ESM::RefId> >&}]' at /usr/include/c++/13/variant:1878:34,
inlined from 'ESM::RefId MWScript::GlobalScriptDesc::getId() const' at ../../../apps/openmw/mwscript/globalscripts.cpp:120:26:
../../../apps/openmw/mwscript/globalscripts.cpp:91:35: error: '*(const uint32_t*)((char*)&<unnamed> + offsetof(ESM::RefId, ESM::RefId::mValue.std::variant<ESM::EmptyRefId, ESM::ESM3ExteriorCellRefId, ESM::StringRefId, ESM::FormId, ESM::GeneratedRefId, ESM::IndexRefId>::<unnamed>.std::__detail::__variant::_Variant_base<ESM::EmptyRefId, ESM::ESM3ExteriorCellRefId, ESM::StringRefId, ESM::FormId, ESM::GeneratedRefId, ESM::IndexRefId>::<unnamed>.std::__detail::__variant::_Move_assign_base<true, ESM::EmptyRefId, ESM::ESM3ExteriorCellRefId, ESM::StringRefId, ESM::FormId, ESM::GeneratedRefId, ESM::IndexRefId>::<unnamed>.std::__detail::__variant::_Copy_assign_base<true, ESM::EmptyRefId, ESM::ESM3ExteriorCellRefId, ESM::StringRefId, ESM::FormId, ESM::GeneratedRefId, ESM::IndexRefId>::<unnamed>.std::__detail::__variant::_Move_ctor_base<true, ESM::EmptyRefId, ESM::ESM3ExteriorCellRefId, ESM::StringRefId, ESM::FormId, ESM::GeneratedRefId, ESM::IndexRefId>::<unnamed>.std::__detail::__variant::_Copy_ctor_base<true, ESM::EmptyRefId, ESM::ESM3ExteriorCellRefId, ESM::StringRefId, ESM::FormId, ESM::GeneratedRefId, ESM::IndexRefId>::<unnamed>.std::__detail::__variant::_Variant_storage<true, ESM::EmptyRefId, ESM::ESM3ExteriorCellRefId, ESM::StringRefId, ESM::FormId, ESM::GeneratedRefId, ESM::IndexRefId>::_M_u))' may be used uninitialized [-Werror=maybe-uninitialized]
91 | return ESM::RefId();
| ^
../../../apps/openmw/mwscript/globalscripts.cpp: In member function 'ESM::RefId MWScript::GlobalScriptDesc::getId() const':
../../../apps/openmw/mwscript/globalscripts.cpp:91:35: note: '<anonymous>' declared here
91 | return ESM::RefId();
| ^
2025-04-28 22:00:03 +02:00
Evil Eye
b4d5013679
Merge branch 'lua_state' into 'master'
...
Use unique_ptr to handle lua state lifetime
See merge request OpenMW/openmw!4636
2025-04-23 18:54:40 +00:00
Evil Eye
e20d52d23c
Merge branch 'namespace_typo' into 'master'
...
Fix typo in namespace name
See merge request OpenMW/openmw!4635
2025-04-21 08:41:27 +00:00
AnyOldName3
e2e7b58b3a
Handle normalHeightMap as special case
2025-04-20 23:55:38 +01:00
elsid
6f89d38b78
Replace includes by forward declaration
2025-04-20 02:28:34 +02:00
AnyOldName3
4707c7e2fc
Format
2025-04-20 00:17:03 +01:00
AnyOldName3
115fc08904
Don't forget parallax when reapplying shader visitor
...
Fixes https://gitlab.com/OpenMW/openmw/-/issues/8341
I don't think this should go into 0.49 because there may be implications beyond what I've thought of and I'd rather we had a full dev cycle to notice any regressions.
The fix is a little janky, but makes use of some dead code we've had since the introduction of normal-height maps nearly a decade ago, so it's a safe bet that it was never intended to be dead code.
The main effect of the jankiness is that we'll add some pointless @defines for normalHeightMap that none of our shaders use and which will always be zero.
2025-04-20 00:12:53 +01:00
elsid
f80283422f
Use unique_ptr to handle lua state lifetime
2025-04-18 14:01:07 +02:00
elsid
972995d124
Fix typo in namespace name
2025-04-18 12:27:48 +02:00
elsid
0d5e9ef85f
Remove redundant using namespace Fallback
...
C++ has ADL to find overloads. using namespace does nothing in this
case.
2025-04-18 12:27:37 +02:00
Alexei Kotov
271ab2e109
Merge branch 'dont-ask-the-disk-for-things-we-already-know' into 'master'
...
Avoid IO in resolveParentFileIndices
See merge request OpenMW/openmw!4627
2025-04-14 13:11:57 +03:00
AnyOldName3
deb070389f
Improve Windows crash/freeze catcher UX
...
* Change crash log to crash dump in messages.
* Make the freeze catcher popup disappear more quickly when OpenMW thaws - we got a few freeze dumps from after a thaw.
* Improve freeze catcher message - hopefully fewer users think it's a false positive they're expected to put up with and we get future reports sooner.
2025-04-12 18:38:55 +01:00
AnyOldName3
a5a6f33578
Manual reformatting that wasn't done automatically on my machine
2025-04-11 17:41:40 +01:00
AnyOldName3
d74a0edb82
Format
2025-04-11 17:37:55 +01:00
AnyOldName3
396cd1c727
Fix Windows Debug build
...
This was a regression from https://gitlab.com/OpenMW/openmw/-/merge_requests/4596
Also move more things into the anonymous namespace because there's not really a reason not to and I had to rearrange things anyway.
2025-04-11 17:33:19 +01:00
AnyOldName3
48572e4c96
Even more elses
2025-04-10 18:32:52 +01:00
AnyOldName3
37dc1a6a76
Remove redundant elses
2025-04-10 16:51:23 +01:00
AnyOldName3
15162a734d
Avoid IO in resolveParentFileIndices
...
In the olden days, we passed it a vector of open ESMReader instances, as they knew the filenames and sizes, so were a convenient source of this knowledge.
When the ReadersCache was introduced as a pool of readers to limit the maximum number of simultaneously open file handles (to avoid going over the OS' limit) it was a poor substitute.
* We iterate over all the earlier readers in order in a double loop, which is the worst case scenario for an LRU pool as once we're past the size limit, we're guaranteed maximum thrashing - the least recently used item is the most likely to be used next, so the worst to evict.
* We didn't want to read any ESM files, just know whether they'd been read and what their sizes were, so didn't want to open a file handle, which the ReadersCache forced us to do.
Obviously, opening lots of file handles isn't fast, and as this was an operation done for each content file which iterated over the file's masters and within that loop iterated over every loaded file, that's O(n^3) complexity in the worst case, and for things like delta plugin merged plugins, they hit the worst case in long load orders.
This resolves the freeze reported as https://gitlab.com/OpenMW/openmw/-/issues/8425 , but there may be other freezes on launch.
2025-04-10 16:16:19 +01:00
psi29a
ea8369eff0
Merge branch 'dont-redraw-the-whole-gui-every-time-we-change-the-tiniest-thing' into 'master'
...
Be more careful when we tell Qt that data has changed
Closes #8405
See merge request OpenMW/openmw!4621
2025-04-09 11:19:32 +00:00
AnyOldName3
096759435a
Add progress bars where the launcher can be limited by IO
...
I tested this with a USB3 external hard drive.
These two places were the only ones where we're IO-bound and block the main thread, so they're the only ones that need progress bars.
If trying to replicate this test, then it's important to unplug the hard drive between each repeat.
Apparently Windows is excellent at disk caching these days as it takes a minute and a half to start the launcher with Total Overhaul on this drive when it's just been plugged in, but less time than the first launch after a reboot on an NVME drive once the cache has been warmed up.
2025-04-09 01:36:52 +01:00
AnyOldName3
894ea4ba62
Don't precompute load order errors after every change
...
It's much slower than doing it on demand as it only takes a microsecond, but for a really big load order, there are hundreds of thousands of intermediate calls before everything's set up and we can draw the GUI.
2025-04-08 01:19:24 +01:00
AnyOldName3
d6b61f1f54
Sprinkle some const&
...
QStringView required more fighting as loads of call sites take a const&
2025-04-08 00:34:45 +01:00
AnyOldName3
e779f115ef
Exclude directories from containsDataFiles
...
Also include capo's microoptimisation even though it doesn't make things any faster.
2025-04-07 16:11:27 +01:00
psi29a
bd1c2a11d7
Merge branch 'herbalfish' into 'master'
...
Fix some graphic herbalism issues
See merge request OpenMW/openmw!4624
2025-04-07 11:03:55 +00:00
psi29a
211a5e5bda
Merge branch 'lightminimumradius' into 'master'
...
Give point lights a minimum radius of 16
See merge request OpenMW/openmw!4601
2025-04-06 16:03:35 +00:00
Evil Eye
962ef91e25
Allow skinned plants to be harvested
2025-04-06 11:01:26 +02:00
AnyOldName3
973282e471
Optimise ContentSelectorModel::ContentModel::item
...
This saves about 5% of remaining launcher startup time
Not using fileProperty avoids loads of QVariant conversions.
2025-04-06 02:46:31 +01:00
AnyOldName3
1237746549
Be more careful when we tell Qt that data has changed
...
Unchecking files only changes whether they're checked, and doesn't completely rearrange the table and change the number of elements it has, so we only need to change the check state, not the whole layout.
It's way faster to just query all the data once after setting a content list than it is to query the data for all files between the old and new location of a file when we change any file's location in the load order.
2025-04-06 01:31:05 +01:00
Alexei Kotov
3523ba564a
Merge branch 'non-deprecated-known-folder-api' into 'master'
...
Use non-deprecated known folder API
See merge request OpenMW/openmw!4603
2025-04-02 19:20:21 +03:00
psi29a
747771ac5e
Merge branch 'fontexport' into 'master'
...
Restore --export-fonts option functionality
See merge request OpenMW/openmw!4561
2025-03-27 11:04:35 +00:00
AnyOldName3
166852254f
Use non-deprecated known folder API
...
SHGetFolderPathW was deprecated in Windows Vista nearly two decades ago. ShGetKnownFolderPath is the replacement.
Also log if there was an error. Someone seemed to be getting an error on Discord, despite other apps being able to get the path just fine with these functions.
Also don't pass the flags to create the folders if they don't exist. We probably don't have the right permissions and if they don't exist, then there are bigger problems. Maybe this will fix the issue the user was having.
Also add a comment about global config on Windows being fundamentally wrong.
2025-03-25 01:32:44 +00:00
Alexei Kotov
f8be5fdd2a
Give point lights a minimum radius of 16
2025-03-24 22:14:08 +03:00
elsid
ada48d9021
Reduce a chance to have a deadlock in the AsyncNavMeshUpdater
...
* Do not fail tile generation if debug mesh writing fails.
* Mark some functions as noexcept to better crash than have a deadlock.
* Unlock tile and remove job if there on exception while processing it.
2025-03-23 23:33:40 +01:00
elsid
7112217adc
Use temporary directory for tests output
2025-03-23 23:33:40 +01:00
elsid
87a2f776b7
Add version to the recast log prefix
2025-03-23 23:33:39 +01:00
elsid
51258662b5
Support max log level for Recast via env variable
...
Do not write to log if log message level is greater than one speficied
in the OPENMW_RECAST_MAX_LOG_LEVEL env variable. Use Error by default.
2025-03-21 15:34:47 +01:00
elsid
e5f6b77c29
Skip SLSD, SCVR, SCRV subrecords in QUST record
...
Present in:
Fallout 3 GOTY English/Data/Anchorage.esm
Fallout 3 GOTY English/Data/BrokenSteel.esm
Fallout 3 GOTY English/Data/PointLookout.esm
Fallout 3 GOTY English/Data/ThePitt.esm
Fallout 3 GOTY English/Data/Zeta.esm
2025-03-15 13:11:26 +01:00
elsid
e5ad1cd214
Do not use no longer supported std::char_traits
...
/usr/bin/../include/c++/v1/string_view:300:42: error: implicit instantiation of undefined template 'std::char_traits<signed char>'
300 | static_assert(is_same<_CharT, typename traits_type::char_type>::value,
| ^
/home/elsid/dev/openmw/components/to_utf8/to_utf8.cpp:55:41: note: in instantiation of template class 'std::basic_string_view<signed char>' requested here
55 | std::basic_string_view<signed char> getTranslationArray(FromType sourceEncoding)
| ^
/usr/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
| ^
std::char_traits support for non char types was removed from libc++19:
https://reviews.llvm.org/D157058 .
2025-03-11 20:32:36 +03:00
Alexei Kotov
3f63700e99
Improve topic and magic effect list padding accuracy
...
This also touches the quest list, but there are bigger problems with the journal than just padding
2025-03-10 05:48:54 +03:00
elsid
51d73e37df
Fix msvc warnings
...
components\lua\configuration.cpp(133): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
components\esm3\effectlist.cpp(35): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
components_tests\misc\testmathutil.cpp(54): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
components_tests\misc\testmathutil.cpp(62): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
components_tests\misc\testmathutil.cpp(131): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
components_tests\misc\testmathutil.cpp(135): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
components_tests\misc\testmathutil.cpp(135): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
components_tests\misc\testmathutil.cpp(139): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
2025-03-09 17:55:17 +01:00
Alexei Kotov
5f92d520ee
Merge branch 'mainmembers' into 'master'
...
Fix more potential use-after-free issues
See merge request OpenMW/openmw!4566
2025-03-07 00:25:35 +03:00
psi29a
8bbb46b52c
Merge branch 'frankfontaine' into 'master'
...
Properly implement bitmap font kerning (#8378 )
See merge request OpenMW/openmw!4565
2025-03-05 21:16:19 +00:00
psi29a
888415059c
Merge branch 'fontainofdreams' into 'master'
...
Allow bitmap font texture reading to end prematurely (#8378 )
See merge request OpenMW/openmw!4564
2025-03-05 13:11:10 +00:00
psi29a
1e0bdcc270
Merge branch 'elefont' into 'master'
...
Further revise bitmap glyph replacements (#7531 )
See merge request OpenMW/openmw!4563
2025-03-05 13:09:53 +00:00
Evil Eye
b0e9df0139
Ensure class members are tied to the main Lua state
2025-03-03 19:37:07 +01:00
Alexei Kotov
fd358396fc
Properly implement bitmap font kerning
2025-03-03 08:42:39 +03:00
Alexei Kotov
24468fd965
Allow bitmap font texture to end prematurely
2025-03-03 08:29:00 +03:00
Alexei Kotov
c8fe596fc4
Add some remaining missing bitmap substitutions
2025-03-03 08:02:34 +03:00
Alexei Kotov
c50d8195bb
Remove custom substitutions for glyphs that may exist in the font
2025-03-03 08:02:16 +03:00
Alexei Kotov
dc3264a3a5
Restore --export-fonts option functionality
2025-03-02 22:33:06 +03:00
uramer
3a98b945a8
Keep MENU-registered input actions between games
2025-02-26 16:56:41 +01:00
Alexei Kotov
fc850cfe69
Rename components/crashcatcher files to follow naming conventions
2025-02-23 00:18:07 +03:00
Alexei Kotov
ac9505b536
Rename components/to_utf8 directory and files to follow naming conventions
2025-02-23 00:18:07 +03:00
Alexei Kotov
dd16c87080
Rename components/platform files to follow naming conventions
2025-02-22 23:47:11 +03:00
Alexei Kotov
7df74664e4
Rename gl4es-init.cpp/h to follow naming conventions
2025-02-22 21:49:49 +03:00
Alexei Kotov
3793ff8be8
Standardize components/fx file include guards
2025-02-22 21:14:58 +03:00
Alexei Kotov
5d5595cc5b
Standardize components/bsa file include guards and order
2025-02-22 21:12:28 +03:00
Alexei Kotov
8b911ce3eb
Rename components/fx files to follow naming conventions
2025-02-22 21:00:40 +03:00
Alexei Kotov
0254feefe3
Rename bsa_file.cpp/hpp to follow naming conventions
2025-02-22 20:52:39 +03:00
Alexei Kotov
602a429a68
Fix UB when pathgrid geometry is generated and all pathgrid edges are invalid
2025-02-16 17:46:52 +03:00
Alexei Kotov
1a9e29844b
Implement TCB interpolation for vectors and scalars ( #2379 )
2025-02-13 13:41:34 +03:00
psi29a
782c274d86
Merge branch 'shutupsdl' into 'master'
...
Silence SDL3 window/display events coming from SDL2-compat
See merge request OpenMW/openmw!4531
2025-02-10 16:58:28 +00:00
psi29a
d2610973dd
Merge branch 'shutupssg' into 'master'
...
Add a dummy serializer for billboards
See merge request OpenMW/openmw!4532
2025-02-10 16:58:21 +00:00
Alexei Kotov
c1960635d2
Optimize NIF boolean vector reading
2025-02-07 04:55:06 +03:00
Alexei Kotov
eaf9488ba0
Silence SDL3 window/display events coming from SDL2-compat
2025-02-04 20:30:19 +03:00
Alexei Kotov
cfa1ad0b33
Add a dummy serializer for billboards
2025-02-04 20:22:14 +03:00
Alexei Kotov
a17bffda26
Merge branch 'blencludes' into 'master'
...
Remove superfluous includes from animblendrules.cpp
See merge request OpenMW/openmw!4523
2025-01-31 14:46:12 +00:00
Mads Buvik Sandvei
5b1aafb77a
Formatting mistakes
2025-01-29 23:01:34 +01:00
Mads Buvik Sandvei
a1df9afc9a
Formatting changes
2025-01-26 17:05:42 +01:00
Mads Buvik Sandvei
ea51c55d00
Restore valid per view shadow settings.
2025-01-26 16:31:52 +01:00
Mads Buvik Sandvei
a2f5e1c075
Fix multiview use in techniques
2025-01-26 16:26:36 +01:00