Commit Graph

33856 Commits (443e341ae763cc906324e2445b52b894be87b610)
 

Author SHA1 Message Date
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
AnyOldName3 b8cb757ca4 Oopsie 10 months ago
AnyOldName3 9e1334cc09 Resync composing and path openmw.cfg settings with options.cpp 10 months ago
psi29a be1e77c282 Merge branch 'fix-git-commit-updating' into 'master'
Fix git commit updating

See merge request OpenMW/openmw!3911
10 months ago
psi29a 03d5872a55 Merge branch 'drop_on_exit' into 'master'
Add a storage mode to drop section on game exit

See merge request OpenMW/openmw!3905
10 months ago
Evil Eye 0519e1215f Unify the creation of RefId tables 10 months ago
Alexei Kotov 9d5ef10304 Merge branch 'Swimming-in-the-90s' into 'master'
Use correct index for Athletics_SwimOneSecond

See merge request OpenMW/openmw!3913
10 months ago
AnyOldName3 d111b4bbd9 Handle built-in content files in content model
There's also handling for files declared as originating from a lower-priority openmw.cfg, e.g. anything in the local config or any intermediate ones, as they can't be disabled or reordered.
There's no way to mark such files yet, but the logic's the same as built-in files, so everything will be fine once that's set up.
10 months ago
AnyOldName3 322a378907 Load correct config files in the wizard 10 months ago
Alexei Kotov 27b1434f5b Use string_view for full help text 10 months ago
Evil Eye f346295975 Add a number-per-sex type 10 months ago
Evil Eye cd118ee263 Expose races to Lua 10 months ago
Andrei Kortunov 2a4f12b96e Use a new life time API 10 months ago