Commit Graph

8414 Commits (master)

Author SHA1 Message Date
Evil Eye 6090bfcdab Work around a regression in MSVC 3 weeks ago
psi29a a66d4d77bc Merge branch 'todd1252encoding' into 'master'
Revise bitmap glyph replacements (#7531)

Closes #7531

See merge request OpenMW/openmw!4444
3 weeks ago
Alexei Kotov b285e2f85f Merge branch 'fix_findpath_use_after_free' into 'master'
Fix findPath returning a raw vector

Closes #8238

See merge request OpenMW/openmw!4470
3 weeks ago
uramer 1675c74036 Fix findPath returning a raw vector 4 weeks ago
psi29a c454675cff Merge branch 'nilightcolorcontroller' into 'master'
Give NiLightColorController its own struct

See merge request OpenMW/openmw!4472
4 weeks ago
Alexei Kotov 23a46a1bf9 Merge branch 'vfs_normalized_path_22' into 'master'
Use normalized path for KeyframeManager::get (#8138)

See merge request OpenMW/openmw!4463
4 weeks ago
Alexei Kotov a923e311f5 Give NiLightColorController its own struct 4 weeks ago
psi29a 064e3c7c2e Merge branch 'useniftestinstead' into 'master'
Remove write nif debug log setting

See merge request OpenMW/openmw!4468
4 weeks ago
psi29a 7b992f98e7 Merge branch 'poisoncrank' into 'master'
Save interior fog bounds center to preserve rotation when expanding them

Closes #7013

See merge request OpenMW/openmw!4466
1 month ago
Alexei Kotov 95c38bacc7 Remove write nif debug log setting 1 month ago
psi29a 1dac165356 Merge branch 'precomputedbonematrices' into 'master'
Precompute bone matrices before skinning

See merge request OpenMW/openmw!4467
1 month ago
psi29a 690de3c3f9 Merge branch 'exorcisingtoddfrommyoblivioncopy' into 'master'
Support ESM4::Light with no spotlight data again

See merge request OpenMW/openmw!4465
1 month ago
Alexei Kotov 0f4e0ac818 Precompute bone matrices during skinning 1 month ago
Evil Eye d57d5d9247 Save interior fog bounds center to preserve rotation when expanding them 1 month ago
Alexei Kotov ec564b14df Support ESM4::Light with no spotlight data 1 month ago
Alexei Kotov 5433ecf861 Change default depth test mode to <= (#7040) 1 month ago
psi29a cf3badb8a4 Merge branch 'data_files_menu' into 'master'
Implement a context menu for data directories page

Closes #8130

See merge request OpenMW/openmw!4458
1 month ago
elsid a550a8af36
Use normalized path for KeyframeManager::get 1 month ago
Andrei Kortunov bd59247270 Avoid trailing line breaks 1 month ago
elsid 630e815f66
Forbid to use toNormalized for normalized path 1 month ago
psi29a 79dbbceb10 Merge branch 'vfs_normalized_path_20' into 'master'
Use normalized path for correctMeshPath and getLODMeshName (#8138)

See merge request OpenMW/openmw!4455
1 month ago
Alexei Kotov d11bd7397b Revise bitmap glyph replacements (#7531) 1 month ago
elsid 22817dd6a1
Use normalized path for correctMeshPath 1 month ago
elsid 36198e9413
Use normalized path for getLODMeshName 1 month ago
Andrei Kortunov 2522fe9517 Remove dead code 1 month ago
Evil Eye d88ddc97cc Avoid an apparent compiler error in MSVC 2019 2 months ago
Pi03k 05a71e982d Move from qt_wrap_ui to AUTOUIC for qt components lib
(#7348)
2 months ago
Evil Eye 6572122acc Use the right deserializer for unloaded scripts 2 months ago
elsid afa769408a
Use normalized path for correctActorModelPath 2 months ago
elsid 376911f645
Reduce duplication for getting file name 2 months ago
psi29a 362eec43be Merge branch 'noblacklisting' into 'master'
Exterminate script blacklisting (#8214)

Closes #8214

See merge request OpenMW/openmw!4440
2 months ago
psi29a 62079499c1 Merge branch 'nowaterculling' into 'master'
Allow opting out of water culling (#7318)

Closes #7318

See merge request OpenMW/openmw!4441
2 months ago
Evil Eye 81612a5358 Merge branch 'constcorrectattributes' into 'master'
Sprinkle const-correctness in NifLoader

See merge request OpenMW/openmw!4436
2 months ago
Alexei Kotov 5d37cb3b74 Exterminate script blacklisting (#8214) 2 months ago
Alexei Kotov 4f521a94d7 Allow opting out of water culling (#7318) 2 months ago
Alexei Kotov e27732421e Adjust intro comment for user openmw-cs.cfg (#5859) 2 months ago
Alexei Kotov b71ec84004 Sprinkle const-correctness in NifLoader 2 months ago
Alexei Kotov 964dafd42c Share texture type attributes 2 months ago
psi29a 1349fdb4f2 Merge branch 'serializable_readonly' into 'master'
Support table-valued settings

See merge request OpenMW/openmw!3917
2 months ago
uramer e248ba293a Use sol helpers for metatable keys 2 months ago
Alexei Kotov eea916a43d Save/load INI importer flags in the launcher (#8189) 2 months ago
Evil Eye 7bbb1bf05d Merge branch 'loosey-goosey' into 'master'
Store original representation of paths in content lists. Also compare against existing content lists in a more forgiving way.

See merge request OpenMW/openmw!4424
2 months ago
AnyOldName3 31c84e0407 We don't need to capture constexpr stuff 2 months ago
AnyOldName3 7640b6bcf4 Typo 2 months ago
AnyOldName3 b596902329 c a p i t u l a t e
Looks like I forgot to reformat after a typo fix.
2 months ago
AnyOldName3 c2b383ea92 Store original representation of paths in content lists
Also compare against existing content lists in a more forgiving way.

The first improvement makes it possible to use relative paths in openmw.cfg without the launcher canonicalising them.
This was really annoying if you used a relative path on purpose.
It also stops the launcher converting all paths to Qt's convention, where forward slashes are used on Windows even though they're not native.
The engine doesn't care, so you could always put either in the config file, but the launcher wouldn't stand for that, and would make them match.

To make this work, we need to store a path's originalRepresentation in the content list, compare paths loaded from openmw.cfg based on their originalRepresentation, and convert paths from originalRepresentation to absolute value when loading them from a content list.

The second improvement means that paths that are equivalent, but expressed differently (e.g. mismatched case on Windows, mismatched separators on Windows, or mild differences like unnecessary `./`es and doubled separators) don't trigger the creation of a new effectively-identical content list.

To make this work, we had to switch the comparison to lexicaly normalise the path first.
It could only be lexical normalisation as originalRepresentation might be absolute, relative, or absolute-but-based-on-a-path-slug, and we didn't want slugs to break things or relative paths to count as equivalent to absolute ones that refer to the same file.
The comparison is case-insensitive on Windows, and case-sensitive elsewhere.
This isn't strictly right, as you can have case-sensitive things mounted on Windows or tell a Linux directory to be case-insensitive, but we can't tell when that might happen based on a lexical path as it depends on real directory properties (and might differ for different parts of the path, which is too much hassle to support).
2 months ago
AnyOldName3 6330d80b9e Don't expect TangentSpaceGenerator to work without texcoords 2 months ago
Alexei Kotov e9627e9b0c Merge branch 'cifileprofiles' into 'master'
Compare content files and archives case insensitively when matching existing profiles

See merge request OpenMW/openmw!4419
2 months ago
Evil Eye 6d182dcdae Compare content files and archives case insensitively when matching existing profiles 2 months ago
AnyOldName3 7556ab6f90 Make the launcher ignore case in bsa names 2 months ago