36271 Commits

Author SHA1 Message Date
elsid
463de2d791
Instantly transfer items if alt key is pressed
Support player's inventory, container and companion windows with
dropping and picking up items from the world.

Add ItemTransfer class to handle transfers similar to DragAndDrop. When
a container window is opened the view is added to the set of targets and
removed when closed. If ALT is pressed instead of starting dragging an
item perform a transfer. If there is 1 target which is not a source move
item there. If there is no target drop item into the world using
WorldItemModel.

Special case is picking up an item. Don't start dragging, just update
the player's inventory view because the item is already there.
2025-07-12 13:34:59 +02:00
elsid
f5e66f3e24
Remove unused includes 2025-07-12 12:31:15 +02:00
elsid
eb7af832e4
Remove trailing spaces 2025-07-12 12:31:15 +02:00
elsid
a4af037293
Remove ContainerWindow::onTakeItem 2025-07-12 12:31:15 +02:00
elsid
bcfe06d85a
Use std::size_t for items count 2025-07-12 12:31:14 +02:00
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
Alexei Kotov
f4ff683905 Merge branch 'terrain_normals_fix' into 'master'
Fix terrain normal map handedness

Closes #8610

See merge request OpenMW/openmw!4775
2025-07-12 11:50:00 +03:00
Kuyondo
77c30a68c9 more similar to vanilla 2025-07-12 12:04:38 +08:00
wareya
869881d227 fix terrain normal map handedness 2025-07-11 12:23:22 -04: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
Alexei Kotov
1ce7110a9e Merge branch 'less-strict-dialogues' into 'master'
FIX: Skip only the current subrecord when reading quest status (Close #8333)

Closes #8333

See merge request OpenMW/openmw!4528
2025-07-10 20:14:53 +03:00
Alexei Kotov
6d74a4607c Restore some omitted object cache remarks that seemed useful 2025-07-10 17:25:27 +03:00
Florian Heberer
a00e5ec828 Add documentation for update function of Generic Object Cache 2025-07-10 17:18:18 +03:00
Dave Corley
7bc507eb58 FIX: Skip only the current subrecord when reading quest status 2025-07-10 17:08:47 +03: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
Alexei Kotov
f64f53341b Merge branch 'gen_mipmaps_after_draw' into 'master'
Generate mipmaps after we draw fullscreen geometry

See merge request OpenMW/openmw!4768
2025-07-10 10:06:07 +03:00
Andrei Kortunov
dca83c2500 Add resolution hints to launcher 2025-07-10 10:24:39 +04:00
Alexei Kotov
3789070ea2 Merge branch 'docs_less_padding' into 'master'
Tighten table padding and luadoc anchors

See merge request OpenMW/openmw!4767
2025-07-10 00:55:36 +03: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
Cody Glassman
759739ecca generate mipmaps after we draw, not before 2025-07-08 15:53:18 -07:00
Cody Glassman
3ec04f4ba7 docs - improve link contrast in dark mode 2025-07-08 14:15:37 -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
Cody Glassman
8b44b95830 docs - fix table padding and luadoc scroll padding 2025-07-08 11:26:16 -07: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
f87d6818b7 pressing enter for newline 2025-07-08 05:02:53 +08:00
Kuyondo
ede768532c cleanup 2 2025-07-08 03:48:40 +08:00
Alexei Kotov
f56d6e4c1e Merge branch 'changelog' into 'master'
Changelog sync

See merge request OpenMW/openmw!4761
2025-07-07 19:08:13 +03:00
AnyOldName3
1331318002 Add another v 2025-07-07 16:28:52 +01: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
Alexei Kotov
d5e3703aa8 Changelog sync for 0.50.0 2025-07-07 12:51:49 +03: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
Aussiemon
67795543a2 Revert "Fix unneeded runtime errors"
This reverts commit d207c2251ffe4693f73e275c8df95bc7127c0010.
2025-07-06 20:51:53 -06:00
Sarah Sunday
6a9b2d3302 [CI] Brew cleanup/simplify 2025-07-06 17:28:23 -05: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