Commit Graph

847 Commits (1fd6ac643884cdf3f9e64fd346276a6156d6b1d6)

Author SHA1 Message Date
psi29a f456978cc3 Merge branch 'blueshift' into 'master'
Launcher: Support extended selection for directories

See merge request OpenMW/openmw!4346
4 months ago
Alexei Kotov 073e4639bf Launcher: Support extended selection for directories 4 months ago
Alexei Kotov f393c40cbd Launcher: Fix Insert Above behavior when the directory is added automatically 4 months ago
Alexei Kotov 3a9e6de6fd Alternate row colors in directory and archive list 4 months ago
Alexei Kotov 8a7035020a Don't check subdirectories of valid content subdirectories (#8085) 5 months ago
Sam Hellawell b1b2cceec6 Update translation capitalization 6 months ago
Sam Hellawell 07e6ebdea1 Update english translation, add ruski translation 6 months ago
Max Yari 136be62146 Launcher checkbox
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
6 months ago
elsid 1bdc01273e
Move "debugging" function into Debug namespace 6 months ago
Alexei Kotov 888abc0097 Remove time played setting 6 months ago
Alexei Kotov 6ad914919b Remove launcher lighting settings that support runtime changes
Also update lighting method descriptions
7 months ago
psi29a cbf0471d8a Merge branch 'launch_button' into 'master'
Set minimum width for Launch OpenMW button

See merge request OpenMW/openmw!4162
7 months ago
Andrei Kortunov fb3687e62a Set minimum width for Launch OpenMW button 7 months ago
Alexei Kotov 593d4ff714 Move per-pixel lighting to the in-game settings 7 months ago
Yury Stepovikov 80d2b289e7 Fix archive selection when switching profiles (#7956) 7 months ago
Andrei Kortunov bf682d51a6 Support dark mode on Windows (feature 7985) 8 months ago
Andrei Kortunov bf568da6de Remove redundant checks 8 months ago
Andrei Kortunov 0262b33067 Update toolbar style sheet when theme changed 8 months ago
Andrei Kortunov b0930158df Use an auto raise mode to disable the border 8 months ago
psi29a ea7555c012 Merge branch 'feature/pplLauncherSetting' into 'master'
added force PPL checkbox

See merge request OpenMW/openmw!3857
8 months ago
Alexei Kotov 95cef34477 Bump the minimum launcher width to 775 8 months ago
Benjamin Y d62fb92b5b Fixed capitalization 8 months ago
Benjamin Y 3146015a00 Fixed Label Capitalization 8 months ago
bwyunker 563f5b37a3 Merge branch 'master' into feature/pplLauncherSetting 8 months ago
Andrei Kortunov 5e8dc9cc03 Fix stub icon color 8 months ago
Andrei Kortunov d97838def1 Improve launcher appearance 8 months ago
Andrei Kortunov 1bb48bcef7 Treat editor icons as scalable 8 months ago
Benjamin Y 8cc512cbc9 Convention fixes and remove confusing info 9 months ago
psi29a 8037a6e765 Merge branch 'portable-launcher' into 'master'
Portable Launcher (plus a whole slew of bugs fixes for problems I found that I suspect aren't on the tracker)

Closes #6846

See merge request OpenMW/openmw!3925
9 months ago
Andrei Kortunov e8c3c8115a Capitalize captions in Launcher and Wizard 9 months ago
Benjamin Y 76199e1fb2 Update settingspage.ui with description for PPL 9 months ago
AnyOldName3 47ef2d018f Always set userrole for archive list 9 months ago
AnyOldName3 e735bf67e1 Brace-initialise SettingValue
Clang didn't like it otherwise
9 months ago
AnyOldName3 a98a824f80 Config paths to info log, not verbose 9 months ago
AnyOldName3 59334f694d Don't forget to add path to UserRole 9 months ago
AnyOldName3 0e2f28156d Restore logging of openmw.cfg paths in launcher
Removed here https://gitlab.com/OpenMW/openmw/-/merge_requests/2650/diffs#be09c16519a3f26f4306b920c50e0e4215dffaee_329_328
9 months ago
AnyOldName3 0371791cce Break 10 months ago
AnyOldName3 b15f7857c0 currentDir.value is already canonicalised 10 months ago
AnyOldName3 f49d270c26 Don't throw away user-provided shadow map resolutions
Resolves https://gitlab.com/OpenMW/openmw/-/issues/7891

I think this is better than just adding 8192 as an allowed option as the vast majority of GPUs would be too slow given what we know about the cost if that setting (maybe that'll change if we get rid of the unconditional conditional discard I suspect is the cause of the slowness that's there for no good reason since the shadowsbin already moves most drawables to a known alpha-free stateset).
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
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
AnyOldName3 1af59c3a43 Tooltips for data-local and resources/vfs 10 months ago
AnyOldName3 f476301670 There's no such thing as the global data directory
That's what resources/vfs is for.
10 months ago
AnyOldName3 357bf3db61 Load all config files 10 months ago
psi29a 518f34c869 Merge branch 'bsa_archive' into 'master'
Cleanup and optimize BSA archives code

See merge request OpenMW/openmw!3876
10 months ago
Andrei Kortunov 3971abf5e6 Minor launcher improvements (feature 7843) 11 months ago
Andrei Kortunov 6f1710dee1 Fix viewing distance spinbox in the launcher (bug 7840) 11 months ago
elsid cc9f9b53ba
Convert BsaVersion to enum class 11 months ago
psi29a 1280345296 Merge branch 'copy_qtbase' into 'master'
Copy qtbase translations

See merge request OpenMW/openmw!3840
11 months ago
Andrei Kortunov 9a7b9572fd Deploy base Qt translations when needed 11 months ago