jvoisin
95764a9e0a
Merge branch 'rollingredienteffect' into 'master'
...
Fix non-player ingredient casting
See merge request OpenMW/openmw!4480
2024-12-16 16:36:35 +00:00
Alexei Kotov
81f2402e66
Lua: Expose capacity for creatures as well
2024-12-15 03:20:34 +03:00
Alexei Kotov
14c6ecd889
Fix non-player ingredient casting
...
Always use the first effect
Don't show a message
2024-12-14 15:39:58 +03:00
psi29a
51579a8c5d
Merge branch 'dependenceday' into 'master'
...
Fix validating ESM3 file dependencies (#8252 )
Closes #8252
See merge request OpenMW/openmw!4476
2024-12-08 10:10:40 +00:00
elsid
cb654a0149
Use navigator in world destructor only when initialized
...
If world initialization fails, mNavigator may be nullptr.
2024-12-07 14:31:54 +01:00
Alexei Kotov
11761c5a1d
Fix validating ESM3 file dependencies ( #8252 )
2024-12-07 09:15:04 +03:00
Evil Eye
fb02ba174d
Remove period and slash from keyboard navigation and inject tabs when using a controller
2024-12-05 17:23:58 +01:00
Alexei Kotov
b285e2f85f
Merge branch 'fix_findpath_use_after_free' into 'master'
...
Fix findPath returning a raw vector
Closes #8238
See merge request OpenMW/openmw!4470
2024-12-03 09:24:45 +00:00
uramer
1675c74036
Fix findPath returning a raw vector
2024-12-02 21:22:29 +01:00
Alexei Kotov
23a46a1bf9
Merge branch 'vfs_normalized_path_22' into 'master'
...
Use normalized path for KeyframeManager::get (#8138 )
See merge request OpenMW/openmw!4463
2024-12-01 21:45:01 +00:00
Dave Corley
82d68ec9cf
FIX: Correct data directory iteration order in CS
2024-11-28 18:19:12 -06:00
psi29a
064e3c7c2e
Merge branch 'useniftestinstead' into 'master'
...
Remove write nif debug log setting
See merge request OpenMW/openmw!4468
2024-11-28 18:05:22 +00:00
psi29a
7b992f98e7
Merge branch 'poisoncrank' into 'master'
...
Save interior fog bounds center to preserve rotation when expanding them
Closes #7013
See merge request OpenMW/openmw!4466
2024-11-27 08:18:29 +00:00
Alexei Kotov
95c38bacc7
Remove write nif debug log setting
2024-11-26 21:31:25 +03:00
Evil Eye
4b93278045
Pad the interior grid
2024-11-25 16:49:59 +01:00
jvoisin
b555c980da
Merge branch 'deepasapuddle' into 'master'
...
Change the default depth test mode from less-than to less-than-or-equal-to (#7040 )
Closes #7040
See merge request OpenMW/openmw!4464
2024-11-25 01:41:17 +00:00
Evil Eye
0469ecd3c6
Reserve mFogTextures
2024-11-24 20:45:29 +01:00
Evil Eye
d57d5d9247
Save interior fog bounds center to preserve rotation when expanding them
2024-11-24 11:49:33 +01:00
Alexei Kotov
9351a0e542
Merge branch 'callbackhell' into 'master'
...
Use the actual callback function instead of mocking it
Closes #8183
See merge request OpenMW/openmw!4452
2024-11-24 00:24:34 +00:00
psi29a
97522c22ae
Merge branch 'attackanimationsareforfalsegods' into 'master'
...
Improve vanilla consistency of weapon animations for non-bipeds (#8223 , #8237 )
Closes #8237 and #8223
See merge request OpenMW/openmw!4462
2024-11-23 19:31:29 +00:00
psi29a
cb8e2809ac
Merge branch 'help-i-dropped-it-into-oblivion' into 'master'
...
Task #8141 : Merge instance drop modes
See merge request OpenMW/openmw!4350
2024-11-23 19:31:00 +00:00
psi29a
fe15803239
Merge branch 'coc' into 'master'
...
Use a grid based on computed bounds for interiors
See merge request OpenMW/openmw!4459
2024-11-23 19:29:22 +00:00
Alexei Kotov
5433ecf861
Change default depth test mode to <= ( #7040 )
2024-11-23 08:32:25 +03:00
Dave Corley
1e6ed3eb70
CLEANUP: Define the tooltip text as constexpr
2024-11-22 14:32:35 -06:00
Dave Corley
44d5939572
FEAT(InstanceMode): Add a tooltip for InstanceMode in the same style as that of PathgridMode
2024-11-22 04:24:33 -06:00
Dave Corley
fb9b191027
CLEANUP(instancemode): Always drop everything the same way
2024-11-22 04:24:30 -06:00
Dave Corley
0fea0868ed
CLEANUP(values.hpp): Unbind camera speed mode (later rebind to wheel?)
2024-11-22 04:23:55 -06:00
psi29a
cf3badb8a4
Merge branch 'data_files_menu' into 'master'
...
Implement a context menu for data directories page
Closes #8130
See merge request OpenMW/openmw!4458
2024-11-21 11:52:16 +00:00
elsid
a550a8af36
Use normalized path for KeyframeManager::get
2024-11-20 21:29:36 +01:00
Andrei Kortunov
bd59247270
Avoid trailing line breaks
2024-11-20 09:04:22 +04:00
Alexei Kotov
17203c5071
Merge branch 'forceunequip' into 'master'
...
Force stop weapon animation before unequipping
Closes #8230
See merge request OpenMW/openmw!4460
2024-11-19 22:49:40 +00:00
Andrei Kortunov
f0543c5500
Implement a context menu for data directories page (feature 8130)
2024-11-19 14:58:31 +04:00
Alexei Kotov
b57f4881a9
Improve vanilla consistency of weapon animations for non-bipeds ( #8223 , #8237 )
...
Disable spellcast equip/unequip
Prioritize movement animations over weapon animations
2024-11-19 05:18:59 +03:00
elsid
6cd76fb8a7
Use normalized path for Class::getCorrectedModel
2024-11-18 21:21:34 +01:00
elsid
630e815f66
Forbid to use toNormalized for normalized path
2024-11-18 21:21:33 +01:00
Evil Eye
d3db436c2e
Force stop weapon animation before unequipping
2024-11-18 20:07:14 +01:00
Evil Eye
c31c43bed5
Adjust canvas size when switching cells
2024-11-18 17:11:05 +01:00
AnyOldName3
4a911a647d
Merge branch 'activewetshoes' into 'master'
...
Preserve node level data variance when merging objects in the active grid
Closes #8231
See merge request OpenMW/openmw!4456
2024-11-18 14:12:52 +00:00
Evil Eye
fc3a1833ee
Use a grid based on computed bounds for interiors
...
Combine the cell radius (mCellDistance) and diameter (mNumCells)
members into an offset IntRect (mGrid.) The grid is centered on the
player's current cell in exteriors (with each grid square mapping to a
cell.) In interiors, the grid is centered on the cell's computed bounds.
The number of squares remains based on view distance in exteriors, but
can now stretch to encompass arbitrarily large interiors, mostly preventing
the player from walking off the map grid (interiors exceeding their
computed bounds during gameplay still cause issues.)
2024-11-17 21:14:14 +01:00
Evil Eye
326544ade5
Pack LocalMapBase members
2024-11-17 13:47:55 +01:00
psi29a
79dbbceb10
Merge branch 'vfs_normalized_path_20' into 'master'
...
Use normalized path for correctMeshPath and getLODMeshName (#8138 )
See merge request OpenMW/openmw!4455
2024-11-17 12:30:15 +00:00
elsid
22817dd6a1
Use normalized path for correctMeshPath
2024-11-16 12:49:11 +01:00
Evil Eye
0a07b1eb3a
Preserve node level data variance when merging objects in the active grid
2024-11-16 11:56:01 +01:00
elsid
36198e9413
Use normalized path for getLODMeshName
2024-11-15 01:05:36 +01:00
Andrei Kortunov
2522fe9517
Remove dead code
2024-11-14 22:16:05 +04:00
Evil Eye
d6e300ba25
Make GetHealthGetRatio return 1 for actors with a max health of 0
2024-11-12 21:29:18 +01:00
Evil Eye
5dbe86e9ee
Use the actual callback function instead of mocking it
2024-11-12 17:22:45 +01:00
Pi03k
306982cdd1
Move from qt_wrap_ui to AUTOUIC for opencs
...
Set opencs target properties in appropriate section
Use forward declaration for Ui::FileDialog
(#7348 )
2024-11-10 20:38:14 +01:00
pi03k
18080a83d6
Move from qt_wrap_ui to AUTOUIC for launcher and wizard
...
(#7348 )
2024-11-10 20:38:14 +01:00
psi29a
ac7b54af80
Merge branch 'refnumremapping' into 'master'
...
Use the right deserializer for unloaded scripts
See merge request OpenMW/openmw!4449
2024-11-10 16:13:07 +00:00
psi29a
f5c457c474
Merge branch 'pageswithattitude' into 'master'
...
Apply rotation when computing the bounding box of a paged reference
See merge request OpenMW/openmw!4447
2024-11-09 20:14:53 +00:00
Evil Eye
6572122acc
Use the right deserializer for unloaded scripts
2024-11-09 13:05:39 +01:00
Alexei Kotov
32a6ed6f49
Merge branch 'creaturesstronk' into 'master'
...
Allow creatures' strength to be edited
See merge request OpenMW/openmw!4448
2024-11-08 20:18:24 +00:00
psi29a
d356fea5b6
Merge branch 'whycantitalkthedoorintoopening' into 'master'
...
Let AI open moved doors (#7548 )
Closes #7548
See merge request OpenMW/openmw!4435
2024-11-07 17:55:40 +00:00
Evil Eye
7bd2f73fe5
Allow creatures' strength to be edited
2024-11-07 17:12:00 +01:00
Evil Eye
79bd6309a5
Apply rotation when computing the bounding box of a paged reference
2024-11-07 16:53:03 +01:00
elsid
afa769408a
Use normalized path for correctActorModelPath
2024-11-03 13:50:17 +01:00
psi29a
3e804042c4
Merge branch 'soitsthesametypeofstandasstarplatinum' into 'master'
...
Update spell window effect icons if the world is unpaused
See merge request OpenMW/openmw!4439
2024-11-01 13:53:05 +00:00
psi29a
6c52d92832
Merge branch 'ducksinarow' into 'master'
...
Improve memory alignment of CreatureStats to reduce memory usage
See merge request OpenMW/openmw!4433
2024-11-01 10:23:25 +00:00
psi29a
362eec43be
Merge branch 'noblacklisting' into 'master'
...
Exterminate script blacklisting (#8214 )
Closes #8214
See merge request OpenMW/openmw!4440
2024-11-01 10:22:26 +00:00
psi29a
62079499c1
Merge branch 'nowaterculling' into 'master'
...
Allow opting out of water culling (#7318 )
Closes #7318
See merge request OpenMW/openmw!4441
2024-11-01 10:21:45 +00:00
Alexei Kotov
5d37cb3b74
Exterminate script blacklisting ( #8214 )
2024-10-31 14:59:55 +03:00
Alexei Kotov
4f521a94d7
Allow opting out of water culling ( #7318 )
2024-10-31 14:54:05 +03:00
Alexei Kotov
fdafdaf599
Update spell icons if the world is unpaused
2024-10-31 11:22:49 +03:00
Alexei Kotov
476abb83d8
Don't enable groundcover for non-default worldspaces ( #7692 )
2024-10-30 21:23:29 +03:00
psi29a
34b6a9d402
Merge branch 'howdidabdufindthis' into 'master'
...
Don't assign vertical movement for inert characters out of water (#7968 )
Closes #7968
See merge request OpenMW/openmw!4432
2024-10-30 14:21:34 +00:00
jvoisin
540eee9c97
Merge branch 'draganddropdead' into 'master'
...
Don't update displayed armor rating when there's no player pointer (#8211 )
Closes #8211
See merge request OpenMW/openmw!4430
2024-10-30 12:14:15 +00:00
Alexei Kotov
4fdfd6ae91
Let AI open moved doors ( #7548 )
2024-10-30 12:41:36 +03:00
Evil Eye
ee16dbd2e2
Improve memory alignment of CreatureStats to reduce memory usage
2024-10-29 19:52:12 +01:00
Evil Eye
4c11dcdd7d
Merge branch 'display_fix' into 'master'
...
Improve screen detection for editor's widgets
Closes #8146
See merge request OpenMW/openmw!4364
2024-10-29 16:51:37 +00:00
Alexei Kotov
84aebccbb0
Don't assign vertical movement for inert characters out of water ( #7968 )
2024-10-29 14:33:05 +03:00
Alexei Kotov
636e5ed08b
Don't update displayed armor rating when there's no player pointer ( #8211 )
2024-10-29 10:44:28 +03:00
psi29a
64fdf72c4c
Merge branch 'mfwnotext' into 'master'
...
Fix #8202 (probably)
Closes #8202
See merge request OpenMW/openmw!4422
2024-10-28 16:19:49 +00:00
psi29a
1dc1bfe543
Merge branch 'launcherimportdefaults' into 'master'
...
Save/load INI importer flags in the launcher (#8189 )
Closes #8189
See merge request OpenMW/openmw!4429
2024-10-28 16:19:28 +00:00
Evil Eye
b288448893
Merge branch 'ulfricstormcloakjarlofwindhelm' into 'master'
...
Revise storm wind effect on velocity (bug #8206 )
Closes #8206
See merge request OpenMW/openmw!4426
2024-10-28 15:33:46 +00:00
Alexei Kotov
a239724316
Revise storm wind effect on velocity (bug #8206 )
2024-10-28 13:10:16 +03:00
Alexei Kotov
e78d3e8ac6
Add a lower cap to launcher viewing distance spinbox ( #8208 )
2024-10-28 13:04:16 +03:00
psi29a
891bb67ac5
Merge branch 'fatiguecrit' into 'master'
...
Only play critical hit sound for health damage (#8207 )
Closes #8207
See merge request OpenMW/openmw!4427
2024-10-28 09:53:58 +00:00
Alexei Kotov
eea916a43d
Save/load INI importer flags in the launcher ( #8189 )
2024-10-27 21:30:23 +03:00
Evil Eye
7bbb1bf05d
Merge branch 'loosey-goosey' into 'master'
...
Store original representation of paths in content lists. Also compare against existing content lists in a more forgiving way.
See merge request OpenMW/openmw!4424
2024-10-27 12:31:41 +00:00
Alexei Kotov
71f6341f30
Only play critical hit sound for health damage ( #8207 )
2024-10-27 08:17:33 +03:00
Evil Eye
a8710b7b42
Don't modify base records from Lua
2024-10-25 16:35:23 +02:00
psi29a
a11e683a40
Merge branch 'content-lists-could-provide-duplicate-fallback-archives' into 'master'
...
Gracefully handle content lists that specify duplicate BSAs
Closes #8200
See merge request OpenMW/openmw!4421
2024-10-25 11:08:41 +00:00
AnyOldName3
7640b6bcf4
Typo
2024-10-25 00:32:12 +00:00
AnyOldName3
c2b383ea92
Store original representation of paths in content lists
...
Also compare against existing content lists in a more forgiving way.
The first improvement makes it possible to use relative paths in openmw.cfg without the launcher canonicalising them.
This was really annoying if you used a relative path on purpose.
It also stops the launcher converting all paths to Qt's convention, where forward slashes are used on Windows even though they're not native.
The engine doesn't care, so you could always put either in the config file, but the launcher wouldn't stand for that, and would make them match.
To make this work, we need to store a path's originalRepresentation in the content list, compare paths loaded from openmw.cfg based on their originalRepresentation, and convert paths from originalRepresentation to absolute value when loading them from a content list.
The second improvement means that paths that are equivalent, but expressed differently (e.g. mismatched case on Windows, mismatched separators on Windows, or mild differences like unnecessary `./`es and doubled separators) don't trigger the creation of a new effectively-identical content list.
To make this work, we had to switch the comparison to lexicaly normalise the path first.
It could only be lexical normalisation as originalRepresentation might be absolute, relative, or absolute-but-based-on-a-path-slug, and we didn't want slugs to break things or relative paths to count as equivalent to absolute ones that refer to the same file.
The comparison is case-insensitive on Windows, and case-sensitive elsewhere.
This isn't strictly right, as you can have case-sensitive things mounted on Windows or tell a Linux directory to be case-insensitive, but we can't tell when that might happen based on a lexical path as it depends on real directory properties (and might differ for different parts of the path, which is too much hassle to support).
2024-10-25 00:49:59 +01:00
psi29a
cd2f261ff5
Merge branch 'case-insensitive-bsa-name' into 'master'
...
Make the launcher ignore case in bsa names
Closes #8201
See merge request OpenMW/openmw!4418
2024-10-23 22:23:27 +00:00
Alexei Kotov
13cca461f2
Maybe fix #8202
2024-10-23 22:23:28 +03:00
AnyOldName3
0537b53d21
Gracefully handle content lists that specify duplicate BSAs
...
Previously, if fed bad data, or a content list predated a BSA being moved to a non-user config file, or possibly in other situations (but not any of the obvious ones as those had other guards), the `selectedArchives` list could be longer than the number of archives available due to duplicate entries.
This ensures they're handled like entries specifying no-longer-present archives, and just skips the duplicates.
The same would happen elsewhere in similar situations, but those code paths aren't always taken.
2024-10-22 22:40:16 +01:00
Evil Eye
9395624e5f
Write SoundGens after their creatures
2024-10-22 21:25:52 +02:00
Alexei Kotov
1fcbcd5bfa
Merge branch 'journalFirst' into 'master'
...
FIX: Serialize journal records first when saving plugins
See merge request OpenMW/openmw!4405
2024-10-22 01:37:02 +00:00
Evil Eye
ea52a5f4bd
Clarify that topics should be written after journals
2024-10-21 19:57:18 +02:00
AnyOldName3
7556ab6f90
Make the launcher ignore case in bsa names
2024-10-21 18:07:13 +01:00
psi29a
cdf7bd74d5
Merge branch 'passivestorage' into 'master'
...
Activate global storage when setting up the player
See merge request OpenMW/openmw!4413
2024-10-21 11:01:26 +00:00
psi29a
941a6dcf89
Merge branch 'crime-interface' into 'master'
...
add OFFENSE_TYPE and commitCrime to lua
Closes #8109
See merge request OpenMW/openmw!4319
2024-10-20 09:37:27 +00:00
Calandiel Elende
9248e37156
add OFFENSE_TYPE and commitCrime to lua
2024-10-20 09:37:27 +00:00
psi29a
9325c80244
Merge branch 'userdataplz' into 'master'
...
Set SavedDataDeserializer on LocalScripts creation
See merge request OpenMW/openmw!4409
2024-10-20 09:36:13 +00:00
psi29a
083381526f
Merge branch 'mourningnote' into 'master'
...
Play region sounds in quasi exteriors
See merge request OpenMW/openmw!4411
2024-10-20 09:35:27 +00:00
psi29a
c60e0539cc
Merge branch 'dead_code' into 'master'
...
Remove dead code
See merge request OpenMW/openmw!4412
2024-10-20 09:34:49 +00:00
psi29a
26af518d67
Merge branch 'vfs_normalized_path_18' into 'master'
...
Use normalized path in PhysicsSystem (#8138 )
See merge request OpenMW/openmw!4410
2024-10-20 09:34:37 +00:00
psi29a
8b3e8676bf
Merge branch 'noxt' into 'master'
...
Remove old dependency on Xt which shouldn't be needed anymore
See merge request OpenMW/openmw!4407
2024-10-20 09:34:16 +00:00