Commit Graph

53 Commits (69c4a68187d15719cb4e0277e35b2b30ba5b0f3f)

Author SHA1 Message Date
Max Yari 136be62146 Launcher checkbox
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
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
Alexei Kotov 593d4ff714 Move per-pixel lighting to the in-game settings 7 months ago
bwyunker 563f5b37a3 Merge branch 'master' into feature/pplLauncherSetting 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
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
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
Andrei Kortunov 3971abf5e6 Minor launcher improvements (feature 7843) 11 months ago
Epoch 6486f3f2cf Add option to use camera as sound listener 11 months ago
BPengu1n 4cdb76975a added force PPL checkbox 11 months ago
Andrei Kortunov a340b49cbc Enhance light settings tweaking 12 months ago
Andrei Kortunov 6cefe2c118 Rework launcher tabs 12 months ago
Mads Buvik Sandvei 9c93d907dc Settings page entry for the "player movement ignores animation" setting. 1 year ago
elsid a84e412a37
Use settings values for Sound settings 1 year ago
Andrei Kortunov d3d7a663c6 Move some objects instead of copying 1 year ago
elsid 86e5b94ef6
Convert setting value int to CollisionShapeType on initialization 2 years ago
elsid ec01d3cd0c
Use typed settings storage in the launcher settings page 2 years ago
elsid 121b75212f
Move SettingsPage settings related functions to anonymous namespace 2 years ago
Andrei Kortunov 902c48d1bb Rework launcher UI 2 years ago
elsid 843753da14
Remove unused includes 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
Project579 ca14fc00dc Added dedicated functions for conversions between QString and std::filesystem::path. 2 years ago
Project579 c226b35f1f Fix some remaining encoding errors due to std::filesystem transition. 2 years ago
Project579 a13709c510 Replace implicit convertions from std::filesystem::path to std::string with correctly converting functions. 2 years ago
Project579 e5c417c968 Make sure all paths are passed as std::filesystem::path instead of std::string where possible. 2 years ago
mpeco aa57d04b54 functor-based Qt signal-slot syntax launcher 2 years ago
Andrei Kortunov 43f552f48f Allow users to decide if they need to import bitmap fonts 2 years ago
jvoisin 8b9ed57348 Clean up Qt includes 3 years ago
Thunderforge 6ba23a028c Removing unused imports in the Launcher 4 years ago
psi29a b10a817f7e Merge branch 'useuless_launcher' into 'master'
Remove some useless includes from the launcher

See merge request OpenMW/openmw!775

(cherry picked from commit a84bd643b334eb6ac715681c497184ac22212ced)

d3fff8cf Remove some useless includes from the launcher
4 years ago
Brouilles 3889c0fa7b Add QTranslator support for launcher
Add French translation for launcher

Clean launcher main.cpp (appTranslator.load)

Remove french translation

Remove string translation file

Update AUTHORS.md
5 years ago
elsid 045ceeac11
Replace foreach macro by for-loop 5 years ago
Rohit Nirmal 396fba7fa9 Silence -Wreorder warnings, and remove -Wno-reorder. 10 years ago
dteviot cc815c63f1 Fix: no longer loose changes when run install wizard or iniimport. 10 years ago
dteviot 84762c4eb8 Progress bar at 0% shows no text. 10 years ago
dteviot 9708e8529f Removed unneeded include. 10 years ago
dteviot accc078e0e Morrowind.ini import progress bar. (Fixes #2344)
1. Show a "bouncing ball" Progress bar when importing from morrowind.ini.
2. Removed dialog that asks for content list name when import game files from morrowind.ini. Instead, name is time stamp.
3. Removed commented out code.
4. Additional bugfix. No longer create a empty content list when OpenMW.cfg has no content files.
10 years ago
Marc Zinnschlag ea21fbcbe6 Merge remote-tracking branch 'dteviot/master' 10 years ago
dteviot 9d9cabf40d Fix: Importer creates a single Content List (Fixes #2345) 10 years ago
scrawl e0d0997409 Rename omwlauncher -> openmw-launcher, mwiniimport -> openmw-iniimporter 10 years ago
dteviot 05b89be8bf Launcher sets content list to match values in openmw.cfg (Fixes #811)
I took the liberty to add accessor & mutator functions for classes ContentListsGameSettings and LauncherSettings , as existing code can reverse order of entries.
Also replaced some "magic strings" with named constants.
10 years ago
dteviot 063388e0eb Change "Profile" to "Content List" in user visible strings in Launcher. (Fixes #810) 10 years ago
scrawl 1e06f69d9e Remove the "browse to existing installation" button, now replaced by the wizard
Clean up some debug spam
10 years ago
pvdk 5af12d193a Cleaned up old wizard stuff from launcher 11 years ago
pvdk aa07a33906 Fixed most of the memory leaks and started working on correctly exiting the thread 11 years ago
pvdk af883991e2 Reimplemented the old new profile dialog behaviour 11 years ago
pvdk 30c3c3e245 Working on importing content lists in the launcher 11 years ago
pvdk f8bb797b8a Settings tab is fully functional now 11 years ago