Commit Graph

33868 Commits (d06e8e2c24878dfecd1e74bca4b5ecc54c33b7ba)
 

Author SHA1 Message Date
psi29a c3a44ca74a Merge branch 'mapped' into 'master'
Track map position using MWWorld::Cell

See merge request OpenMW/openmw!3932
10 months ago
elsid cc35df9409
Use VFS::Path::Normalized for fx::Technique file path 10 months ago
elsid ffbeb5ab98
Build localization path using VFS::Path::Normalized 10 months ago
elsid 84adb0a148
Make VFS::Path::Normalized constructor from std::string_view explicit 10 months ago
Evil Eye 504a9e7d43 Address feedback 10 months ago
jvoisin a63528343d Merge branch 'master' into 'master'
conf.py: Set navigation_with_keys to allow navigating documentation through arrow keys

See merge request OpenMW/openmw!3930
10 months ago
psi29a a926f4a5a9 Merge branch 'alt_tab_fix' into 'master'
Do not treat Alt-Tab as resolution change

Closes #7866

See merge request OpenMW/openmw!3931
10 months ago
psi29a f09f5c644c Merge branch 'update_setting_pages' into 'master'
Optimize setting group rendering

See merge request OpenMW/openmw!3929
10 months ago
AnyOldName3 baab28440e Russian translations from Capo 10 months ago
AnyOldName3 e0b13f0858 Ensure default config values are present
Moving builtin.omwscripts out of the root openmw.cfg means we actually might need to use the defaults, so need to have some.
10 months ago
elsid 5859fd464c
Add option to disable precompiled headers
To be able to use ccache.

Also fix compilation errors appeared due to absence of precompiled
headers.
10 months ago
Evil Eye b055367b3b Track map position using MWWorld::Cell 10 months ago
Andrei Kortunov 5dcac4c48f Do not treat Alt-Tab as resolution change (bug 7866) 10 months ago
psi29a 65d51665e5 Merge branch 'fix_osg_utf8_build' into 'master'
Fix build with OSG_USE_UTF8_FILENAME

See merge request OpenMW/openmw!3928
10 months ago
Sam Hellawell c6ee01b0be Apply fix to sky manager
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
10 months ago
Sam Hellawell bf7819f71d fix clang format 10 months ago
Sam Hellawell f28b3f6601 Style tweak
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
10 months ago
Sam Hellawell af8c2a94df Fix: hardcoded weather meshes, use settings instead
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
10 months ago
AnyOldName3 36f5c819bb capitulate 10 months ago
AnyOldName3 243b5b6666 Hopefully convince the old MSVC version on GitLab CI to work
The old code was legal, and the things it did worked in other places, so should have worked here, too.

Hopefully just rearranging stuff convinces what I assume to be a compiler bug to not happen.
10 months ago
AnyOldName3 ed23f48754 Actually erase the things we're removing
Caused by bad copy and paste
10 months ago
Martin d8c74e1d62 conf.py: Set navigation_with_keys to allow navigating documentation through arrow keys 10 months ago
uramer a11e553de4 Optimize setting group rendering by rendering them as separate elements, support element-rendered setting renderers 10 months ago
uramer 9ae61f1932 Fix child UI Elements created in the same frame as parent 10 months ago
uramer 7a5493796f Update setting page elements when possible 10 months ago
elsid 5acfb07850
Fix build with OSG_USE_UTF8_FILENAME 10 months ago
Mads Buvik Sandvei 312f6c90e0 Rewrite SkillProgression.skillUsed to allow directly adding xp instead of going via useType. 10 months ago
Evil Eye 1499dd2654 Add getCompositeSize and handle NPC data 10 months ago
AnyOldName3 7f1a6a8187 Fix file that's not used on Windows 10 months ago
AnyOldName3 bf24bb71b1 Explicitly use std::strong_ordering
Otherwise it's ambiguous how to build <=> from <, == and >
10 months ago
AnyOldName3 c23e5e1059 I guess these aren't wired up as a dependency of the build
I know the qm generation is so maybe it needs another look
10 months ago
AnyOldName3 1ae2cc82a1 I do not know how this escaped formatting locally. 10 months ago
AnyOldName3 a130ca57a4 Track source of settings
This one's a biggie.

The basic idea's that GameSettings should know:
* what the interpreted value of a setting is, so it can actually be used.
* what the original value the user put in their config was, so it can be put back when the config's saved.
* which path it's processing the openmw.cfg from so relative paths can be resolved correctly.
* whether a setting's a user setting that can be modified, or from one of the other openmw.cfg files that can't necessarily be modified.

This had fairly wide-reaching implications.

The first is that paths are resolved properly in cases where they previously wouldn't have been.
Without this commit, if the launcher saw a relative path in an openmw.cfg, it'd be resolved relative to the process' working directory (which we always set to the binary directory for reasons I won't get into).
That's not what the engine does, so is bad.
It's also not something a user's likely to suspect.
This mess is no longer a problem as paths are resolved correctly when they're loaded instead of on demand when they're used by whatever uses them.

Another problem was that if paths used slugs like ?userconfig? would be written back to openmw.cfg with the slugs replaced, which defeats the object of using the slugs.
This is also fixed.

Tracking which settings are user settings and which are in a non-editable openmw.cfg allows the launcher to grey out rows so they can't be edited (which is sensible as they can't be edited on-disk) while still being aware of content files that are provided by non-user data directories etc.
This is done in a pretty straightforward way for the data directories and fallback-archives, as those bits of UI are basic, but it's more complicated for content files as that uses a nmodel/view approach and has a lot more moving parts.
Thankfully, I'd already implemented that when dealing with builtin.omwscripts, so it just needed wiring up.

One more thing of note is that I made the SettingValue struct storable as a QVariant so it could be attached to the UI widgets as userdata, and then I could just grab the original representation and use it instead of needing any complicated mapping from display value to on-disk value.
10 months ago
psi29a 231b5753e4 Merge branch 'launcher_help_version' into 'master'
Open matching version of documentation for Launcher Help

See merge request OpenMW/openmw!3909
10 months ago
psi29a effb4fc383 Merge branch 'whoanotouchy' into 'master'
Properly calculate touch spell hit position (#6156)

Closes #6156

See merge request OpenMW/openmw!3920
10 months ago
psi29a 8efba50fe3 Merge branch 'macos-14-xcode-15' into 'master'
bump macos to macos-14-xcode-15

See merge request OpenMW/openmw!3921
10 months ago
psi29a 9434f52c14 Merge branch 'fix/less-strict-ids' into 'master'
Fix(idvalidator): Allow any printable character in refIds

Closes #7721

See merge request OpenMW/openmw!3896
10 months ago
psi29a e340b06411 Merge branch 'get-glextensions-properly' into 'master'
Get the GLExtensions instance when a context is created

Closes #7351

See merge request OpenMW/openmw!3022
10 months ago
psi29a 61f5a13c02 Merge branch 'check-osg-plugins' into 'master'
Check for dynamic OSG plugins on launch

Closes #7736

See merge request OpenMW/openmw!3748
10 months ago
psi29a 4d52ab372c make the name more like the reality 10 months ago
psi29a fe3189557f bump macos 10 months ago
Alexei Kotov 1f629b1368 Account for Hrnchamd's research in touch effect hit position calculation 10 months ago
Evil Eye cef59e8928 Replace fixed size writeHNT calls with decomposition 10 months ago
Alexei Kotov 828bf3d11a Merge branch 'imperfectoil' into 'master'
Implement auto calculated potion values

Closes #7859

See merge request OpenMW/openmw!3918
10 months ago
Alexei Kotov 7a84f27eeb Properly calculate touch spell hit position (#6156)
Reorganize hit contact logic and remove dead code (distance checks, melee hit contact-relevant stuff)
10 months ago
psi29a d168466034 Merge branch 'raciallybound' into 'master'
Expose races to Lua

See merge request OpenMW/openmw!3863
10 months ago
Evil Eye 958f70736f Implement auto calculated potion values 10 months ago
Evil Eye e54decc830 Remove redundant is_automagicals 10 months ago
psi29a e6f64f5e71 Merge branch 'fullhelp' into 'master'
Move full help text after everything else (#7623)

Closes #7623

See merge request OpenMW/openmw!3907
10 months ago
AnyOldName3 1af59c3a43 Tooltips for data-local and resources/vfs 10 months ago