Yury Stepovikov
80d2b289e7
Fix archive selection when switching profiles ( #7956 )
7 months ago
psi29a
6e0606b55b
Merge branch 'paralysisagainagain' into 'master'
...
Make paralysis cancel camera mode changes (#7997 )
Closes #7997
See merge request OpenMW/openmw!4122
7 months ago
psi29a
c8567e96fd
Merge branch 'itsover32767' into 'master'
...
Use more appropriate types in terrain storage
See merge request OpenMW/openmw!4125
7 months ago
psi29a
157a5a4489
Merge branch 'l10n' into 'master'
...
Many localization fixes
See merge request OpenMW/openmw!4108
7 months ago
Evil Eye
cdfd305ac3
Convert constant effect equipment slots to refnums
7 months ago
elsid
d6af9305ae
Exclude debug rendering from toggleworld
7 months ago
elsid
4b8897e33e
Use state sets without transparency support for recast mesh and agents paths
7 months ago
elsid
98d530d8cb
Share state sets for recast mesh tiles and actors paths
7 months ago
Evil Eye
6a10311ae5
Use more appropriate types in terrain storage
7 months ago
psi29a
d15be7a685
Merge branch 'fix-nearest-gui-options' into 'master'
...
Fix incorrect texture filtering GUI for nearest, allow to disable nearest from GUI
See merge request OpenMW/openmw!4114
7 months ago
psi29a
db27543ea1
Merge branch 'uniform_choice' into 'master'
...
Add choice widget type to postprocessing uniforms
See merge request OpenMW/openmw!3969
7 months ago
psi29a
b0aa19dc07
Merge branch 'msvc_crash_fix' into 'master'
...
Avoid MSVC crash in Visual Studio 17.10.0
See merge request OpenMW/openmw!4116
7 months ago
Alexei Kotov
ae7861abe4
Move paralysis god mode checks to CreatureStats
7 months ago
Sam Hellawell
d3c1aa6653
Fix incorrect texture filtering GUI for nearest, allow to disable nearest from GUI
7 months ago
psi29a
2be6116ef6
Merge branch 'fix_recastmesh' into 'master'
...
Limit number of cached tiles with recast meshes
See merge request OpenMW/openmw!4112
7 months ago
Andrei Kortunov
52de6177d1
Avoid MSVC crash in Visual Studio 17.10.0
7 months ago
Andrei Kortunov
6c83451b15
Improve operations widget formatting
7 months ago
Alexei Kotov
67c47b8603
Merge branch 'operation_fixes' into 'master'
...
Improve operation widget appearance
See merge request OpenMW/openmw!4110
7 months ago
Dave Corley
c87eaefd17
Merge branch 'theeditorisjustanotherengine' into 'master'
...
Use ESM::ReadersCache in the editor
Closes #7896
See merge request OpenMW/openmw!4111
8 months ago
psi29a
cd116ebe5f
Merge branch 'dark_mode' into 'master'
...
Support dark mode on Windows
Closes #7985
See merge request OpenMW/openmw!4101
8 months ago
Andrei Kortunov
bf682d51a6
Support dark mode on Windows (feature 7985)
8 months ago
psi29a
fd3ae0d42a
Merge branch 'dehardcode_music' into 'master'
...
Dehardcode music
See merge request OpenMW/openmw!3438
8 months ago
psi29a
f34994e4c8
Merge branch 'notexturetypeconfusion' into 'master'
...
Support defining the texture type with a state attribute (#6240 )
Closes #6240
See merge request OpenMW/openmw!4079
8 months ago
psi29a
651a7d569c
Merge branch 'activatebooks' into 'master'
...
Allow NPCs to activate in-world books for the player (part of #7959 )
See merge request OpenMW/openmw!4080
8 months ago
psi29a
d67bc1defd
Merge branch 'timeplayedhours' into 'master'
...
Improve Time Played formatting (#7971 )
Closes #7971
See merge request OpenMW/openmw!4107
8 months ago
Alexei Kotov
a3bfd3a337
Merge branch 'fix-infinite-fall-into-void' into 'master'
...
Fix infinite fall into void (#1415 )
Closes #1415
See merge request OpenMW/openmw!4100
8 months ago
Alexei Kotov
e96ebec2cf
Merge branch 'fix_lua_attack' into 'master'
...
Allow Actors to pick an attack type/animation when no AI applies (fix #7583 )
Closes #7583
See merge request OpenMW/openmw!4102
8 months ago
Alexei Kotov
03652104fe
Merge branch 'cleanup_preloading' into 'master'
...
Cleanup preloading code
See merge request OpenMW/openmw!4104
8 months ago
Evil Eye
77d554594f
Add ReadersCache::clear
8 months ago
Andrei Kortunov
5a1ec8ce87
Implement Lua-based music
8 months ago
elsid
45d62ee59f
Limit RecastMeshManager range by active cell grid
8 months ago
elsid
49db37ee29
Merge setWorldspace and updateBounds
8 months ago
elsid
9854d42d56
Use ESM::RefId for worldspace type
8 months ago
elsid
5d28164416
Remove recast mesh tiles outside active range
8 months ago
elsid
4f5bdbb4fb
Remove recastmesh group for absent tile
8 months ago
Evil Eye
5f0fe8097c
Use ESM::ReadersCache in the editor
8 months ago
Andrei Kortunov
3d699bd533
Improve operation widget appearance
8 months ago
Alexei Kotov
908f3891fb
Add helper method for texture type recovery
8 months ago
Alexei Kotov
84f4ba4ca1
Support defining the texture type with a state attribute ( #6240 )
...
Named textures are still supported for easier native format compatibility (and so that I don't have to edit the documentation)
8 months ago
Sam Hellawell
c1cd8bd900
Check collision before findInteriorPositionfindInteriorPos
8 months ago
elsid
6f70350f2f
Remove unused arguments from preload functions
8 months ago
elsid
7290ce81c0
Avoid allocating std::vector for a single element
8 months ago
elsid
ac891a5eb1
Use algorithms to check if PositionCellGrid(s) is/are contained in a range
8 months ago
Evil Eye
c3d02c0b41
Merge branch 'cleanup_dialogue_api' into 'master'
...
Cleanup dialogue API
See merge request OpenMW/openmw!4088
8 months ago
psi29a
42db5f4386
Merge branch 'fix_menu_timers' into 'master'
...
Process menu script timers
See merge request OpenMW/openmw!4103
8 months ago
Alexei Kotov
86ecf3fa0c
Make saved game dialog Health and Level lines localizable
...
Currently providing English, Russian and GMST-based localization.
8 months ago
Alexei Kotov
b8ee467d13
Allow NPCs to activate in-world books for the player (part of #7959 )
8 months ago
Alexei Kotov
6bf0d17aa2
Improve Time Played formatting ( #7971 )
8 months ago
Sam Hellawell
72dbad6fb4
Satisfy king clang
8 months ago
Sam Hellawell
6f7fff409c
Empty refid check
8 months ago
trav5
3f26a6c5a0
Merge branch 'master' of https://gitlab.com/OpenMW/openmw into fix7970-remove-removed-spells-on-rest
8 months ago
psi29a
4a3dbb5a80
Merge branch 'default_colors' into 'master'
...
Change default colors in script editor to support dark themes
See merge request OpenMW/openmw!4097
8 months ago
psi29a
991f887de2
Merge branch 'fix/7562-mouse-position' into 'master'
...
fix(openmw): MacOS Scaling Bugs
See merge request OpenMW/openmw!3963
8 months ago
Dylan
91a771f851
fix(openmw): MacOS Scaling Bugs
8 months ago
Sam Hellawell
64142dbd51
Merge remote-tracking branch 'origin/master' into fix-infinite-fall-into-void
...
# Conflicts:
# CHANGELOG.md
8 months ago
Sam Hellawell
e98c4f86d6
Remove period
8 months ago
elsid
d71b422615
Convert PositionCellGrid into a struct
8 months ago
Sam Hellawell
e1cfd46f87
Do not teleport if dest < lowest point or collision disabled, add debug log
8 months ago
Zackhasacat
20d26a9cda
Use random attack type
8 months ago
uramer
a662198903
Process menu script timers
8 months ago
Zackhasacat
0ad64cffdb
Add empty line back
8 months ago
Zackhasacat
b62b0a2f00
Check for world AI disable
8 months ago
Zackhasacat
1e05bb20bf
Allow Actors to pick an attack type/animation when no AI applies
8 months ago
Sam Hellawell
b43c7238e9
Fix infinite fall into void ( #1415 )
8 months ago
Alexei Kotov
195599c13c
Don't update head animation if the animation is paused ( #7980 )
8 months ago
Andrei Kortunov
dca452aaca
Change default colors in script editor to support dark themes
8 months ago
psi29a
2bed7450b6
Merge branch 'style_change' into 'master'
...
Minor changes in Qt styles handling
See merge request OpenMW/openmw!4093
8 months ago
trav5
238d68b691
Magic effects are updated once before applying when resting
...
Fixing #7970 .
When the player was resting, all their magic effects were applied throughout
the rest duration, including the effects for already removed spells, which
were applied once more before removal.
This commit calls an update before that applying, so that these removed
spells are executed and removed and only then the real duration-long
execution of remaining magic effects takes place.
8 months ago
Zackhasacat
c63c1e69cf
Lua: Add missing light flags, allow creating light record via world.createRecord
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
d5bbd75828
Make sure that Open button becomes focused after enabling
8 months ago
Andrei Kortunov
b0930158df
Use an auto raise mode to disable the border
8 months ago
Andrei Kortunov
e7d566eb2e
Remove border from status bar
8 months ago
Andrei Kortunov
abd4596cf8
Do not use style sheets to set font
8 months ago
psi29a
ea7555c012
Merge branch 'feature/pplLauncherSetting' into 'master'
...
added force PPL checkbox
See merge request OpenMW/openmw!3857
8 months ago
psi29a
919d1e366e
Merge branch 'staticcollections' into 'master'
...
Place static collections to the scene and fix item modification record loading
See merge request OpenMW/openmw!4085
8 months ago
psi29a
3e8442e749
Merge branch 'fix_build' into 'master'
...
Add missing include (#7967 )
Closes #7967
See merge request OpenMW/openmw!4087
8 months ago
elsid
35f5c8cd15
Add missing includes
8 months ago
jvoisin
c9890fbd4f
Merge branch 'fix_disabled_esm4' into 'master'
...
Make a check for disabled parent recursive
See merge request OpenMW/openmw!4084
8 months ago
elsid
26233e082d
Optimize iteration over dialogue records
8 months ago
Zackhasacat
0e1678b3b8
Merge branch 'mwdialogue-bindings' into 'master'
...
Add Lua bindings for ESM::Dialogue record stores to openmw.core
Closes #7964
See merge request OpenMW/openmw!4034
8 months ago
Alexei Kotov
29b25ffb26
Formatting
8 months ago
elsid
bad935ff34
Make a check for disabled parent recursive
8 months ago
Alexei Kotov
fd4d3b8a27
Fix item mod record loading
8 months ago
Alexei Kotov
7d979a2dfc
Place ESM4 static collections to the scene
8 months ago
psi29a
99ac6c40e5
Merge branch 'wizard_update' into 'master'
...
UI fixes for Wizard
See merge request OpenMW/openmw!4069
8 months ago
Alexei Kotov
b9069835b2
Merge branch 'scriptedit' into 'master'
...
Improve appearance of script editor in the OpenMW-CS
See merge request OpenMW/openmw!4076
8 months ago
Alexei Kotov
c95bb4ce59
Merge branch 'split_esm_headers' into 'master'
...
Split ESM headers
See merge request OpenMW/openmw!4071
8 months ago
trav
fc6695a918
Merge branch openmw:master into mwdialogue-bindings
8 months ago
Andrei Kortunov
b56c255be2
Improve appearance of script editor in the OpenMW-CS
8 months ago
psi29a
2e971ec2e3
Merge branch 'appropriateammunition' into 'master'
...
Adjust Russian appropriate ammunition setting label/description
See merge request OpenMW/openmw!4062
8 months ago
trav
512b7e46e5
Merge branch openmw:master into mwdialogue-bindings
8 months ago
elsid
f83d388391
Iterate over smaller container when removing blacklisted refs
8 months ago
elsid
a920ca9070
Report loading screens to osg stats
8 months ago
Alexei Kotov
95cef34477
Bump the minimum launcher width to 775
8 months ago
Hristos N. Triantafillou
63a27bbf99
Expose Wander option values to the Lua API ( #7916 )
8 months ago
elsid
01166b1f26
Split ESM headers
8 months ago
trav5
0e03b9bd32
ESM::Dialogue Lua bindings: filterActorGender returns string
8 months ago
trav5
9001ed1e2f
ESM::Dialogue Lua bindings: rank filters start from 1 and filterActorCell->filterPlayerCell
8 months ago
Andrei Kortunov
9252879f0f
UI fixes for Wizard
8 months ago
trav5
2cdfaa69b3
ESM::Dialogue Lua bindings: Fixes in speaker faction and DialogueRecordInfo docs [correction]
8 months ago
trav5
9743276332
ESM::Dialogue Lua bindings: Fixes in speaker faction and DialogueRecordInfo docs
8 months ago
psi29a
a57c350c08
Merge branch 'paint_svg' into 'master'
...
Change SVG icons color in the editor
See merge request OpenMW/openmw!4060
8 months ago
psi29a
bb89717886
Merge branch 'droppinglikeflies' into 'master'
...
Fix Drop behavior for creatures that don't have an inventory
See merge request OpenMW/openmw!4063
8 months ago
elsid
404940b6e0
Make sure proper number of cells is preloaded
...
Limit the number of exterior cells around a cell to be preloded based on current
and max cache size not just max cache size. Avoid doing break from inner loop
only.
Log when truncation happens but only once during process lifetime to warn a user.
8 months ago
elsid
2220868fa9
Preload surrounding exterior cells for the teleport door destination
...
When player teleports to the exterior cell, multiple cells are loaded not only
the target so better to have them preloaded too.
8 months ago
Alexei Kotov
cc4b2e5c58
Fix Drop behavior for creatures that don't have an inventory
8 months ago
psi29a
5b25435260
Merge branch 'fix_osg_stats_report' into 'master'
...
Report osg stats for frames with loading screens (#7737 )
Closes #7737
See merge request OpenMW/openmw!4053
8 months ago
psi29a
1e1fd28136
Merge branch 'fix_anim_state' into 'master'
...
Fix AnimState initialization
See merge request OpenMW/openmw!4061
8 months ago
psi29a
24fca82f2c
Merge branch 'faction_relations' into 'master'
...
Take in account faction reaction changes
See merge request OpenMW/openmw!4015
8 months ago
trav
c6807465f6
Merge branch openmw:master into mwdialogue-bindings
8 months ago
trav5
0aae0299af
ESM::Dialogue Lua bindings: Several post-review fixes
8 months ago
jvoisin
3e63b507d4
Merge branch 'fix_physics_crash' into 'master'
...
Fix crash in physics worker on removing object (#7950 )
Closes #7950
See merge request OpenMW/openmw!4057
8 months ago
trav5
421cf40508
ESM::Dialogue Lua bindings: ref in DialogueInfos
8 months ago
trav5
52e1f32c88
Important change, https://godbolt.org/z/YjjaaqYsc
8 months ago
trav5
897e43ae1e
Less complex "index" and "at"
8 months ago
trav5
b9358521cc
Better return values
8 months ago
elsid
9d2f132aa7
Fix AnimState initialization
...
Remove redundant user defined constructor and destructor, make sure all members
are properly initialized including mTime (new float does not initialize the
float).
8 months ago
trav5
4449b66846
Operators and retting rid of 'records'
8 months ago
elsid
41d5d3bf09
Report osg stats for all frames showing loading screens
8 months ago
Andrei Kortunov
070327a259
Change SVG color in the editor
8 months ago
trav
a0989c3481
Merge branch openmw:master into mwdialogue-bindings
8 months ago
elsid
5261f0c5cf
Modify PhysicsTaskScheduler::mCollisionObjects under lock
...
addCollisionObject is called from the main thread and removeCollisionObject is
usually called from the main thread and rarely from one of the physics worker
threads. This usually happens on cell unloading when object is already removed
from the scene but there is active simulation for it. Which possible because
it's a shared pointer.
There is getUserPointer function which only reads from the container but it's
called only when there is no active simulation so no lock is required.
8 months ago
elsid
acf1e51a28
Call getUserPointer only for not nullptr collision object
...
nullptr can't have user pointer anyway so it saves a lookup in the
unordered_map.
8 months ago
Benjamin Y
d62fb92b5b
Fixed capitalization
8 months ago
Benjamin Y
3146015a00
Fixed Label Capitalization
8 months ago
psi29a
ec8675ba6f
Merge branch 'scalable_launcher' into 'master'
...
Improve launcher appearance
See merge request OpenMW/openmw!4051
8 months ago
psi29a
3980bb15cc
Merge branch 'lua_controller_cursor' into 'master'
...
Add lua bindings for controller cursor mode
See merge request OpenMW/openmw!3623
8 months ago
trav
0986b103c5
Merge branch openmw:master into mwdialogue-bindings
8 months ago
elsid
b4976354a5
Use correct frame and stats for lua worker
...
When a loading screen appears during the frame processing, the frame number
returned by the viewer is incremented and the stats reporting goes into the
wrong frame. Pass frame number and stats object from the main thread to avoid
this.
8 months ago
trav5
223e315fdb
ESM::Dialogue Lua bindings quest change and docs
8 months ago
bwyunker
563f5b37a3
Merge branch 'master' into feature/pplLauncherSetting
8 months ago
psi29a
5f926bd129
Merge branch 'scalable_wizard' into 'master'
...
Use scalable icons for wizard
See merge request OpenMW/openmw!4050
8 months ago
psi29a
a20f456a5c
Merge branch 'mudcrabcanhazsoulgem' into 'master'
...
Allow running soulgem instructions on all actors (#7943 )
Closes #7943
See merge request OpenMW/openmw!4048
8 months ago
psi29a
a628c658a9
Merge branch 'lessgoofymaterialptr' into 'master'
...
Simplify material file pointer acrobatics
See merge request OpenMW/openmw!4049
8 months ago
Andrei Kortunov
5e8dc9cc03
Fix stub icon color
8 months ago
psi29a
6d0df9f686
Merge branch 'window_clamp' into 'master'
...
Do not take in account UI scaling factor twice
See merge request OpenMW/openmw!4046
8 months ago
Andrei Kortunov
d97838def1
Improve launcher appearance
8 months ago
Andrei Kortunov
0873eb6e62
Use scalable icons for wizard
8 months ago
psi29a
02cdeb6252
Merge branch 'scalable_editor' into 'master'
...
Treat editor icons as scalable
See merge request OpenMW/openmw!4042
8 months ago
psi29a
9662586947
Merge branch 'editor-crash' into 'master'
...
Clamp widgets coordinates to avoid editor crashes
See merge request OpenMW/openmw!4043
8 months ago
Alexei Kotov
78eda530ac
Simplify material file pointer acrobatics
8 months ago
Alexei Kotov
1c1df996be
Allow running soulgem instructions on all actors ( #7943 )
8 months ago
Andrei Kortunov
d10b0d503b
Do not take in account UI scaling factor twice
8 months ago
psi29a
023c0f7a46
Merge branch 'vfs_normalized_path_6' into 'master'
...
Use normalized path for music related functions
See merge request OpenMW/openmw!4038
8 months ago
Andrei Kortunov
1bb48bcef7
Treat editor icons as scalable
8 months ago
Andrei Kortunov
1909ec121b
Take in account faction reaction changes
8 months ago
Andrei Kortunov
2264d067fc
Clamp widgets coordinates to avoid crashes
9 months ago
elsid
a863899eb1
Use normalized path for SoundManager::streamMusic
9 months ago
trav5
277d830530
ESM::Dialogue Lua bindings 6
9 months ago
trav5
c1639e54b1
ESM::Dialogue Lua bindings 6
9 months ago
Alexei Kotov
6f9206428d
Don't ignore material files in NifLoader tests
9 months ago
Alexei Kotov
4e3d45db1b
Deduplicate file handling in niftest
9 months ago
Alexei Kotov
1d65aaee71
Formatting
9 months ago
Alexei Kotov
1a961f3021
Extremely early handling for BGSM/BGEM files
9 months ago
Alexei Kotov
4a03555d53
Add BGEM/BGSM file support to niftest
9 months ago
psi29a
2438fb4c98
Merge branch 'windows_qt6' into 'master'
...
Use Qt6 on Windows by default
See merge request OpenMW/openmw!4016
9 months ago
psi29a
ddd64c893a
Merge branch 'noyoudumbtoolyourflipingwrong' into 'master'
...
Don't flip the water normal map twice
See merge request OpenMW/openmw!4022
9 months ago
psi29a
f21453f0b7
Merge branch 'twoahahidles' into 'master'
...
Change wander package column names to match reality
See merge request OpenMW/openmw!4032
9 months ago
psi29a
29d6c76f93
Merge branch 'log_not_supported_agent_bounds_ptr' into 'master'
...
Log ptr for which agent bounds are not supported
See merge request OpenMW/openmw!4040
9 months ago
trav5
1e36b17679
ESM::Dialogue Lua bindings 5
9 months ago
AnyOldName3
04f1dc282b
Merge branch 'fix-osga-rotate-wildly' into 'master'
...
Fix OSGAnimation issues
See merge request OpenMW/openmw!3989
9 months ago
trav5
3bb7bf1a4a
ESM::Dialogue Lua bindings 4
9 months ago
trav5
d14fc1d28c
ESM::Dialogue Lua bindings 3
9 months ago
trav
807d78a0d0
Merge branch openmw:master into mwdialogue-bindings
9 months ago
elsid
5b0eb0b5b0
Log ptr for which agent bounds are not supported
...
To make it easier to find what NPC or mod makes this happen.
9 months ago
elsid
40cc16046b
Use normalized path for sound decoder
9 months ago
elsid
e11a5a4352
Use normalized path for SoundManager::playPlaylist
9 months ago
elsid
38b005cda6
Use normalized path to store playlist music files
9 months ago
elsid
82931059fd
Make NormalizedView constructor from const char* explicit
9 months ago
Benjamin Y
8cc512cbc9
Convention fixes and remove confusing info
9 months ago
psi29a
3600c6c7c7
Merge branch 'filterview' into 'master'
...
Validate INFO filters when loading the record
See merge request OpenMW/openmw!4003
9 months ago
psi29a
b91ff634e4
Merge branch 'navmesh_queue' into 'master'
...
Optimize queue for navmesh async jobs
See merge request OpenMW/openmw!4025
9 months ago
Sam Hellawell
d09f32d9e4
Yes sir clang
9 months ago
Sam Hellawell
2653b76db9
getTranslation/getTransformForNode refactor, unit tests
9 months ago
Andrei Kortunov
d06e8e2c24
Use Qt6 on Windows by default
9 months ago
psi29a
e1be24e7fc
Merge branch 'svg_icons' into 'master'
...
Rework editor icons
See merge request OpenMW/openmw!4024
9 months ago
jvoisin
b574155a0b
Merge branch 'av_raii' into 'master'
...
Use RAII for ffmpeg pointers
See merge request OpenMW/openmw!4030
9 months ago
psi29a
e633d2bfd4
Merge branch 'unsubscribe' into 'master'
...
Deregister the player before loading a new one
See merge request OpenMW/openmw!4018
9 months ago
trav5
34aec9caf9
ESM::Dialogue Lua bindings 2
9 months ago
trav5
c622cfc245
ESM::Dialogue Lua bindings 1
9 months ago
elsid
f184d8f390
Use RAII for AVIOContext, AVFormatContext, AVCodecContext and AVFrame pointers
9 months ago
Evil Eye
963035fe47
Change wander package column names to match reality
9 months ago
Evil Eye
b016f414d5
Add INFO record unit test
9 months ago
Evil Eye
0fa4b0137a
Merge branch 'mattengarde' into 'master'
...
Improve hit detection emulation (#7900 )
Closes #7900
See merge request OpenMW/openmw!3984
9 months ago
Andrei Kortunov
1ad9e5f9e8
Rework editor icons
9 months ago
elsid
910c88325a
Add a setting to wait for all navmesh jobs on exit
9 months ago
elsid
50f4471750
Use R-tree for dynamic priority of navmesh async job
9 months ago
elsid
d6f3d34f2f
Remove tiles present on navmesh but outside desired area
9 months ago
Alexei Kotov
86b6eee62b
Improve hit detection emulation ( #7900 )
9 months ago
Alexei Kotov
55c5f2112b
Merge branch 'alignyorefs' into 'master'
...
Reorder RefData members to decrease its size
See merge request OpenMW/openmw!4020
9 months ago
Alexei Kotov
f880ada633
Don't flip the water normal map twice
9 months ago
Evil Eye
6e79064a57
Fix editor oddities
9 months ago
psi29a
bdbbe34afc
Merge branch 'pushthefatman' into 'master'
...
Animation regression fixes
See merge request OpenMW/openmw!4001
9 months ago
Evil Eye
a4625ea784
Deduplicate dialogue filter parsing
9 months ago
Evil Eye
cb92d34ddd
Reorder RefData members to decrease its size
9 months ago
Evil Eye
fb4edda45d
Validate INFO filters when loading the record
9 months ago
Sam Hellawell
c3420ed306
Fix build
9 months ago
Sam Hellawell
8c2c66d59e
.nif check, matrix mult feedback, auto usage, reuse NodeMap typedef
9 months ago
Alexei Kotov
8751203849
Don't run target-specific spell infliction code when there's no target ( #7926 )
9 months ago
Evil Eye
2f6acbd7da
Deregister the player before loading a new one
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
psi29a
49b974763f
Merge branch 'imthefactornow' into 'master'
...
Don't show nameless higher ranks
Closes #7923
See merge request OpenMW/openmw!4014
9 months ago
Zackhasacat
4018b1ae59
Remove hidden functions
9 months ago
psi29a
3942d7fb7e
Merge branch 'lua_crime_bounty' into 'master'
...
Lua: Add setCrimeLevel to types.Player
See merge request OpenMW/openmw!4008
9 months ago
Evil Eye
1ed82662ee
Don't show nameless higher ranks
9 months ago
AnyOldName3
0d547c5438
Resolve merge conflicts from https://gitlab.com/OpenMW/openmw/-/merge_requests/3893
9 months ago
Andrei Kortunov
e8c3c8115a
Capitalize captions in Launcher and Wizard
9 months ago
Zackhasacat
15c6e90bdb
Allow shoulder buttons to work when text input is active
9 months ago
Zackhasacat
da4e6b38a8
Clang format
9 months ago
Zackhasacat
a29be8909d
Add bindings to select the next menu element
9 months ago
Zackhasacat
6491bb4910
Merge branch 'master' of gitlab.com:openmw/openmw into lua_controller_cursor
9 months ago
Zackhasacat
e549490bb1
record crime ID
9 months ago
Zackhasacat
4ca13a9404
Verify the player
9 months ago
Zackhasacat
5856bc8a0e
Add setCrimeLevel
9 months ago
Sam Hellawell
36cccef606
Fix formatting
9 months ago
psi29a
8e1d790919
Merge branch 'widgets_rework' into 'master'
...
Make widgets more vanilla-friendly
Closes #7875 and #7914
See merge request OpenMW/openmw!3941
9 months ago
Sam Hellawell
a51d560174
Move bone rename logic to ColladaDescriptionVisitor, undo formatting/refactoring
9 months ago
Benjamin Y
76199e1fb2
Update settingspage.ui with description for PPL
9 months ago
Alexei Kotov
f2e0129436
Convert water/ripple defines to camelCase
9 months ago
Sam Hellawell
ceabeab0fd
Fix RotateController not updating skeleton
9 months ago
Sam Hellawell
2288a691d2
Replace osgAnimation bone underscore naming at load time, map bone instances, reset root bone transform each frame
9 months ago
Alexei Kotov
3380b806de
Merge branch 'haggleraven' into 'master'
...
Remove superfluous Trading class
See merge request OpenMW/openmw!3996
9 months ago
Alexei Kotov
dfdd7aa684
Always queue movement even when there's none
9 months ago
Alexei Kotov
5e99545b9c
Don't discard stagger/KO animation movement
9 months ago
uramer
3b930e4471
Restore !613
9 months ago
Andrei Kortunov
1b544b93d2
Do not allow to move resizable windows outside of game window
9 months ago
Andrei Kortunov
939760007e
Resize console window on resolution change, not reset it
9 months ago
psi29a
99fa1278d2
Merge branch 'codenames' into 'master'
...
Make binding names layout-independent
See merge request OpenMW/openmw!3993
9 months ago
psi29a
b83ffdc357
Merge branch 'i-have-value-too' into 'master'
...
FIX(CS): Re-add gold value column for objects
See merge request OpenMW/openmw!3991
9 months ago
psi29a
46bf6c12b6
Merge branch 'equipunequipwhatsthedifference' into 'master'
...
Allow weapon equip/unequip animations to intersect (#7886 )
Closes #7886
See merge request OpenMW/openmw!3951
9 months ago
psi29a
a7c6297240
Merge branch 'sorewaai' into 'master'
...
Expose AI stats to Lua
Closes #7860
See merge request OpenMW/openmw!3997
9 months ago
Dave Corley
7a291e5025
FIX(CS): Re-add gold value column for objects
9 months ago
Evil Eye
cb357997c9
Copy DIAL type to INFO when saving
9 months ago
psi29a
3da6b4f529
Merge branch 'more_stats' into 'master'
...
Report more stats in F4
See merge request OpenMW/openmw!3956
9 months ago
Evil Eye
d08e47bc40
Expose AI stats to Lua
9 months ago
Evil Eye
f70bf42a9e
Remove superfluous Trading class
9 months ago
elsid
215404e126
Report more stats from caches
9 months ago
elsid
ae41ebfc83
Report CellPreloader stats
9 months ago
elsid
9a24e77d3f
Show F4 stats in pages
9 months ago
Andrei Kortunov
3d83585c46
Make binding names layout-independent (bug 7908)
9 months ago
Alexei Kotov
76105cc2d1
Make sunlight scattering and wobbly shores optional
9 months ago
Alexei Kotov
359600db83
Merge branch 'im-not-taking-you-anywhere' into 'master'
...
Fix #7901 , make teleport fields non-interactive when mTeleport is false
Closes #7901
See merge request OpenMW/openmw!3986
9 months ago
psi29a
2056da358d
Merge branch 'opencs-projectile-speed' into 'master'
...
OpenMW-CS: Editing and verifying of projectile speed for magic effects
See merge request OpenMW/openmw!3939
9 months ago
Dave Corley
b8a17b16f7
Cleanup(CS): Make TeleportColumn take flags as argument
9 months ago
Dave Corley
4e59246d2d
Fix(columnimp.hpp): Use QVariant() constructor instead of UserType to
...
hide unused subs from view and make a member variable to tell if the
column is used for a door or a regular position
9 months ago
Dave Corley
1360eeb839
Fix #7901 , make teleport fields non-interactive when mTeleport is false
9 months ago
AnyOldName3
47ef2d018f
Always set userrole for archive list
9 months ago
psi29a
e8038d353f
Merge branch 'esmstuff' into 'master'
...
Use more decomposition, string_view, and implicit sizes in ESM code
See merge request OpenMW/openmw!3975
9 months ago
psi29a
3fcf3aca77
Merge branch 'modalsettingsmodal' into 'master'
...
Reimplement the Settings window as a normal window (#7845 , #7870 )
Closes #7845 and #7870
See merge request OpenMW/openmw!3895
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
Sam Hellawell
e87c39eeb3
OpenCS: Editing and verifying of projectile speed for magic effects
9 months ago
psi29a
f7f7502d60
Merge branch 'i-said-it-was-unlocked-damn-you' into 'master'
...
Fix(CS): Actually allow unlocking doors ( #7899 )
Closes #7899
See merge request OpenMW/openmw!3982
9 months ago
Dave Corley
2e68786331
Fix(CS): Actually allow unlocking doors ( #7899 )
9 months ago
psi29a
b70f1d86c5
Merge branch 'fix-sheathing-non-nifs' into 'master'
...
Fix weapon and shield sheathing for non-nif meshes
See merge request OpenMW/openmw!3985
9 months ago
AnyOldName3
59334f694d
Don't forget to add path to UserRole
9 months ago
psi29a
58632218fb
Merge branch 'you-can-only-grow-up-to-be-so-big' into 'master'
...
FIX(CS): Limit scale for references to TES3 values (Close #7898 )
Closes #7898
See merge request OpenMW/openmw!3981
9 months ago
psi29a
c8560c63eb
Merge branch 'regressionfixesofdubiousauthenticity' into 'master'
...
Rendering regression fixes of dubious authenticity (#7587 , #7720 )
Closes #7587 and #7720
See merge request OpenMW/openmw!3979
9 months ago
Sam Hellawell
7897ff7ac9
Fix weapon sheathing for non-nif meshes
9 months ago
psi29a
012d10703f
Merge branch 'spellcast-refactor' into 'master'
...
Spellcast related Lua API + spellcasting/activespell refactor
See merge request OpenMW/openmw!3922
9 months ago
Mads Buvik Sandvei
320d8ef014
Spellcast related Lua API + spellcasting/activespell refactor
9 months ago
psi29a
e62089d102
Merge branch 'lua_records_fix' into 'master'
...
Lua: Standardize record stores
See merge request OpenMW/openmw!3523
9 months ago
Zackhasacat
6d529835ae
Lua: Standardize record stores
9 months ago
psi29a
628480357b
Merge branch 'soumd_followup' into 'master'
...
Modify sound API permissions
See merge request OpenMW/openmw!3952
9 months ago
psi29a
ef5314c247
Merge branch 'herebedragons' into 'master'
...
Exterior cell naming corrections
See merge request OpenMW/openmw!3976
9 months ago
psi29a
666d2835ab
Merge branch 'mgefverify' into 'master'
...
Use the right ID for magic effect verifier messages (#7894 )
Closes #7894
See merge request OpenMW/openmw!3971
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
Dave Corley
c59d097ab2
FIX( #7898 ): Limit scale for references TES3 values
9 months ago
Alexei Kotov
d7257e056c
Merge branch 'remove-unused-regionmap-constructor' into 'master'
...
Minor cleanup: Remove unused regionmap CellDescription constructor
See merge request OpenMW/openmw!3973
9 months ago
Alexei Kotov
ba69e1737c
Use the right shader for 360-degree screenshots
...
Doesn't fix #7720
9 months ago
Alexei Kotov
0f7b4fc6e6
Consistently avoid null pointer dereferencing in postprocessor ( #7587 )
9 months ago
Alexei Kotov
38eb741bfd
Merge branch 'fix_global_iteration' into 'master'
...
Lua: Fix Global Variable Iteration
See merge request OpenMW/openmw!3835
9 months ago
jvoisin
79a62b3ad3
Merge branch 'enable_normals_for_all' into 'master'
...
Restructure colormasks at higher level
See merge request OpenMW/openmw!3970
9 months ago
Cody Glassman
a4dd9224df
Restructure colormasks at higher level
9 months ago
Alexei Kotov
24913687cd
Exterior cell naming corrections
...
Use the ID for anonymous regions
Try to use the name of the worldspace for ESM4
9 months ago
Evil Eye
5a0aed3a78
Use more decomposition, string_view, and implicit sizes in ESM code
9 months ago
Evil Eye
781e797810
Merge branch 'instanceselectionmode' into 'master'
...
Fix instance selection mode destruction (#7447 )
Closes #7447
See merge request OpenMW/openmw!3945
9 months ago
Evil Eye
bf708acfac
Merge branch 'goddamnit-there-are-more' into 'master'
...
Even more MSVC-specific warnings that evaded detection in CI
See merge request OpenMW/openmw!3968
9 months ago
Evil Eye
c92e63aaf2
Merge branch 'cleanup_includes' into 'master'
...
Cleanup includes
See merge request OpenMW/openmw!3916
9 months ago
Alexei Kotov
63276e0f1f
Merge branch 'avoid_copy' into 'master'
...
Follow-up for YAML API
See merge request OpenMW/openmw!3961
9 months ago
AnyOldName3
7c85755950
Warning that doesn't fire with MSVC 2022
...
Hopefully this fixes it.
I've only tried MSVC 2022 locally, so can't verify this fix.
9 months ago
AnyOldName3
1aff88e6a3
Even more warning fixes
9 months ago
Zackhasacat
d6241dd1c5
Add back new_index
9 months ago
Sam Hellawell
c20a23b694
Remove unused regionmap CellDescription constructor
10 months ago
Alexei Kotov
79039f88df
Use the right ID for magic effect verifier messages ( #7894 )
10 months ago
Cody Glassman
098396822f
add choice widget type to postprocessing uniforms
10 months ago
AnyOldName3
da8150e2e4
Even more MSVC-specific warnings that evaded detection in CI
10 months ago
elsid
37b695a0cf
Cleanup includes
10 months ago
psi29a
82bc6674dc
Merge branch 'that-one-issue-sophie-keeps-nagging-about' into 'master'
...
Don't throw away user-provided shadow map resolutions
Closes #7891
See merge request OpenMW/openmw!3965
10 months ago
psi29a
af9f1b54da
Merge branch 'lost-warnings' into 'master'
...
Fixes for a whole bunch of warnings
See merge request OpenMW/openmw!3950
10 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
Alexei Kotov
974415addf
Allow weapon equip/unequip animations to intersect ( #7886 )
10 months ago
psi29a
7dcd127295
Merge branch 'openmw-cs-regionmap-improvements' into 'master'
...
OpenMW CS: Minor region map fixes and improvements
See merge request OpenMW/openmw!3959
10 months ago
Andrei Kortunov
2d3a8ca0fc
Do not use an inner namespace
10 months ago
Andrei Kortunov
2523afe9c2
Use namespace instead of static class
10 months ago
Andrei Kortunov
b657cb2e4c
Simplify code
10 months ago
Andrei Kortunov
8037ad7f00
Remove unused includes
10 months ago
Sam Hellawell
a62da201e5
check for land index not -1, fix warning
...
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
10 months ago
Sam Hellawell
5fca45565c
Feature: display different brush for land vs water
10 months ago
Sam Hellawell
aa0c9fb4cb
Fix: cannot drag region into map, map columns are rectangular
10 months ago
elsid
9ae7b542c6
Fix warning: -Wmaybe-uninitialized
...
In file included from apps/opencs/model/world/pathgrid.hpp:7,
from apps/opencs/model/world/idcollection.hpp:15,
from apps/opencs/model/world/idcollection.cpp:1:
In constructor ‘constexpr ESM::Pathgrid::Pathgrid(ESM::Pathgrid&&)’,
inlined from ‘constexpr CSMWorld::Pathgrid::Pathgrid(CSMWorld::Pathgrid&&)’ at apps/opencs/model/world/pathgrid.hpp:24:12,
inlined from ‘constexpr CSMWorld::Record<CSMWorld::Pathgrid>::Record(CSMWorld::Record<CSMWorld::Pathgrid>&&)’ at apps/opencs/model/world/record.hpp:39:12,
inlined from ‘std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = CSMWorld::Record<CSMWorld::Pathgrid>; _Args = {CSMWorld::Record<CSMWorld::Pathgrid>}]’ at /usr/include/c++/13.2.1/bits/unique_ptr.h:1070:30,
inlined from ‘std::unique_ptr<CSMWorld::RecordBase> CSMWorld::Record<ESXRecordT>::modifiedCopy() const [with ESXRecordT = CSMWorld::Pathgrid]’ at apps/opencs/model/world/record.hpp:92:116:
components/esm3/loadpgrd.hpp:19:12: warning: ‘<unnamed>.CSMWorld::Record<CSMWorld::Pathgrid>::mBase.CSMWorld::Pathgrid::<unnamed>.ESM::Pathgrid::mData’ may be used uninitialized [-Wmaybe-uninitialized]
19 | struct Pathgrid
| ^~~~~~~~
In file included from apps/opencs/model/world/idcollection.hpp:8:
apps/opencs/model/world/record.hpp: In member function ‘std::unique_ptr<CSMWorld::RecordBase> CSMWorld::Record<ESXRecordT>::modifiedCopy() const [with ESXRecordT = CSMWorld::Pathgrid]’:
apps/opencs/model/world/record.hpp:92:53: note: ‘<anonymous>’ declared here
92 | return std::make_unique<Record<ESXRecordT>>(Record<ESXRecordT>(State_ModifiedOnly, nullptr, &(this->get())));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 months ago
elsid
9b412bc802
Fix benchmark warning: -Wdeprecated-declarations
...
Example:
apps/benchmarks/settings/access.cpp: In function ‘void {anonymous}::localStatic(benchmark::State&)’:
apps/benchmarks/settings/access.cpp:43:37: warning: ‘typename std::enable_if<(std::is_trivially_copyable<_Tp>::value && (sizeof (Tp) <= sizeof (Tp*)))>::type benchmark::DoNotOptimize(const Tp&) [with Tp = float; typename std::enable_if<(std::is_trivially_copyable<_Tp>::value && (sizeof (Tp) <= sizeof (Tp*)))>::type = void]’ is deprecated: The const-ref version of this method can permit undesired compiler optimizations in benchmarks [-Wdeprecated-declarations]
43 | benchmark::DoNotOptimize(v);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~
10 months ago
AnyOldName3
ddb2c15bc9
Review
10 months ago
Andrei Kortunov
009ccca978
Modify sound API permissions
10 months ago
AnyOldName3
b5f61a119a
min
10 months ago
psi29a
090e57b27c
Merge branch 'esm3structs' into 'master'
...
Replace fixed size writeHNT calls with decomposition
See merge request OpenMW/openmw!3914
10 months ago
psi29a
d746918563
Merge branch 'yaml_parse' into 'master'
...
Load YAML files via Lua
Closes #7590
See merge request OpenMW/openmw!3924
10 months ago
AnyOldName3
dd18e17c97
And now Clang's noticed questionable type conversions
10 months ago
AnyOldName3
9638fbabb4
https://www.youtube.com/watch?v=2_6U9gkQeqY
10 months ago
AnyOldName3
ff3ffa13b6
Auto format
10 months ago
AnyOldName3
28131fd62b
Fixes for a whole bunch of warnings
...
These warnings were always enabled, but we didn't see them due to https://gitlab.com/OpenMW/openmw/-/issues/7882 .
I do not fully understand the cause of 7822 as I can't repro it in a minimal CMake project.
Some of these fixes are thought through.
Some are sensible best guesses.
Some are kind of a stab in the dark as I don't know whether there was a
possible bug the warning was telling me about that I've done nothing to
help by introducing a static_cast.
Nearly all of these warnings were about some kind of narrowing
conversion, so I'm not sure why they weren't firing with GCC and Clang,
which have -Wall -Wextra -pedantic set, which should imply -Wnarrowing,
and they can't have been affected by 7882.
There were also some warnings being triggered from Boost code.
The vast majority of library headers that do questionable things weren't
firing warnings off, but for some reason, /external:I wasn't putting
these Boost headers into external mode.
We need these warnings dealt with one way or another so we can switch
the default Windows CI from MSBuild (which doesn't do ccache) to Ninja
(which does).
I have the necessary magic for that on a branch, but the branch won't
build because of these warnings.
10 months ago
Andrei Kortunov
715efe892f
Load YAML files via Lua (feature 7590)
10 months ago
Alexei Kotov
288a911ece
Merge branch 'vfs_normalized_path_5' into 'master'
...
Use normalized path for NifFileManager::get
See merge request OpenMW/openmw!3944
10 months ago
Evil Eye
0fdc432eb2
Format probability
10 months ago
Evil Eye
c0578613af
Remove superfluous members
10 months ago
Evil Eye
1d69d38081
Add an actual probability column
10 months ago
Evil Eye
f9da2b6b26
Roll for each region sound
10 months ago
Zackhasacat
59a25291f8
Fix errors
10 months ago
Zackhasacat
8b75932f50
Merge branch 'master' of gitlab.com:openmw/openmw into fix_global_iteration
10 months ago
psi29a
df1be7102f
Merge branch 'resolution_follow_up' into 'master'
...
Partially revert 5dcac4c48f
See merge request OpenMW/openmw!3940
10 months ago
Alexei Kotov
cdbe6adfc3
Fix instance selection mode destruction ( #7447 )
10 months ago
elsid
a98ce7f76a
Replace std::filesystem::path by std::string_view in Files::getHash argument
10 months ago
elsid
79b73e45a1
Replace std::filesystem::path by std::string and std::string_view in nif code
...
It's used only for error reporting.
10 months ago
Alexei Kotov
6232b4f9e8
Reimplement the Settings window as a normal window ( #7845 , #7870 )
10 months ago
psi29a
3cb8d05fe5
Merge branch 'vfs_normalized_path_4' into 'master'
...
Use VFS::Path::Normalized in few more places
See merge request OpenMW/openmw!3934
10 months ago
Andrei Kortunov
f7e5ef74c6
Partially revert 5dcac4c48f
10 months ago
Alexei Kotov
30f314025a
Log whether shaders or FFP are used for rendering
10 months ago
psi29a
6f9ceff3f3
Merge branch 'windows_build' into 'master'
...
Add option to disable precompiled headers
See merge request OpenMW/openmw!3933
10 months ago
psi29a
ef8228f2f3
Merge branch 'fix/hardcoded-weather-meshes' into 'master'
...
Fix: hardcoded weather meshes, use settings instead
See merge request OpenMW/openmw!3880
10 months ago
psi29a
c3a44ca74a
Merge branch 'mapped' into 'master'
...
Track map position using MWWorld::Cell
See merge request OpenMW/openmw!3932
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
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
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
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
uramer
9ae61f1932
Fix child UI Elements created in the same frame as parent
10 months ago
AnyOldName3
7f1a6a8187
Fix file that's not used on Windows
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
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
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