Alexei Kotov
4e5e8e7889
Merge branch '1kiawayan-7649' into 'master'
...
Don't play vfx and sound on resisted magic
Closes #7649
See merge request OpenMW/openmw!4766
2025-07-12 12:38:51 +03:00
Alexei Kotov
e9081fec9f
Merge branch 'refactorshowvars' into 'master'
...
Improve showVars
See merge request OpenMW/openmw!4747
2025-07-12 12:37:05 +03:00
Alexei Kotov
3e711c30db
Merge branch 'maluu-apa-bosku' into 'master'
...
Play down sound when equip fails
Closes #7371
See merge request OpenMW/openmw!4248
2025-07-12 11:52:26 +03:00
Kuyondo
77c30a68c9
more similar to vanilla
2025-07-12 12:04:38 +08:00
Alexei Kotov
fe7970421f
Don't harvest if player activation is blocked ( #8612 )
2025-07-11 11:47:20 +03:00
psi29a
f5de0d1c40
Merge branch 'quickkeysmenu' into 'master'
...
Quick keys menu fixes (#8359 )
Closes #8359
See merge request OpenMW/openmw!4546
2025-07-11 07:41:55 +00:00
Kuyondo
25d9c80067
Don't play vfx and sound on fully resisted debuffs
2025-07-11 03:10:49 +08:00
Andrew Lanzone
73ffe7f62b
Fix clang formatting issue
2025-07-10 08:56:24 -07:00
Andrew Lanzone
b075428513
Minor fixes based on code review feedback.
2025-07-10 08:46:01 -07:00
Andrew Lanzone
e04f0a8bd6
Move logic for determining Russian index page count to a shared place
2025-07-10 08:45:51 -07:00
Alexei Kotov
b958dc7297
Merge branch 'launcher_resolutions' into 'master'
...
Do not allow to select a screen resolution in the Windowed Fullscreen mode in the launcher
See merge request OpenMW/openmw!4765
2025-07-10 15:44:35 +03:00
Andrei Kortunov
dca83c2500
Add resolution hints to launcher
2025-07-10 10:24:39 +04:00
Cody Glassman
064b8d3f9b
use more explicit null check
2025-07-09 11:49:38 -07:00
Alexei Kotov
f3420bd1bd
Move Quitting peacefully message to a more appropriate place
2025-07-09 10:55:17 +03:00
Andy Lanzone
d46f034e5d
Merge branch openmw:master into master
2025-07-08 19:46:37 -07:00
Andrew Lanzone
9a637563cd
Fix getIndexSelected typing
2025-07-08 19:46:24 -07:00
Cody Glassman
759739ecca
generate mipmaps after we draw, not before
2025-07-08 15:53:18 -07:00
Andrei Kortunov
a68107712c
Do not allow to select a screen resolution in the Windowed Fullscreen mode in the launcher
2025-07-08 22:33:35 +04:00
Alexei Kotov
0892357230
Only autoequip the shield in updateEquippedLight ( #8404 )
2025-07-08 20:32:20 +03:00
psi29a
e9a9659abc
Merge branch 'autoequip' into 'master'
...
Unify creature/NPC armor autoequip
See merge request OpenMW/openmw!4753
2025-07-08 10:35:17 +00:00
psi29a
3135e2e479
Merge branch 'smexypants' into 'master'
...
Make ExtraSpell undress less
See merge request OpenMW/openmw!4752
2025-07-08 10:34:32 +00:00
psi29a
c691c72cec
Merge branch 'esm4sound' into 'master'
...
Initial support of ESM4 sounds
See merge request OpenMW/openmw!3784
2025-07-08 10:32:24 +00:00
Alexei Kotov
c0276b6890
Merge branch 'cpputil2lua' into 'master'
...
Move some util to lua
See merge request OpenMW/openmw!4750
2025-07-08 12:45:14 +03:00
Petr Mikheev
10dba7cda7
Initial support of ESM4 sounds; play opening sound of ESM4 doors.
2025-07-08 11:14:13 +02:00
Kuyondo
ede768532c
cleanup 2
2025-07-08 03:48:40 +08:00
Andrew Lanzone
21367a6127
Merge branch 'master' of https://gitlab.com/OpenMW/openmw
2025-07-07 08:58:21 -07:00
Evil Eye
0c4af81a69
Fix tests
2025-07-07 16:48:24 +02:00
Kuyondo
36604777f2
tests 2
2025-07-07 20:14:38 +08:00
Kuyondo
3f352b2470
tests
2025-07-07 19:28:12 +08:00
psi29a
83a37fecea
Merge branch 'l10n_format' into 'master'
...
Treat formatting string arguments as UTF-8 string
Closes #8385
See merge request OpenMW/openmw!4751
2025-07-07 09:28:43 +00:00
Kuyondo
e4f0723a90
cleanup
2025-07-07 17:01:18 +08:00
Kuyondo
40e9b2d707
play down sound when equip fails
2025-07-07 17:01:18 +08:00
Alexei Kotov
2ce697a366
Merge branch 'errno' into 'master'
...
Print a more verbose message when we failed to write savegame
See merge request OpenMW/openmw!4749
2025-07-07 10:35:12 +03:00
Andrew Lanzone
3a05ddb982
Fix issues caused by incomplete merge
2025-07-06 23:17:00 -07:00
Andrew Lanzone
b170500183
Merge branch 'master' of https://gitlab.com/OpenMW/openmw
2025-07-06 23:00:28 -07:00
Andrew Lanzone
952abf5557
Support either two- or three- column layouts for cyrillic journal indices
2025-07-06 22:51:31 -07:00
Andrew Lanzone
fdc392435f
Fix controller tooltip temporarily disappearing when dealing with stacks of items
2025-07-06 22:42:08 -07:00
Andrew Lanzone
e349fa248a
Tweak how scroll offsets are calculated for smoother scrolling
2025-07-06 22:42:08 -07:00
Andrew Lanzone
abe0467915
Show count dialog when dropping stacks (cleans up the logic too)
2025-07-06 22:42:08 -07:00
epochwon
db22706e8e
I'm sorry clang, forgive me
2025-07-07 01:40:25 -04:00
epochwon
ba361302a1
cache physics framerate at start instead of checking every update
2025-07-07 01:40:25 -04:00
epochwon
ce666db34f
don't use EFX doppler, set doppler factor globally instead of per-sound
2025-07-07 01:40:25 -04:00
epochwon
f0e9df4de2
fix launcher ui and lang mess
2025-07-07 01:40:25 -04:00
epochwon
d29c01be26
appease clang + docs
2025-07-07 01:40:24 -04:00
epochwon
c541cb96cc
doppler take 2
2025-07-07 01:37:18 -04:00
Aussiemon
67795543a2
Revert "Fix unneeded runtime errors"
...
This reverts commit d207c2251f .
2025-07-06 20:51:53 -06:00
Kindi
c4a4c435f1
refactor opshowvars
2025-07-07 04:38:25 +08:00
Alexei Kotov
abbbeefdbd
Merge branch 'harvest' into 'master'
...
Do not recreate animation object when harvesting a plant
See merge request OpenMW/openmw!4744
2025-07-06 22:24:20 +03:00
Alexei Kotov
a109052296
Merge branch 'no_water_blend' into 'master'
...
Fix disappearing normals with refraction disabled (#8490 )
Closes #8490
See merge request OpenMW/openmw!4746
2025-07-06 22:12:59 +03:00
Aussiemon
555721141d
Skip quest names (vanilla improvement)
2025-07-06 12:16:17 -06:00
Aussiemon
d207c2251f
Fix unneeded runtime errors
2025-07-06 12:16:17 -06:00
Aussiemon
0e1ed078e9
Clang format
2025-07-06 12:16:17 -06:00
Aussiemon
73a3033e0f
Get the dialogue manager once
2025-07-06 12:16:17 -06:00
Aussiemon
30140d9548
Get the journal only once
2025-07-06 12:16:17 -06:00
Aussiemon
565b199380
Clang format
2025-07-06 12:16:17 -06:00
Aussiemon
83903455f9
Address review comments
2025-07-06 12:16:17 -06:00
Aussiemon
4b98520266
Revert shared addJournalEntry
2025-07-06 12:16:17 -06:00
Aussiemon
34194f9c08
Add topics as known topics in addition to journal topics
2025-07-06 12:16:17 -06:00
Aussiemon
2e1f3d5d2c
Clang format
2025-07-06 12:16:17 -06:00
Aussiemon
6c70c403be
Implement FillJournal console command
2025-07-06 12:16:17 -06:00
Aussiemon
2db36c49b5
Move early out to better place
2025-07-06 11:51:44 -06:00
Aussiemon
09ed5bb234
Allow immobile actors to initiate combat when attacked
2025-07-06 11:51:44 -06:00
Aussiemon
3df695df4a
Found better place for early return
2025-07-06 11:51:44 -06:00
Aussiemon
23dc226dff
Revert autoformat changes
2025-07-06 11:51:44 -06:00
Aussiemon
a77a8904e5
Immobile creatures should enter combat, but not act
2025-07-06 11:51:44 -06:00
Aussiemon
266702e729
Remove obsolete combat block for immobile creatures and autoformat
2025-07-06 11:51:44 -06:00
Alexei Kotov
df5625a1e3
Unify creature/NPC armor autoequip
2025-07-06 13:58:25 +03:00
psi29a
c232ad55b4
Merge branch 'updateinventory' into 'master'
...
Update inventory window when item is added or removed into container by script
Closes #8431
See merge request OpenMW/openmw!4609
2025-07-06 10:20:52 +00:00
psi29a
3405d5017e
Merge branch 'birthsigntooltip' into 'master'
...
Revise birthsign tooltip layout (#6792 )
Closes #6792
See merge request OpenMW/openmw!4558
2025-07-06 10:18:52 +00:00
psi29a
a5e23f5fd3
Merge branch 'portedesetoiles' into 'master'
...
Fix path handling for files in BSAs
Closes #8598 and #8599
See merge request OpenMW/openmw!4655
2025-07-06 10:17:55 +00:00
Evil Eye
3574cd552c
Make ExtraSpell undress less
2025-07-06 12:10:49 +02:00
Andrei Kortunov
d455ff5f5e
Treat formatting string arguments as UTF-8 string
2025-07-06 13:35:27 +04:00
Andrei Kortunov
779840deea
Print a more verbose message when we failed to write savegame
2025-07-06 11:27:03 +04:00
Alexei Kotov
9b8a383e8d
Merge branch 'sinalau-bakas' into 'master'
...
Respawning npc respawns in origin cell
See merge request OpenMW/openmw!4695
2025-07-06 07:06:47 +03:00
Andrew Lanzone
b6f3b2760a
Use a new string for 'Select Character' controller button label
2025-07-05 10:27:45 -07:00
Cody Glassman
390589795c
postprocessing - set mipmaps levels for rendertargets when requested
2025-07-05 08:53:54 -07:00
Cody Glassman
30a852bb88
disable blending in second color attachment on water node
2025-07-05 08:32:21 -07:00
Andrei Kortunov
2db9b91c10
Do not recreate animation object when harvesting a plant
2025-07-05 17:11:17 +04:00
Alexei Kotov
a6503233a6
Merge branch 'windowvisiblelua' into 'master'
...
lua - add binding to check window visibility
Closes #8355
See merge request OpenMW/openmw!4543
2025-07-05 09:57:50 +03:00
Andrew Lanzone
e577257ec4
Make topic padding a const and use it when scrolling dialog topics
2025-07-04 23:06:05 -07:00
Alexei Kotov
38efdd2fd8
Revert "Merge branch 'master' into 'master'"
...
This reverts merge request !4710
2025-07-05 01:00:26 +03:00
Andy Lanzone
ffec2e8d74
Automatically show Xbox, PS, or Switch button icons
2025-07-04 14:38:55 -07:00
Alexei Kotov
4bf43665c4
Revise birthsign tooltip layout ( #6792 )
...
Make all description bits distinct widgets to allow proper padding
Use spaces instead of line breaks to separate spells
Enable word-wrapping for description text
Make the tooltip wider and increase padding
2025-07-04 20:03:55 +00:00
Andrew Lanzone
28f3b4a530
Remove unused argument from lambda to fix compiler warning
2025-07-04 12:49:54 -07:00
SkyHasACat
424a62187a
whitespace?
2025-07-04 14:26:16 -05:00
SkyHasACat
30e5e17e4c
Remove enchanting dialog, missing empty lines
2025-07-04 14:22:01 -05:00
Garrett
7f11579d39
Update file enchantingdialog.cpp
2025-07-04 14:22:01 -05:00
Garrett
57f8355bac
Update file enchantingdialog.hpp
2025-07-04 14:22:01 -05:00
Garrett
30dae411d0
Update file spellcreationdialog.cpp
2025-07-04 14:22:01 -05:00
Garrett
57bb6f2e2f
Update file spellcreationdialog.cpp
2025-07-04 14:22:01 -05:00
Garrett
190a1266a1
Update 2 files
...
- /apps/openmw/mwgui/spellcreationdialog.cpp
- /apps/openmw/mwgui/spellcreationdialog.hpp
2025-07-04 14:22:01 -05:00
Garrett
2d2df30f80
Update file spellcreationdialog.cpp
2025-07-04 14:22:01 -05:00
Garrett
bcb27fff6a
Update 2 files
...
- /apps/openmw/mwgui/spellcreationdialog.cpp
- /apps/openmw/mwgui/spellcreationdialog.hpp
2025-07-04 14:22:01 -05:00
Garrett
f8c8b9b433
Replace spellcreationdialog.hpp to add player gold to spell creation window.
2025-07-04 14:22:01 -05:00
Garrett
15a525676c
Replace spellcreationdialog.cpp to add gold counter for player
2025-07-04 14:22:01 -05:00
Andrew Lanzone
04d73cf195
Revert clang formatting suggestion because it breaks the pipeline
2025-07-04 12:02:17 -07:00
Andrew Lanzone
ce0ae47478
Expose controller menus setting to Lua
2025-07-04 11:53:36 -07:00
Andrew Lanzone
64284063b3
Merge branch 'master' of https://gitlab.com/OpenMW/openmw
2025-07-04 11:52:31 -07:00
psi29a
1a08565a20
Merge branch 'destinationunknown' into 'master'
...
Don't add non-existent cell travel destinations (#8349 )
Closes #8349
See merge request OpenMW/openmw!4540
2025-07-04 11:06:33 +00:00
psi29a
d0af16c5db
Merge branch 'travelprice' into 'master'
...
Rescale the base travel cost by the number of followers (#8446 )
Closes #8446
See merge request OpenMW/openmw!4626
2025-07-04 11:05:56 +00:00
psi29a
b2228de0b7
Merge branch 'pinnedinventory' into 'master'
...
Restore 0.45.0 pin button visibility conditions (#8437 )
Closes #8437
See merge request OpenMW/openmw!4612
2025-07-04 11:05:40 +00:00
psi29a
3d75dec73d
Merge branch 'waterwalkingtcl' into 'master'
...
Don't enable water collision when collision is disabled (#8414 )
Closes #8414
See merge request OpenMW/openmw!4600
2025-07-04 11:04:12 +00:00
psi29a
94507567da
Merge branch 'conspiracyofsilence' into 'master'
...
Make powers immune to silence (#8371 )
Closes #8371
See merge request OpenMW/openmw!4557
2025-07-04 11:03:40 +00:00
psi29a
9013ed16f0
Merge branch 'reststates' into 'master'
...
Inform the player about both resting hindrances (#8408 )
Closes #8408
See merge request OpenMW/openmw!4598
2025-07-04 11:03:28 +00:00
psi29a
99a6a04c70
Merge branch 'massselect' into 'master'
...
Support extended selection in the directory picker (#8113 )
Closes #8113
See merge request OpenMW/openmw!4669
2025-07-04 11:02:55 +00:00
Andrew Lanzone
8379c31f13
Add option to show controller tooltips by default
2025-07-04 02:40:52 -07:00
Andrew Lanzone
088b2d1bbc
Fix GCC warning
2025-07-03 14:47:34 -07:00
Andrew Lanzone
ee33424c20
Prevent controller from dismissing dialog window when there is a choice active
2025-07-03 14:32:13 -07:00
Andrew Lanzone
ffac1cdf3c
Remove int casts by using size_t in a few places
2025-07-03 14:20:24 -07:00
Mads Buvik Sandvei
9fe420e562
improve error report when windowId is invalid.
2025-07-03 22:11:21 +02:00
Mads Buvik Sandvei
7f34e52a11
lua interface for window visibility
2025-07-03 22:10:56 +02:00
Andrew Lanzone
6a1f8b3f69
Merge branch openmw:master into master
2025-07-03 19:03:08 +00:00
Andrew Lanzone
5d8c349899
Fix issues with setControllerFocus
2025-07-03 12:01:24 -07:00
Andrew Lanzone
44fb923d7b
Keep active quest focused in same journal session
2025-07-03 12:00:55 -07:00
Evil Eye
dbc732231f
Allow non-existent techniques to exist
2025-07-03 17:21:50 +02:00
Kuyondo
a6cf359820
update offer player side, next frame update view
2025-07-03 15:13:21 +08:00
psi29a
d40c4855b1
Merge branch 'showVars' into 'master'
...
Show global script variables in showVars
See merge request OpenMW/openmw!4614
2025-07-03 07:11:23 +00:00
psi29a
ea147d78ed
Merge branch 'sortedsaves' into 'master'
...
Order characters by last save
Closes #8580
See merge request OpenMW/openmw!4730
2025-07-03 07:06:27 +00:00
Evil Eye
206d38f3d7
Fix path handling for files in BSAs
2025-07-03 08:46:23 +02:00
Evil Eye
18ad2db59c
Remove unused variable
2025-07-03 07:33:03 +02:00
Alexei Kotov
733dfbb89d
Don't assume any scripted item is usable
2025-07-03 08:10:59 +03:00
Alexei Kotov
29177bccb8
Play the item's down sound when an item quick key is assigned
2025-07-03 08:10:59 +03:00
Andrew Lanzone
7cc25d8916
Dialog window improvements: use LB/RB to move up/down by 5; if only one dialog choice, autoselect it.
2025-07-02 22:00:40 -07:00
Alexei Kotov
7cf74c570e
Properly disable named exterior destination interior flag
2025-07-03 07:46:09 +03:00
Andrew Lanzone
3767b60512
Fix L1 and R1 buttons not disappearing
2025-07-02 21:35:26 -07:00
Alexei Kotov
00e6e855f1
Don't add non-existent cell travel destinations ( #8349 )
2025-07-03 07:25:44 +03:00
psi29a
53feb29a5b
Merge branch 'landscape-data-bindings' into 'master'
...
Landscape height and texture bindings for Lua (Revised and Reopened)
See merge request OpenMW/openmw!4724
2025-07-02 21:53:05 +00:00
psi29a
75b4682cd7
Merge branch 'no_null_shader' into 'master'
...
Fix invalid deletion of shaders during iteration (#7587 )
See merge request OpenMW/openmw!4731
2025-07-02 21:45:02 +00:00
psi29a
66befc67d9
Merge branch 'topiclist' into 'master'
...
Improve topic and magic effect list padding accuracy (#8585 )
Closes #8585
See merge request OpenMW/openmw!4580
2025-07-02 21:44:00 +00:00
psi29a
2309aeec70
Merge branch 'suijutsu' into 'master'
...
Underwater projectile fixes (#7622 , #8303 )
Closes #7622 and #8303
See merge request OpenMW/openmw!4567
2025-07-02 21:42:00 +00:00
psi29a
6f48a6f1bf
Merge branch 'docs_me_not_v2' into 'master'
...
Docs - begin restructuring docs
See merge request OpenMW/openmw!4720
2025-07-02 21:37:30 +00:00
Sebastian Fieber
f5e24804ce
fix format
2025-07-02 20:45:55 +02:00
Evil Eye
7c1dbdd191
Select a fallback character if possible
2025-07-02 20:42:02 +02:00
Evil Eye
c3a5ad4328
Declare operator in MWState namespace
2025-07-02 20:29:38 +02:00
Evil Eye
d756b02d68
Order characters by last save
2025-07-02 20:29:38 +02:00
Kuyondo
2dc0d8abca
use <<
2025-07-02 23:51:15 +08:00
Sebastian Fieber
e4439806ed
land bindings afterwork
...
- fix include order + style
- cellOrName -> cellOrId
- bump lua api revision to 78
- cellOrId is not optional anymore for getHeightAt
2025-07-02 16:14:03 +02:00
Sebastian Fieber
eb4d3b7224
Reapply "Merge branch 'landscape-data-bindings' into 'master'"
...
This reverts commit 3ff7dedfd1 .
2025-07-02 16:09:06 +02:00
psi29a
4520eb077d
Merge branch 'lua_pp_order' into 'master'
...
lua - add ability to query the currently active shaders
Closes #8285
See merge request OpenMW/openmw!4506
2025-07-02 09:45:00 +00:00
psi29a
cb0b44e0b2
Merge branch 'bounditems' into 'master'
...
Interrupt bound item effect if equipment failed (#8383 )
Closes #8383
See merge request OpenMW/openmw!4572
2025-07-02 09:43:21 +00:00
psi29a
5a292624a5
Merge branch 'add_scripText_to_mwscriptbindings' into 'master'
...
lua - add mwscript bindings to core (#8320 )
Closes #8320
See merge request OpenMW/openmw!4517
2025-07-02 09:42:25 +00:00
psi29a
5c60168b16
Merge branch 'ini-importer-tidying' into 'master'
...
INI importer tidying
See merge request OpenMW/openmw!4519
2025-07-02 09:40:58 +00:00
Evil Eye
681a95b89f
Merge branch 'fix_keyword_highlighting' into 'master'
...
FIX keyword substring highlighting regression
Closes #8265 and #1047
See merge request OpenMW/openmw!4685
2025-07-02 06:13:26 +00:00
Charles Horn
c948171d5f
FIX keyword substring highlighting regression
2025-07-02 06:13:25 +00:00
Alexei Kotov
612411e492
Allow non-actor spell projectiles to fire underwater ( #8303 )
2025-07-02 08:54:30 +03:00
Alexei Kotov
be13b1d085
Handle instant projectile impact before underwater logic ( #7622 )
2025-07-02 08:54:30 +03:00
Sebastian Fieber
fa8ba57ab3
add mwscript bindings to core
2025-07-02 00:57:40 +02:00
Andrew Lanzone
e2e8a02a26
Merge branch 'master' of https://gitlab.com/OpenMW/openmw
2025-07-01 12:22:35 -10:00
psi29a
9228f90f46
Merge branch 'RecalcSpellBuyCost' into 'master'
...
Calculate spell cost when building spell-buying window
Closes #8459
See merge request OpenMW/openmw!4640
2025-07-01 21:38:01 +00:00
psi29a
aa652a20f0
Merge branch 'StackValueAffectsFightTerm' into 'master'
...
Make item value affect theft observer's fight willingness
Closes #8500
See merge request OpenMW/openmw!4673
2025-07-01 21:37:28 +00:00
Aussiemon
5ba0b3ab52
Make item value affect theft observer's fight willingness
2025-07-01 21:37:27 +00:00
psi29a
149587dda4
Merge branch 'scaledselection' into 'master'
...
Editor: Account for pixel ratio in instance mode mouse coordinates conversion (#6573 )
Closes #6573
See merge request OpenMW/openmw!4587
2025-07-01 21:34:40 +00:00
psi29a
583af381a6
Merge branch 'baseresistance' into 'master'
...
Ignore resistances for base diseases
Closes #8485
See merge request OpenMW/openmw!4662
2025-07-01 21:32:55 +00:00
psi29a
32f13816f8
Merge branch 'equippedSpellIterationFix' into 'master'
...
Skip duplicate enchantments on Spell Cycle action
Closes #6039
See merge request OpenMW/openmw!4668
2025-07-01 21:32:20 +00:00
Aussiemon
0a9c3ce96f
Skip duplicate enchantments on Spell Cycle action
2025-07-01 21:32:20 +00:00
psi29a
48bc9e5dd2
Merge branch 'updatespellwindowquickkey' into 'master'
...
Update spell window after selecting spell using quickkey #8436
See merge request OpenMW/openmw!4611
2025-07-01 21:29:30 +00:00
psi29a
47aa0b27ff
Merge branch 'FixDoublePickpocketBounty' into 'master'
...
Prevent second bounty for "closed pickpocket window" when steal is already detected
Closes #8519
See merge request OpenMW/openmw!4694
2025-07-01 21:29:06 +00:00
psi29a
ceac11d6df
Merge branch 'sillyphysics' into 'master'
...
Stop postponing physics for objects that _don't_ have physics
Closes #8432
See merge request OpenMW/openmw!4658
2025-07-01 21:28:48 +00:00
psi29a
aa3e991352
Merge branch 'showmap' into 'master'
...
Require a non-empty argument in ShowMap (#8466 )
Closes #8466
See merge request OpenMW/openmw!4649
2025-07-01 21:28:02 +00:00
psi29a
917b08e05d
Merge branch 'MoonPhaseAndVisibilityFixes' into 'master'
...
Match vanilla moon phases and visibility times
Closes #8375
See merge request OpenMW/openmw!4616
2025-07-01 21:25:36 +00:00
Aussiemon
5ef947e14f
Match vanilla moon phases and visibility times
2025-07-01 21:25:36 +00:00
psi29a
a29f4b3ba0
Merge branch 'enchantmentprice' into 'master'
...
Use the final effect cost to calculate enchantment price (#8340 )
Closes #8340
See merge request OpenMW/openmw!4530
2025-07-01 21:23:58 +00:00
psi29a
59eb7b9888
Merge branch 'cattlethief' into 'master'
...
Fix AI issues with Command spells
Closes #5331
See merge request OpenMW/openmw!4599
2025-07-01 21:18:09 +00:00
psi29a
0a44112dcc
Merge branch 'charactername' into 'master'
...
Revise saved game dialog save info layout (#8313 )
Closes #8313
See merge request OpenMW/openmw!4545
2025-07-01 21:17:21 +00:00
psi29a
0d308eae3e
Merge branch 'spell____prices' into 'master'
...
Spell buying window layout tweaks
See merge request OpenMW/openmw!4571
2025-07-01 21:07:03 +00:00
psi29a
48e386bf90
Merge branch 'merchantrepairrepaired' into 'master'
...
Merchant repair menu layout tweaks
See merge request OpenMW/openmw!4588
2025-07-01 21:06:00 +00:00
psi29a
c9f6bdb6e0
Merge branch '__travel_____' into 'master'
...
Fix Travel window header alignment
See merge request OpenMW/openmw!4569
2025-07-01 21:04:20 +00:00
Cody Glassman
514174ffc4
allow handles to be fetched for non-dynamic shaders
2025-07-01 14:03:41 -07:00
Cody Glassman
feeb15d1ff
use table instead of vector in return type
2025-07-01 14:03:41 -07:00
Cody Glassman
450f587844
lua - add ability to query the currently active shaders
2025-07-01 14:02:48 -07:00
psi29a
33ca7da731
Merge branch 'balmora__________-__________-69gp' into 'master'
...
Remove excessive spacing between travel destination and price
See merge request OpenMW/openmw!4568
2025-07-01 21:01:26 +00:00
Cody Glassman
2619859786
fix invalid deletion for shaders
2025-07-01 13:58:28 -07:00
psi29a
50f8bc721d
Merge branch 'stupidfilters' into 'master'
...
Bring dialogue filters in line with Morrowind.exe
Closes #8318
See merge request OpenMW/openmw!4525
2025-07-01 20:52:37 +00:00
psi29a
2ffc44c31f
Merge branch 'filenameexceptions' into 'master'
...
Remove file name naming convention check exceptions (#7249 )
Closes #7249
See merge request OpenMW/openmw!4551
2025-07-01 20:45:33 +00:00
psi29a
2b0e5c3cc1
Merge branch 'enchantment_exclamationmark' into 'master'
...
Allow GetSpellEffects to detect enchantments by id
Closes #3769
See merge request OpenMW/openmw!4521
2025-07-01 20:40:08 +00:00
AnyOldName3
5ab73f5ecb
t t t t t t t typo fix
2025-07-01 21:24:45 +01:00
psi29a
ac7b3e9de9
Merge branch 'itshappening' into 'master'
...
Bump us up to 0.50.0
See merge request OpenMW/openmw!4502
2025-07-01 20:23:24 +00:00
psi29a
675146bd8b
Merge branch 'sellmesweetlittlecrashes' into 'master'
...
Clear the window manager before destroying singletons
Closes #8576
See merge request OpenMW/openmw!4727
2025-07-01 11:41:15 +00:00
Evil Eye
2ff497c3e5
Use string_view in CSMPrefs::ShortcutManager
2025-06-29 12:49:22 +02:00
Evil Eye
cbb50c001b
Destroy the script manager after the window manager
2025-06-28 11:25:19 +02:00
Andrew Lanzone
88b43cabec
Reset controller focus when reopening container and quest menus
2025-06-22 14:47:54 -07:00
Andrew Lanzone
5777a3cc3f
Update controller buttons shown for companion window
2025-06-22 14:44:32 -07:00
Evil Eye
a524b3c9b0
Merge branch 'clangcast' into 'master'
...
Export symbols for openmw binary under Clang (#8039 )
Closes #8039
See merge request OpenMW/openmw!4722
2025-06-22 06:17:25 +00:00
Andrew Lanzone
fb5fa6ce18
Fix controller tooltip disappearing because of spurious controller input
2025-06-21 22:04:35 -07:00
Andrew Lanzone
c41f034a23
Scroll the list of topics in controller mode
2025-06-21 21:34:11 -07:00
Alexei Kotov
3ff7dedfd1
Revert "Merge branch 'landscape-data-bindings' into 'master'"
...
This reverts merge request !4500
2025-06-21 19:03:11 +03:00
Cody Glassman
0589b57a47
Merge branch 'landscape-data-bindings' into 'master'
...
Landscape height and texture bindings for Lua (Revised)
See merge request OpenMW/openmw!4500
2025-06-21 08:49:38 -07:00
Andrew Lanzone
9380233ab7
Merge branch 'master' of https://gitlab.com/enoznal/openmw
2025-06-20 23:39:03 -07:00
Andrew Lanzone
143c14c556
Merge branch openmw:master into master
2025-06-21 06:38:19 +00:00
Andrew Lanzone
190680a3a9
Replace semi-janky rstick controller bindings with dpad
2025-06-20 23:37:53 -07:00
Andrew Lanzone
2905ed5fb1
Fix controller selection of nested dialog choices
2025-06-20 22:41:39 -07:00
Sebastian Fieber
1ac407f32b
fix rebase error
2025-06-19 22:17:26 +02:00
Sebastian Fieber
3207f3a387
clang-format
2025-06-19 22:17:26 +02:00
Sebastian Fieber
732fb4affe
inline fillLandData and return empty table instead of throwing
2025-06-19 22:17:26 +02:00
Sebastian Fieber
3e0685e4a6
don't double sample + only allow default worldspace
2025-06-19 22:17:26 +02:00
Sebastian Fieber
effb3de2a7
const
2025-06-19 22:17:26 +02:00
Sebastian Fieber
76e2c77517
check for lcell also
2025-06-19 22:17:26 +02:00
Sebastian Fieber
4ede868ed2
fix typo
2025-06-19 22:17:26 +02:00
Sebastian Fieber
8de0ccc82c
remove redundant code
2025-06-19 22:17:26 +02:00
Sebastian Fieber
7c76387ffe
no interior cell + make cellOrName mandatory
2025-06-19 22:17:26 +02:00
Sebastian Fieber
5d0986e812
Misc::NotNullPtr<MWWorld::ESMStore> to MWWorld::ESMStore& store
2025-06-19 22:17:26 +02:00
Sebastian Fieber
47453b307a
no auto in landbindings.cpp
2025-06-19 22:17:26 +02:00
Sebastian Fieber
f3128f9c7b
remove unused include
2025-06-19 22:17:26 +02:00
Sebastian Fieber
8954f45867
fixes for landbindings.cpp
2025-06-19 22:17:26 +02:00
Sebastian Fieber
fc772744d2
don't touch ESMTerrain::Storage
2025-06-19 22:17:26 +02:00
Sebastian Fieber
3d07b63ad8
don't copy store
2025-06-19 22:17:26 +02:00
Sebastian Fieber
940e73a356
landbindings - static to anonymous namespace + use references
2025-06-19 22:17:26 +02:00
Sebastian Fieber
ea02c69186
fix index check + cast to size_t
2025-06-19 22:17:26 +02:00
Sebastian Fieber
4182279f72
deduplication for landbindings.cpp + slight api changes
...
- remove textureId from return
- return plugin name instead of plugin id
2025-06-19 22:17:26 +02:00
Calandiel
901c6b94a6
remove unnecessary land loading
2025-06-19 22:17:26 +02:00
Calandiel
c711179b8f
apply changes requested in the code review
2025-06-19 22:17:26 +02:00
Sebastian Fieber
8917103bf3
put land bindings in a table in openmw.core
2025-06-19 22:17:26 +02:00
Calandiel
336275292e
reorder includes
2025-06-19 22:17:26 +02:00
Calandiel
3b962e3fd4
reorder includes
2025-06-19 22:17:26 +02:00
Calandiel
22a0dce4a6
reorder includes
2025-06-19 22:17:26 +02:00
Calandiel
fe68a098ea
reorder includes
2025-06-19 22:17:26 +02:00
Sebastian Fieber
1521d5195a
add bindings for land textures
2025-06-19 22:17:26 +02:00
Calandiel
283be9f4f0
add docs for the new binding
2025-06-19 22:17:26 +02:00
Calandiel
910690c7e5
expose a terrain height getter
2025-06-19 22:17:26 +02:00
Alexei Kotov
5938ba528f
Export symbols for openmw binary under Clang ( #8039 )
2025-06-19 14:43:10 +03:00
Andrew Lanzone
50e5863749
Use shoulder buttons on wait menu, similar to other slider menus
2025-06-18 19:46:22 -07:00
AnyOldName3
f7b8091117
Add missing semicolon
2025-06-19 00:23:52 +01:00
AnyOldName3
acbc0a9b8f
Fix launching other binaries when the CWD is not the binary directory
2025-06-19 00:19:14 +01:00
AnyOldName3
2ce4571c3a
Handle paths passed on the command line properly
...
Fixes https://gitlab.com/OpenMW/openmw/-/issues/8567 .
Also maybe horribly breaks lots of things because it removes some insanity from https://gitlab.com/OpenMW/openmw/-/merge_requests/86 , which would set the CWD to the local directory just in case any local-relative paths were expressed relatively without the explicit base being the local path.
2025-06-17 00:26:06 +01:00
Cody Glassman
302d92561d
docs - begin restructing docs
2025-06-16 15:36:43 -07:00
Andrew Lanzone
0a03403277
Fix closing dialogue when a choice is active; improve scrolling
2025-06-14 13:42:51 -07:00
Andrew Lanzone
8d545a43d5
Scrolll the list of quests in controller mode
2025-06-14 13:14:32 -07:00
Alexei Kotov
e7305e7c97
Merge branch 'colorfullights' into 'master'
...
Use the Color type for Light colours in Lua
Closes #8558
See merge request OpenMW/openmw!4715
2025-06-14 00:36:45 +03:00
Andrew Lanzone
0502366be9
Merge branch openmw:master into master
2025-06-13 04:44:05 +00:00
Andrew Lanzone
b4ede02cce
Move hardcoded strings to i10n
2025-06-12 21:43:01 -07:00
Aussiemon
f085717aef
Import ESS kill count / selected spell as RefIDs, handle old INFO records
2025-06-12 23:28:14 +03:00
Evil Eye
be0cbb7277
Use the Color type for Light colours in Lua
2025-06-12 17:17:28 +02:00
Andrew Lanzone
e01b8d372c
In controller mode, make focused spell blue to match other menus
2025-06-11 23:16:08 -07:00
Andrew Lanzone
1e3ddee291
Remove default string when creating a potion that won't work
2025-06-10 21:42:51 -07:00
Alexei Kotov
0df8869f59
Cache computed supported directions
...
Invalidated when animation sources are cleared or added
2025-06-10 12:09:59 +03:00
Andrew Lanzone
47b3674bac
Update controller focus to use a message box's default focus if available
2025-06-09 22:03:12 -07:00
Andrew Lanzone
57ae097257
Add controller support to the companion window; also fix giving stacks
2025-06-09 19:23:49 -07:00
Andrew Lanzone
f6b06057fa
Fix clang warning
2025-06-08 13:51:09 -07:00
Andrew Lanzone
8094761c3e
Fix sign-compare warnings
2025-06-08 02:28:42 -07:00
Andrew Lanzone
81720892f9
Fix compiler warnings
2025-06-08 00:10:47 -07:00
Andrew Lanzone
be32cbb413
Fix clang format issues
2025-06-07 22:51:29 -07:00
Andy Lanzone
0ca6bc012c
Merge branch 'OpenMW:master' into master
2025-06-07 20:39:57 -07:00
Andrew Lanzone
ea70f2b5c2
Show tooltips in controller mode on spell menus
2025-06-07 00:35:46 -07:00
psi29a
1c242425b0
Merge branch 'finite_number' into 'master'
...
Reduce code duplication for finite number and add tests
See merge request OpenMW/openmw!4707
2025-06-06 22:14:32 +00:00
Andrew Lanzone
b1989ffdf7
Limit size of inventory menu in controller mode
2025-06-06 00:34:42 -07:00
Andrew Lanzone
b2a5ded929
Fix scrolling list of items to repair or recharge
2025-06-06 00:34:23 -07:00
Andrew Lanzone
dc68f28a40
Disable right stick from panning map if zooming maps is enabled
2025-06-06 00:34:01 -07:00
elsid
267ce1ec9b
Reduce code duplication for finite number
2025-06-06 00:05:07 +02:00
Evil Eye
c05d2d1d38
Restrict openmw.animation to local scripts
2025-06-05 20:15:40 +02:00
Evil Eye
360abd9b90
Render openmw.animation inaccessible in menu scripts
2025-06-05 20:13:36 +02:00
Aussiemon
0d96d71be6
Change World.setGameTimeScale to float
2025-06-04 11:40:53 -06:00
Andrew Lanzone
c35e0d7336
Add menu click sounds to some menus when activated by the controller
2025-06-03 21:57:43 -07:00
Andrew Lanzone
2dfe1ef7b1
Show L1 and R1 buttons next to tabs
2025-06-03 21:23:21 -07:00
Andrew Lanzone
ae676e1d70
Fix not checking bounds in some controller menus
2025-06-03 20:17:53 -07:00
Aussiemon
e2cf80e3a6
Protect more bindings from non-finite numbers
2025-06-03 19:34:10 -06:00
Andrew Lanzone
a824993a60
Fix controller tooltips in magic menu appearing for wrong spell
2025-06-03 08:56:39 -07:00
Andrew Lanzone
a6d03717cb
Hide cursor icon when showing controller tooltips
2025-06-03 00:44:45 -07:00
Andrew Lanzone
e50822d1d2
Remember the selected dialog topic when new topics are added to the list
2025-06-02 00:41:09 -07:00
Andrew Lanzone
6da6b9b98f
Update controller support for scroll window to use the keybaord for smoother scrolling
2025-06-02 00:17:10 -07:00
Andrew Lanzone
8ae193abe8
Fix issue when selecting an inventory item with the tooltip visible
2025-06-02 00:11:01 -07:00
Andrew Lanzone
21286aa376
Change 'Back' to 'Cancel' in button prompts to match windows
2025-06-01 23:27:49 -07:00
Andy Lanzone
51f9ce890e
Merge branch 'OpenMW:master' into master
2025-06-01 22:57:37 -07:00
Andrew Lanzone
6bb92c0589
Clean up logs
2025-06-01 22:55:21 -07:00
Andrew Lanzone
ea71a0bb4f
Make controller selection wrap in inventory or containers
2025-06-01 22:13:58 -07:00
Andrew Lanzone
df237b5f9b
Add controller support to quick key menu
2025-06-01 21:34:20 -07:00
Andrew Lanzone
2aa9847b24
Update controller buttons for character creation and level up
2025-06-01 16:27:49 -07:00
Andrew Lanzone
263863f3f2
Fix modals opening above inventory causing it to change size
2025-06-01 16:22:22 -07:00
Alexei Kotov
ecc9e8f5cd
Merge branch 'silencedcode' into 'master'
...
Remove dead code
See merge request OpenMW/openmw!4699
2025-06-01 23:23:35 +03:00
psi29a
79a2735e19
Merge branch 'datachanged' into 'master'
...
Launcher: Reload cells after a short delay (#8478 )
See merge request OpenMW/openmw!4664
2025-06-01 10:47:23 +00:00
Andrew Lanzone
95ed6b51da
Allow navigating journal indices with a controller
2025-06-01 01:49:57 -07:00
Andrew Lanzone
63a533cd51
Add controller support to the level up dialog
2025-05-31 20:23:29 -07:00
Andrew Lanzone
e3a9b71bb9
Add helper function for toggling controller focus on lists
2025-05-31 19:43:28 -07:00
Andrew Lanzone
2dc1d8fed7
Add controller support to merchant repair window
2025-05-31 19:24:27 -07:00
Andrew Lanzone
cbe74cdab4
Add controller support to repair and recharge menus
2025-05-31 18:58:30 -07:00
Andrew Lanzone
d3c7904e64
Rename controller help function in item view
2025-05-31 16:34:07 -07:00
Andrew Lanzone
5276d7bab2
Several tweaks to the inventory menu
2025-05-31 16:02:13 -07:00
Andy Lanzone
6185683ca3
Merge branch 'OpenMW:master' into master
2025-05-31 15:29:25 -07:00
Andrew Lanzone
2d532100eb
Add controller supoprt to enchanting menu
2025-05-31 15:28:13 -07:00
Andrew Lanzone
40441a065a
Add controller support to alcmhemy menu
2025-05-31 11:58:35 -07:00
Evil Eye
4e8a713819
Remove dead code
2025-05-31 15:26:11 +02:00
Andrew Lanzone
d18413f63a
Add controller support to spell making window
2025-05-30 01:10:57 -07:00
psi29a
0c6c71f6cb
Merge branch 'qprogressbar' into 'master'
...
Increment some new Qt progress bars the canonical way
See merge request OpenMW/openmw!4698
2025-05-30 07:22:35 +00:00
psi29a
ed03babb08
Merge branch 'consolesearch' into 'master'
...
Uncursify forward/reverse console search (#8532 )
Closes #8532
See merge request OpenMW/openmw!4697
2025-05-30 07:21:26 +00:00
Alexei Kotov
e7976a544a
Increment some new Qt progress bars the canonical way
2025-05-29 03:33:03 +03:00
Alexei Kotov
f7a33d24e2
Uncursify forward/reverse console search ( #8532 )
...
Correct search start/end calculation, give normal search the memo that the end iterator's meaning changed and fix broken invalid range guards.
2025-05-28 22:11:22 +03:00
Andrew Lanzone
af27e9e5d6
Allow shoulder buttons to jump count slider to either extreme
2025-05-27 22:51:03 -07:00
Andrew Lanzone
451d68461c
Add controller support to skill and attribute menus
2025-05-27 22:40:00 -07:00
Alexei Kotov
b0d389319c
Merge branch 'layer_desync' into 'master'
...
Prevent conflicts between UI layer insertions
See merge request OpenMW/openmw!4696
2025-05-27 17:45:11 +03:00
uramer
32169155bb
Fix before insert index
2025-05-27 11:56:16 +00:00
Andrew Lanzone
f67aae086a
Improve scrolling in list windows and fix a crash in a few menus when no items are selectable
2025-05-26 23:07:20 -07:00
Andrew Lanzone
274434e0d6
Add controller support to travel window
2025-05-26 22:52:10 -07:00
Andrew Lanzone
14b0c9afbe
Add controller support to barter window
2025-05-26 21:08:05 -07:00
Aussiemon
d2f1eeff98
Prevent hard freeze when camera receives invalid inputs from Lua
2025-05-26 07:22:10 +00:00
Andrew Lanzone
71fd8b8840
Add controller support to spell buying and training windows
2025-05-25 23:14:13 -07:00
Andrew Lanzone
cd745c7df3
Swap some controller button assignments
2025-05-25 22:51:43 -07:00
Andrew Lanzone
25fa9484d3
Add a default save game name in controller mode
2025-05-25 22:08:43 -07:00
Andrew Lanzone
d6ed416402
Allow pinning map window in controller mode
2025-05-25 16:12:19 -07:00
uramer
fa3e8ea74d
Prevent conflicts between UI layer insertions
2025-05-25 12:32:29 +02:00
Andrew Lanzone
d6c23f7664
Add controller support to map's node dialog
2025-05-24 21:28:43 -07:00
Andrew Lanzone
cf26020ed6
Fix several minor issues with controller inventory menus
2025-05-24 20:56:43 -07:00
Andrew Lanzone
3eec24b2a6
Limit the size of controller-focused inventory windows on large screens
2025-05-24 20:08:45 -07:00
Andrew Lanzone
f1c34ea7b1
Add a tab bar above inventory to show active tab and change tabs with mouse
2025-05-24 16:00:13 -07:00
Andrew Lanzone
d759418f01
Add controller support for all four inventory menus
2025-05-24 14:17:41 -07:00
psi29a
8a10de5fed
Merge branch 'kaamatan-seminggu-lagi-8165' into 'master'
...
Remove redundant activate check in `activateBy` #8165
See merge request OpenMW/openmw!4690
2025-05-24 12:35:09 +00:00
Kuyondo
86783e8758
also for creatures
2025-05-23 23:46:42 +08:00
Kuyondo
2df7ded814
respawning npc respawns in origin cell
2025-05-23 18:15:24 +08:00
psi29a
42ca8e31eb
Merge branch 'equipunequip' into 'master'
...
Allow equip attach/detach keys to coincide with the start key
See merge request OpenMW/openmw!4691
2025-05-23 07:26:58 +00:00
Aussiemon
192cf1535b
Fix second instance of mPickpocketDetected set after use
2025-05-22 16:10:05 -06:00
Aussiemon
b5aaf4ca30
Fix mPickpocketDetected flag being set after use
2025-05-22 16:03:52 -06:00
Alexei Kotov
e3daff7b17
Support extended selection in the directory picker ( #8113 )
2025-05-22 15:49:54 +03:00
Alexei Kotov
e8b0ee874f
Launcher: Reload cells after a short delay ( #8478 )
2025-05-22 15:42:56 +03:00
Alexei Kotov
9387f50f77
Allow equip attach/detach keys to coincide with the start key
2025-05-22 04:53:34 +03:00
elsid
0fc22b2b2d
Check selected files existence in the reload cells thread
...
This reduces UI reponse time.
2025-05-21 22:11:22 +02:00
Kuyondo
30da6dc508
allow activateBy to trigger handlers
2025-05-22 02:45:29 +08:00
Andrew Lanzone
5e3a49ade5
Make right stick scroll dialog history
2025-05-20 22:41:17 -07:00
Andrew Lanzone
ba0a579371
Play correct sound and update button overlay when swapping between menus
2025-05-20 19:32:13 -07:00
Andrew Lanzone
23c733ef94
Use wrap helper function to simplify some controller handler logic
2025-05-20 00:27:14 -07:00
Andrew Lanzone
f03f242e4a
Allow controller to select choice text in dialogue
2025-05-20 00:12:34 -07:00
Andrew Lanzone
f36401438f
Move wrap function to windowbase so all windows can use it
2025-05-19 23:43:28 -07:00
Andrew Lanzone
0aad0d379a
Minimal controller support for dialog window
2025-05-18 22:45:22 -07:00
Andrew Lanzone
a144793753
Fix Y button changing character
2025-05-18 22:45:03 -07:00
Andrew Lanzone
f80d46dc94
Add controller support to count dialog
2025-05-18 15:34:22 -07:00
Andrew Lanzone
f15cc663ae
Remove old way of listening for gamepad mouse events
2025-05-18 01:42:11 -07:00
Andrew Lanzone
33a6189f7a
Consolidate all gamepad cursor listening in controllermanager
2025-05-18 01:27:38 -07:00
Andrew Lanzone
e01291ec4a
Add whole set of button icons
2025-05-17 22:32:03 -07:00
Andrew Lanzone
c0694d3c0e
Add overlay showing what controller buttons do
2025-05-16 21:41:28 -07:00
Andrew Lanzone
8c2ecc2a88
Allow LT and RT to toggle between open gui windows
2025-05-15 00:46:02 -07:00
Andrew Lanzone
f055ccf5ba
Update item view to allow controller support; test it in Container menu
2025-05-14 02:31:32 -07:00
psi29a
0251b7c820
Merge branch 'uneventful' into 'master'
...
Don't trigger cell change logic when the player isn't changing cells
Closes #8469
See merge request OpenMW/openmw!4657
2025-05-13 20:30:28 +00:00
Andrew Lanzone
77e17743f7
Only use bumpers to turn pages in books
2025-05-12 22:37:11 -07:00
Andrew Lanzone
65bab3858a
Add basic controller support to scrolls
2025-05-12 22:36:28 -07:00
Andrew Lanzone
9a72ecb61c
Don't close a book with A
2025-05-12 20:32:59 -07:00
Andrew Lanzone
9aff9cb48e
Swap Topics and Quests buttons
2025-05-12 20:31:15 -07:00
Andrew Lanzone
07be682b88
Better controller support for journal; mouse for topic index A-Z
2025-05-12 20:10:13 -07:00
Andrew Lanzone
fa52fea59b
Better joystick/mouse coordination in save game diaglog
2025-05-12 20:09:24 -07:00
Andrew Lanzone
a78bdee941
Reset selected button when confirmation dialog is reopened
2025-05-12 20:08:47 -07:00
Andrew Lanzone
4bad7a3074
Update character creation controller support to work better with gamepad mouse mode
2025-05-12 02:20:28 -07:00
Andrew Lanzone
83162477ec
Basic controller support for all character creation windows
2025-05-12 01:34:28 -07:00
Andrew Lanzone
c4a87cfe4d
Fix selecting saves with mouse controller
2025-05-11 22:59:11 -07:00
Andrew Lanzone
8f415ceab6
Convert UI widgets to local scrollbar implementation
2025-05-11 22:30:58 -07:00
Andrew Lanzone
b2620c861a
Add scrollbar override to capture mouse hover events
2025-05-11 22:24:05 -07:00
Andrew Lanzone
5e7761bef1
Add controller support to text input menu
2025-05-11 14:56:58 -07:00
Andrew Lanzone
1e200ed048
Add controller support to race menu
2025-05-11 14:48:42 -07:00
Andrew Lanzone
c9ce93a22f
Controller menus: don't wrap focus when only two buttons
2025-05-11 13:48:50 -07:00
Andrew Lanzone
4c5db612f0
Improve controller support for confirmation dialogs by highlighting selected choice
2025-05-11 00:32:29 -07:00
Andrew Lanzone
3b42d02cfc
Add controller support to message boxes
2025-05-11 00:20:31 -07:00
Andrew Lanzone
80166cddd0
Make main menu honor controller mouse clicks
2025-05-11 00:19:01 -07:00
Andrew Lanzone
be298f78cb
Basic controller support for the books
2025-05-10 23:17:23 -07:00
Andrew Lanzone
bb88becc2b
Basic controller support for the journal
2025-05-10 22:50:16 -07:00
Andrew Lanzone
58c4e0ddf7
Minimal controller bindings for save/load window
2025-05-10 01:41:53 -07:00
Andrew Lanzone
2970913d55
Minimal controller bindings for settings window
2025-05-09 23:44:06 -07:00
Andrew Lanzone
fc86878922
Allow exiting credits by pressing B
2025-05-09 23:43:29 -07:00
Andy Lanzone
b4e0590a10
Merge branch 'OpenMW:master' into master
2025-05-09 22:57:21 -07:00
Andrew Lanzone
a8824b46a8
Add first batch of controller-enabled windows
2025-05-09 22:56:04 -07:00
Evil Eye
9ea1afedcc
Merge branch 'baiki-isActive-kembalikan-bool' into 'master'
...
self:isActive() returns bool
See merge request OpenMW/openmw!4663
2025-05-09 15:17:08 +00:00
thagberg
883f9e5049
Fix anti-aliasing on macOS
...
Blitting to the resolve FBO in OSG::RenderStage was causing a GL_INVALID_FRAMEBUFFER_OPERATION due to a mismatch in attached colorbuffers between the FBOs bound in read and draw slots. This was because the normal attachment was invariantly attached to FBO_Interrupt, but not to other FBOs.
2025-05-07 16:31:22 -04:00
Kuyondo
77bd2250b0
isactive return bool now
2025-05-07 11:24:09 +08:00
Evil Eye
d1196ea667
Ignore resistances for base diseases
2025-05-06 20:09:48 +02:00
Andrew Lanzone
71aa11404c
Add checkbox to enable controller menus to openmw launcher.
2025-05-05 22:47:55 -07:00
elsid
4a18c23e2d
Wait for the reloading cells thread on DataFilesPage destruction
...
Run a single thread and notify it when it has to reload cells.
2025-05-04 21:59:49 +02:00
Evil Eye
87014016a2
Stop postponing physics for objects that _don't_ have physics
2025-05-03 17:25:27 +02:00
Evil Eye
57c40bc052
Don't trigger cell change logic when the player isn't changing cells
2025-05-03 16:26:39 +02:00
elsid
b5f8a0ecdb
Fix warning: -Wstring-compare
...
In file included from ../../../components/esm/defs.hpp:7,
from ../../../apps/components_tests/esm/test_fixed_string.cpp:1:
In function 'bool ESM::operator==(const FixedString<capacity>&, const char (&)[rhsSize]) [with long unsigned int capacity = 4; long unsigned int rhsSize = 12]',
inlined from 'virtual void {anonymous}::EsmFixedString_empty_strings_Test::TestBody()' at ../../../apps/components_tests/esm/test_fixed_string.cpp:82:13:
../../../components/esm/esmcommon.hpp:142:85: error: 'int strncmp(const char*, const char*, size_t)' of strings of length 0 and 4 and bound of 4 evaluates to nonzero [-Werror=string-compare]
142 | return strnlen(rhs, rhsSize) == strnlen(lhs.mData, capacity) && std::strncmp(lhs.mData, rhs, capacity) == 0;
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
2025-04-28 22:07:00 +02:00
Alexei Kotov
55107e0913
Merge branch 'idle_select_to_group_name' into 'master'
...
Use string_view for sIdleSelectToGroupName
See merge request OpenMW/openmw!4646
2025-04-28 03:02:17 +03:00
Alexei Kotov
58fcc8f66d
Require a non-empty argument in ShowMap ( #8466 )
2025-04-26 13:29:01 +03:00
elsid
fc4cc3255d
Do not build navmeshtool translation units twice
2025-04-24 23:03:07 +02:00
elsid
f487a6332b
Use string_view for sIdleSelectToGroupName
2025-04-24 23:01:30 +02:00
Kindi
0247082e19
fix signedness, remove extra semicolon, update offer
2025-04-24 20:24:55 +08:00
Sam Kaufman
1948ab21f7
Set SDL_HINT_MAC_OPENGL_ASYNC_DISPATCH.
...
This fixes bugs #8225 and #8462 .
2025-04-23 20:33:56 -07:00
Kindi
4b94b6f678
also update draganddrop and trade items
2025-04-23 21:19:52 +08:00
elsid
626d7b2282
Add missing TargetPolygonNotFound enum value to lua bindings
2025-04-21 16:36:19 +02:00
Kindi
bdf025a532
also update companion window and tradewindow
2025-04-21 19:33:31 +08:00
Kindi
a9870bbcde
update container window when item is added or removed
2025-04-21 19:33:22 +08:00
Kindi
15ceee4b1a
also update companion window and tradewindow
2025-04-21 19:29:57 +08:00
Kindi
0547f09bf0
update container window when item is added or removed
2025-04-21 19:29:57 +08:00
Evil Eye
05c624bc34
Merge branch 'rm_using_namespace_fallback' into 'master'
...
Remove redundant using namespace Fallback
See merge request OpenMW/openmw!4638
2025-04-21 08:39:48 +00:00
Aussiemon
22c01b22c1
Clang format
2025-04-19 23:06:30 -06:00
Aussiemon
085e5d1988
Calculate spell cost when building buying window
2025-04-19 22:31:58 -06:00
elsid
042c4b2b9d
Use static_assert for compile time check
2025-04-18 14:38:23 +02:00
elsid
0d5e9ef85f
Remove redundant using namespace Fallback
...
C++ has ADL to find overloads. using namespace does nothing in this
case.
2025-04-18 12:27:37 +02:00
psi29a
87d77a6882
Merge branch 'rippleshaders' into 'master'
...
Fix crash if ripple pipeline shaders are unavailable
See merge request OpenMW/openmw!4622
2025-04-17 09:26:12 +00:00
AnyOldName3
31fcc5e126
Add test for new ReadersCache functions
2025-04-11 17:30:56 +01:00
Alexei Kotov
ec77ec299d
Rescale the base travel cost by the number of followers ( #8446 )
...
Rather than the offered price.
2025-04-10 16:24:36 +03:00
psi29a
ea8369eff0
Merge branch 'dont-redraw-the-whole-gui-every-time-we-change-the-tiniest-thing' into 'master'
...
Be more careful when we tell Qt that data has changed
Closes #8405
See merge request OpenMW/openmw!4621
2025-04-09 11:19:32 +00:00
AnyOldName3
096759435a
Add progress bars where the launcher can be limited by IO
...
I tested this with a USB3 external hard drive.
These two places were the only ones where we're IO-bound and block the main thread, so they're the only ones that need progress bars.
If trying to replicate this test, then it's important to unplug the hard drive between each repeat.
Apparently Windows is excellent at disk caching these days as it takes a minute and a half to start the launcher with Total Overhaul on this drive when it's just been plugged in, but less time than the first launch after a reboot on an NVME drive once the cache has been warmed up.
2025-04-09 01:36:52 +01:00
psi29a
428044abe2
Merge branch 'moveoutalready' into 'master'
...
Open the data directory file picker at the last opened location
Closes #8426
See merge request OpenMW/openmw!4606
2025-04-07 11:04:26 +00:00
psi29a
bd1c2a11d7
Merge branch 'herbalfish' into 'master'
...
Fix some graphic herbalism issues
See merge request OpenMW/openmw!4624
2025-04-07 11:03:55 +00:00
psi29a
0c4c202998
Merge branch 'ifavideofallsintheforest' into 'master'
...
Pause menu video playback when OpenMW is minimized
Closes #8441
See merge request OpenMW/openmw!4625
2025-04-07 11:03:37 +00:00
Alexei Kotov
8419116cae
Fix crash if ripple pipeline shaders are unavailable
2025-04-07 03:31:32 +03:00
psi29a
8a0f513094
Merge branch 'fix_clang_tidy' into 'master'
...
Fix clang tidy checks
See merge request OpenMW/openmw!4619
2025-04-06 17:54:20 +00:00
Evil Eye
1667b11564
Pause menu video playback when OpenMW is minimized
2025-04-06 19:42:04 +02:00
psi29a
b29d89bd6a
Merge branch 'enchantment404' into 'master'
...
Allow referenced enchantments to be missing on equipped items
See merge request OpenMW/openmw!4617
2025-04-06 16:06:10 +00:00
Evil Eye
d826962eaa
Don't assume unresolved containers contain no visible items
2025-04-06 11:02:31 +02:00
AnyOldName3
7bad2864d9
Reuse QIcon
...
This saves more than 15% of launcher startup time on my machine (after the prior improvements - it's way less without those)
2025-04-06 02:40:42 +01:00
elsid
7c45a564a1
Fix clang-analyzer-deadcode.DeadStores
2025-04-05 12:55:17 +02:00
Evil Eye
15f4368fe6
Account for creatures not having a model in more places
2025-04-05 10:19:50 +02:00
Kindi
a5580718f7
clangformat
2025-04-05 11:26:34 +08:00
Alexei Kotov
065a388632
Allow enchantments to be missing on equipped items
2025-04-05 01:10:41 +03:00
Kindi
71a6b26b4f
add missing semicolon, add leading whitespace,
2025-04-04 19:47:47 +08:00
Kindi
0a49c5f71e
show global script variables in showVars
2025-04-04 15:36:01 +08:00
Kindi
0eb2ced072
update spell windows after selecting spell using quickkey
2025-04-04 12:58:07 +08:00
Alexei Kotov
468724075e
Restore 0.45.0 pin button visibility conditions ( #8437 )
2025-04-03 11:09:50 +03:00
Evil Eye
86426aa87b
Open the data directory file picker at the last opened location
2025-03-31 17:11:09 +02:00
elsid
a61ce111a5
Remove declaration without definition
2025-03-31 00:28:06 +02:00
psi29a
747771ac5e
Merge branch 'fontexport' into 'master'
...
Restore --export-fonts option functionality
See merge request OpenMW/openmw!4561
2025-03-27 11:04:35 +00:00
Alexei Kotov
652113c46d
Don't enable water collision when collision is disabled ( #8414 )
2025-03-24 21:26:37 +03:00
elsid
ada48d9021
Reduce a chance to have a deadlock in the AsyncNavMeshUpdater
...
* Do not fail tile generation if debug mesh writing fails.
* Mark some functions as noexcept to better crash than have a deadlock.
* Unlock tile and remove job if there on exception while processing it.
2025-03-23 23:33:40 +01:00
elsid
7112217adc
Use temporary directory for tests output
2025-03-23 23:33:40 +01:00
Evil Eye
73811b45b1
Clarify the resetInitialPosition loop
2025-03-23 21:44:04 +01:00
Evil Eye
88cac9b0fa
Reset initial wander position when commanding actors and don't create return packages when stacking actual ai packages
2025-03-23 18:25:20 +01:00
psi29a
d13f108779
Merge branch 'nbsp' into 'master'
...
Non-breaking space-related fixes (#8378 )
Closes #8378
See merge request OpenMW/openmw!4592
2025-03-23 16:27:07 +00:00
Alexei Kotov
7fb5d4f47a
Inform the player about both resting hindrances ( #8408 )
2025-03-23 03:38:21 +03:00
elsid
51258662b5
Support max log level for Recast via env variable
...
Do not write to log if log message level is greater than one speficied
in the OPENMW_RECAST_MAX_LOG_LEVEL env variable. Use Error by default.
2025-03-21 15:34:47 +01:00
Alexei Kotov
d6916c35bc
Only print the player name if it doesn't match the profile
2025-03-21 04:10:52 +03:00
Alexei Kotov
8634b6c3ac
Revise saved game dialog save info layout ( #8313 )
2025-03-21 03:18:32 +03:00
psi29a
241a24564a
Merge branch 'doubleexit' into 'master'
...
Don't assume there is a GUI mode in exitCurrentGuiMode (#8380 )
Closes #8380
See merge request OpenMW/openmw!4590
2025-03-18 13:16:23 +00:00
Alexei Kotov
cd3980eca4
Make figure space non-breaking
2025-03-18 10:29:29 +03:00
Alexei Kotov
b5a2a4e52d
Render no-break space in books, don't consider narrow NBSP breaking
2025-03-17 22:03:38 +03:00
Alexei Kotov
887e1c04ef
Spell buying window layout tweaks
2025-03-16 13:53:43 +03:00
Alexei Kotov
4db41c2111
Merchant repair menu layout tweaks
2025-03-16 13:16:59 +03:00
Alexei Kotov
e4ae0c9a95
Don't assume there is a GUI mode in exitCurrentGuiMode ( #8380 )
2025-03-16 09:06:01 +03:00
Evil Eye
2b5d076ff8
Merge branch 'followmeifyouwanttohit' into 'master'
...
Don't use attack strength as "hit ready" flag
See merge request OpenMW/openmw!4583
2025-03-15 12:02:35 +00:00
Alexei Kotov
34a5eb7512
Editor: Account for pixel ratio in instance mode mouse coordinates conversion ( #6573 )
2025-03-13 20:06:20 +03:00
Alexei Kotov
9f85e51934
Only log ripples pipeline once
2025-03-11 17:37:18 +03:00
Alexei Kotov
569ed4559f
Merge branch 'fix_msvc_warnings' into 'master'
...
Fix msvc warnings
See merge request OpenMW/openmw!4579
2025-03-11 00:55:32 +03:00
Alexei Kotov
5354a5f786
Don't use attack strength as "hit ready" flag
...
This unbreaks follow animations' strength dependence
2025-03-11 00:44:35 +03:00
psi29a
73bb17009e
Merge branch 'getsoundplaying' into 'master'
...
Don't require a reference for GetSoundPlaying (#8389 )
Closes #8389
See merge request OpenMW/openmw!4576
2025-03-10 08:13:23 +00:00
Alexei Kotov
3f63700e99
Improve topic and magic effect list padding accuracy
...
This also touches the quest list, but there are bigger problems with the journal than just padding
2025-03-10 05:48:54 +03:00
elsid
51d73e37df
Fix msvc warnings
...
components\lua\configuration.cpp(133): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
components\esm3\effectlist.cpp(35): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
components_tests\misc\testmathutil.cpp(54): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
components_tests\misc\testmathutil.cpp(62): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
components_tests\misc\testmathutil.cpp(131): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
components_tests\misc\testmathutil.cpp(135): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
components_tests\misc\testmathutil.cpp(135): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
components_tests\misc\testmathutil.cpp(139): warning C4305: 'argument': truncation from 'const double' to 'osg::Vec3f::value_type'
2025-03-09 17:55:17 +01:00
Alexei Kotov
a49a900a7b
Merge branch 'fix_lua_teleport' into 'master'
...
Merge deleted refs when unloading a cell (#8311 )
Closes #8311
See merge request OpenMW/openmw!4575
2025-03-09 15:51:01 +03:00
Alexei Kotov
8cb1838c4a
Don't require a reference for GetSoundPlaying ( #8389 )
2025-03-09 00:52:00 +03:00
elsid
f800f63ee5
Merge deleted refs when unloading a cell
...
To unload objects scheduled to be teleported.
2025-03-08 12:48:28 +01:00
elsid
5776eea1b0
Avoid accessing removed character on deleting last save
2025-03-08 00:34:27 +01:00
Alexei Kotov
5f92d520ee
Merge branch 'mainmembers' into 'master'
...
Fix more potential use-after-free issues
See merge request OpenMW/openmw!4566
2025-03-07 00:25:35 +03:00
Evil Eye
9bf6a15ff5
Force move the captured string
2025-03-06 17:32:56 +01:00
Alexei Kotov
59edf4750b
Fix Travel window header alignment
2025-03-06 01:16:45 +03:00
psi29a
95312139d5
Merge branch 'context_matters' into 'master'
...
Fix in-game actions not clearing because of input bindings only initializing in menu context
See merge request OpenMW/openmw!4570
2025-03-05 21:18:02 +00:00
Alexei Kotov
918a6352e4
Let cancelled bound item effect remain active for the frame
2025-03-05 23:53:31 +03:00
Alexei Kotov
5b18edf938
Interrupt bound item effect if equipment failed ( #8383 )
2025-03-05 20:24:02 +03:00
Alexei Kotov
97717e6fce
Merge branch 'fix_lua_vfs_crash' into 'master'
...
Fix crash on LuaManager::clear triggered by vfs (#8370 )
Closes #8370
See merge request OpenMW/openmw!4559
2025-03-05 04:51:47 +03:00
uramer
990096ff9b
Fix in-game actions not clearing because of input bindings only initializing in menu context
2025-03-04 21:08:26 +01:00
Alexei Kotov
61e2117e9d
Remove excessive spacing between travel destination and price
2025-03-04 04:03:37 +03:00
Evil Eye
b0e9df0139
Ensure class members are tied to the main Lua state
2025-03-03 19:37:07 +01:00
Evil Eye
f0cee09b7c
Extend lifetime of strings placed on the action queue
2025-03-03 19:36:54 +01:00
Alexei Kotov
6e9d15f91d
Merge branch 'keep-menu-actions-after-load' into 'master'
...
#8365 Keep MENU-registered input actions between games
See merge request OpenMW/openmw!4554
2025-03-03 18:10:12 +00:00
Alexei Kotov
dc3264a3a5
Restore --export-fonts option functionality
2025-03-02 22:33:06 +03:00
elsid
1bb3198b71
Fix crash on LuaManager::clear triggered by vfs
...
See https://gitlab.com/OpenMW/openmw/-/issues/8370#note_2370896069 .
=================================================================
==8699==ERROR: AddressSanitizer: heap-use-after-free on address 0x50800060d4b0 at pc 0x7254de50893e bp 0x7fffa97f9700 sp 0x7fffa97f96f0
READ of size 8 at 0x50800060d4b0 thread T0
#0 0x7254de50893d (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x6293d) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#1 0x7254de50ccad in lua_rawgeti (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x66cad) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#2 0x7254de5d4cab in luaL_unref (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x12ecab) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#3 0x5f96378dd1e9 in sol::stateless_reference::deref(lua_State*) const /home/elsid/dev/openmw/extern/sol3/sol/reference.hpp:440
#4 0x5f96378dd1e9 in sol::basic_reference<false>::deref() const /home/elsid/dev/openmw/extern/sol3/sol/reference.hpp:545
#5 0x5f96378dd1e9 in sol::basic_reference<false>::~basic_reference() /home/elsid/dev/openmw/extern/sol3/sol/reference.hpp:635
#6 0x5f96378dd1e9 in sol::basic_object_base<sol::basic_reference<false> >::~basic_object_base() /home/elsid/dev/openmw/extern/sol3/sol/object_base.hpp:33
#7 0x5f96378dd1e9 in sol::basic_object<sol::basic_reference<false> >::~basic_object() /home/elsid/dev/openmw/extern/sol3/sol/object.hpp:35
#8 0x5f96378dd1e9 in ~<lambda> /home/elsid/dev/openmw/apps/openmw/mwlua/vfsbindings.cpp:195
#9 0x5f96378dd1e9 in ~functor_function /home/elsid/dev/openmw/extern/sol3/sol/function_types_stateful.hpp:32
#10 0x5f96378dd1e9 in destroy_at<sol::function_detail::functor_function<MWLua::initVFSPackage(const Context&)::<lambda(sol::this_state, sol::object)>::<lambda()>, false, true> > /usr/include/c++/14.2.1/bits/stl_construct.h:88
#11 0x5f96378dd1e9 in destroy<sol::function_detail::functor_function<MWLua::initVFSPackage(const Context&)::<lambda(sol::this_state, sol::object)>::<lambda()>, false, true> > /usr/include/c++/14.2.1/bits/alloc_traits.h:599
#12 0x5f96378dd1e9 in user_alloc_destroy<sol::function_detail::functor_function<MWLua::initVFSPackage(const Context&)::<lambda(sol::this_state, sol::object)>::<lambda()>, false, true> > /home/elsid/dev/openmw/extern/sol3/sol/stack_core.hpp:460
#13 0x5f963a31e305 in int sol::detail::trampoline<int (*&)(lua_State*)>(lua_State*, int (*&)(lua_State*)) /home/elsid/dev/openmw/extern/sol3/sol/trampoline.hpp:158
#14 0x5f963a31e89c in sol::detail::c_trampoline(lua_State*, int (*)(lua_State*)) /home/elsid/dev/openmw/extern/sol3/sol/trampoline.hpp:183
#15 0x7254de4dc13a (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x3613a) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#16 0x7254de4deac4 (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x38ac4) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#17 0x7254de4df1a2 (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x391a2) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#18 0x7254de4e1cf2 (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x3bcf2) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#19 0x7254de4e2a37 (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x3ca37) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#20 0x7254de50f4a4 in lua_gc (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x694a4) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#21 0x5f96371f615c in MWLua::LuaManager::clear() /home/elsid/dev/openmw/apps/openmw/mwlua/luamanagerimp.cpp:348
#22 0x5f96371f91ea in MWLua::LuaManager::noGame() /home/elsid/dev/openmw/apps/openmw/mwlua/luamanagerimp.cpp:397
#23 0x5f963a1c7170 in MWState::StateManager::cleanup(bool) /home/elsid/dev/openmw/apps/openmw/mwstate/statemanagerimp.cpp:71
#24 0x5f963a1cabfe in MWState::StateManager::newGame(bool) /home/elsid/dev/openmw/apps/openmw/mwstate/statemanagerimp.cpp:169
#25 0x5f963a1c7aa4 in MWState::StateManager::update(float) /home/elsid/dev/openmw/apps/openmw/mwstate/statemanagerimp.cpp:761
#26 0x5f963a230bab in OMW::Engine::frame(unsigned int, float) /home/elsid/dev/openmw/apps/openmw/engine.cpp:238
#27 0x5f963a2442f3 in OMW::Engine::go() /home/elsid/dev/openmw/apps/openmw/engine.cpp:1032
#28 0x5f963633b3a7 in runApplication(int, char**) /home/elsid/dev/openmw/apps/openmw/main.cpp:228
#29 0x5f963b375b45 in Debug::wrapApplication(int (*)(int, char**), int, char**, std::basic_string_view<char, std::char_traits<char> >) /home/elsid/dev/openmw/components/debug/debugging.cpp:457
#30 0x5f9636331695 in main /home/elsid/dev/openmw/apps/openmw/main.cpp:240
#31 0x7254db435487 (/usr/lib/libc.so.6+0x27487) (BuildId: 0b707b217b15b106c25fe51df3724b25848310c0)
#32 0x7254db43554b in __libc_start_main (/usr/lib/libc.so.6+0x2754b) (BuildId: 0b707b217b15b106c25fe51df3724b25848310c0)
#33 0x5f9636331464 in _start (/home/elsid/dev/openmw/build/gcc/asan/openmw+0x10db464) (BuildId: ac74a52ca60e8913bef6eb6b3b23d6de648cf3c9)
0x50800060d4b0 is located 16 bytes inside of 96-byte region [0x50800060d4a0,0x50800060d500)
freed by thread T0 here:
#0 0x7254e2afc102 in free /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_malloc_linux.cpp:52
#1 0x5f963a2f84e7 in LuaUtil::LuaState::trackingAllocator(void*, void*, unsigned long, unsigned long) /home/elsid/dev/openmw/components/lua/luastate.cpp:107
#2 0x7254de4f7779 (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x51779) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#3 0x7254de4de7f3 (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x387f3) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#4 0x7254de4e1a9a (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x3ba9a) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#5 0x7254de4e2a37 (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x3ca37) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#6 0x7254de50f4a4 in lua_gc (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x694a4) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#7 0x5f96371f615c in MWLua::LuaManager::clear() /home/elsid/dev/openmw/apps/openmw/mwlua/luamanagerimp.cpp:348
#8 0x5f96371f91ea in MWLua::LuaManager::noGame() /home/elsid/dev/openmw/apps/openmw/mwlua/luamanagerimp.cpp:397
#9 0x5f963a1c7170 in MWState::StateManager::cleanup(bool) /home/elsid/dev/openmw/apps/openmw/mwstate/statemanagerimp.cpp:71
#10 0x5f963a1cabfe in MWState::StateManager::newGame(bool) /home/elsid/dev/openmw/apps/openmw/mwstate/statemanagerimp.cpp:169
#11 0x5f963a1c7aa4 in MWState::StateManager::update(float) /home/elsid/dev/openmw/apps/openmw/mwstate/statemanagerimp.cpp:761
#12 0x5f963a230bab in OMW::Engine::frame(unsigned int, float) /home/elsid/dev/openmw/apps/openmw/engine.cpp:238
#13 0x5f963a2442f3 in OMW::Engine::go() /home/elsid/dev/openmw/apps/openmw/engine.cpp:1032
#14 0x5f963633b3a7 in runApplication(int, char**) /home/elsid/dev/openmw/apps/openmw/main.cpp:228
#15 0x5f963b375b45 in Debug::wrapApplication(int (*)(int, char**), int, char**, std::basic_string_view<char, std::char_traits<char> >) /home/elsid/dev/openmw/components/debug/debugging.cpp:457
#16 0x5f9636331695 in main /home/elsid/dev/openmw/apps/openmw/main.cpp:240
#17 0x7254db435487 (/usr/lib/libc.so.6+0x27487) (BuildId: 0b707b217b15b106c25fe51df3724b25848310c0)
#18 0x7254db43554b in __libc_start_main (/usr/lib/libc.so.6+0x2754b) (BuildId: 0b707b217b15b106c25fe51df3724b25848310c0)
#19 0x5f9636331464 in _start (/home/elsid/dev/openmw/build/gcc/asan/openmw+0x10db464) (BuildId: ac74a52ca60e8913bef6eb6b3b23d6de648cf3c9)
previously allocated by thread T20 here:
#0 0x7254e2afc3c2 in realloc /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_malloc_linux.cpp:85
#1 0x5f963a2f7080 in LuaUtil::LuaState::trackingAllocator(void*, void*, unsigned long, unsigned long) /home/elsid/dev/openmw/components/lua/luastate.cpp:110
#2 0x7254de4e2fc8 (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x3cfc8) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#3 0x7254de4f7476 (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x51476) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#4 0x7254de50c456 in lua_newthread (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x66456) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#5 0x7254de5d53e5 (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x12f3e5) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
#6 0x7254de4dc0c5 (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x360c5) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
Thread T20 created by T0 here:
#0 0x7254e2af44cb in pthread_create /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_interceptors.cpp:245
#1 0x7254db6e2071 in __gthread_create /usr/src/debug/gcc/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:676
#2 0x7254db6e2071 in std:🧵 :_M_start_thread(std::unique_ptr<std:🧵 :_State, std::default_delete<std:🧵 :_State> >, void (*)()) /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/thread.cc:172
#3 0x5f96380fa2eb in thread<MWLua::Worker::Worker(MWLua::LuaManager&)::<lambda()> > /usr/include/c++/14.2.1/bits/std_thread.h:173
#4 0x5f96380fa2eb in MWLua::Worker::Worker(MWLua::LuaManager&) /home/elsid/dev/openmw/apps/openmw/mwlua/worker.cpp:18
#5 0x5f963a23faf4 in std::__detail::_MakeUniq<MWLua::Worker>::__single_object std::make_unique<MWLua::Worker, MWLua::LuaManager&>(MWLua::LuaManager&) /usr/include/c++/14.2.1/bits/unique_ptr.h:1077
#6 0x5f963a23faf4 in OMW::Engine::prepareEngine() /home/elsid/dev/openmw/apps/openmw/engine.cpp:920
#7 0x5f963a2413ae in OMW::Engine::go() /home/elsid/dev/openmw/apps/openmw/engine.cpp:952
#8 0x5f963633b3a7 in runApplication(int, char**) /home/elsid/dev/openmw/apps/openmw/main.cpp:228
#9 0x5f963b375b45 in Debug::wrapApplication(int (*)(int, char**), int, char**, std::basic_string_view<char, std::char_traits<char> >) /home/elsid/dev/openmw/components/debug/debugging.cpp:457
#10 0x5f9636331695 in main /home/elsid/dev/openmw/apps/openmw/main.cpp:240
#11 0x7254db435487 (/usr/lib/libc.so.6+0x27487) (BuildId: 0b707b217b15b106c25fe51df3724b25848310c0)
#12 0x7254db43554b in __libc_start_main (/usr/lib/libc.so.6+0x2754b) (BuildId: 0b707b217b15b106c25fe51df3724b25848310c0)
#13 0x5f9636331464 in _start (/home/elsid/dev/openmw/build/gcc/asan/openmw+0x10db464) (BuildId: ac74a52ca60e8913bef6eb6b3b23d6de648cf3c9)
SUMMARY: AddressSanitizer: heap-use-after-free (/home/elsid/dev/LuaJIT/build/gcc/asan/install/lib/libluajit-5.1.so.2+0x6293d) (BuildId: 1249151684379d19b11900f406fea9704a6375cb)
Shadow bytes around the buggy address:
0x50800060d200: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 fa
0x50800060d280: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 fa
0x50800060d300: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 fa
0x50800060d380: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 fa
0x50800060d400: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 fa
=>0x50800060d480: fa fa fa fa fd fd[fd]fd fd fd fd fd fd fd fd fd
0x50800060d500: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x50800060d580: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x50800060d600: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x50800060d680: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x50800060d700: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
==8699==ABORTING
2025-03-01 15:54:24 +01:00
elsid
d400c0959c
Hide main menu on new and loading game from menu scripts
2025-02-28 18:11:22 +01:00
Alexei Kotov
ec2c031792
Make powers immune to silence ( #8371 )
2025-02-27 18:27:10 +03:00
uramer
3a98b945a8
Keep MENU-registered input actions between games
2025-02-26 16:56:41 +01:00