1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-15 23:43:07 +00:00
Commit graph

23751 commits

Author SHA1 Message Date
Evil Eye
50ffc908e8 Use vformat_to and add more tests 2025-10-03 17:21:52 +02:00
Alexei Kotov
0eb1a79b00 Update encumbrance unconditionally (#8729)
The flag is only set when items are physically added/removed, which doesn't happen during barter
2025-10-02 08:29:24 +03:00
Alexei Kotov
f60875dd8f Merge branch 'soontm' into 'master'
Bump us up to 0.51

See merge request OpenMW/openmw!4900
2025-10-02 00:01:10 +03:00
Alexei Kotov
ae0886ae36 Make sure gamepad triggers can be bound (#8721) 2025-09-29 02:19:06 +03:00
Evil Eye
b2beb4a8f8 Don't break LuaUi::Element's invariant 2025-09-28 21:20:40 +02:00
psi29a
98973426a4 Merge branch 'dremoraspearsarepointy' into 'master'
Make Absorb Skill safe for creatures

Closes #8710

See merge request OpenMW/openmw!4926
2025-09-28 16:16:40 +00:00
Evil Eye
000c5d2a08 Ensure error marker assignment is thread safe 2025-09-25 20:47:10 +02:00
Evil Eye
d2958a17fa Make Absorb Skill safe for creatures 2025-09-22 22:13:03 +02:00
elsid
91ccb0fe8d
Use proper naming for BSA File and Hash members 2025-09-20 19:21:17 +02:00
Evil Eye
ff79c2d826 Turn menu.saveGame into a delayed action 2025-09-20 10:39:43 +00:00
Alexei Kotov
1182004937 Use l10n for inventory gamepad actions 2025-09-14 15:46:02 +03:00
Alexei Kotov
b0055ec8e7 Use l10n for map gamepad actions 2025-09-14 03:23:48 +03:00
Alexei Kotov
baf575e594 Add Sex into OpenMW
...as well as the other lines required to expose the race menu gamepad actions to l10n and use them
2025-09-14 01:41:11 +03:00
Kuyondo
4168b6d02e less restrictive probes and lockpicks equipping too 2025-09-11 22:08:58 +08:00
psi29a
9257beea4e Merge branch 'bmdhacks-controller-deslect-bug' into 'master'
Controller tooltip display preferences survive mouse movement

See merge request OpenMW/openmw!4858
2025-09-09 21:00:56 +00:00
bmdhacks
072504d3b7 fixed a tooltip bug in spell creation and made controller tooltip toggling a helper function in the window manager 2025-09-06 09:50:27 -07:00
Alexei Kotov
9a92904f11 Use l10n for inventory offer action 2025-09-05 10:11:10 +03:00
Alexei Kotov
1740e6bac4 Use l10n for stats window scroll down action 2025-09-05 10:00:15 +03:00
Alexei Kotov
3159c363a1 Use l10n for trading menu offer action 2025-09-05 09:49:05 +03:00
Alexei Kotov
bd4d844b87 Use l10n for repair gamepad actions 2025-09-05 09:33:22 +03:00
Alexei Kotov
b7d9d01cc8 Use l10n for wait dialog gamepad actions 2025-09-05 09:29:34 +03:00
Alexei Kotov
1ab32749ee Use l10n for travel travel window action 2025-09-05 09:20:16 +03:00
Alexei Kotov
43617286fb Use l10n for scroll down scroll gamepad action 2025-09-05 09:16:21 +03:00
bmdhacks
81fc72a5b8 clang-format 2025-09-04 18:30:35 -07:00
bmdhacks
cf51812a6f Controller cursor highlight fixes
This resolves two issues:
1) Ensure that cursor tooltips stay displayed when buying spells or selling or consuming items and any other place where actions can highlight new items.
2) Ignore small mouse movements if we've just warped the mouse pointer a long distance.  This resolves an issue where slight cursor wiggle will trigger after changing the dpad highlight.
2025-09-04 18:12:58 -07:00
bmdhacks
12aef44fe1 Controller tooltip display preferences survive mouse movement 2025-09-04 18:12:58 -07:00
Alexei Kotov
cac8d59db9 Use l10n for journal gamepad actions 2025-09-05 00:44:58 +03:00
Alexei Kotov
4252098919
Merge branch 'gamepadactionl10n' into 'master'
Translate gamepad actions, part 2

See merge request OpenMW/openmw!4907
2025-09-04 23:41:28 +03:00
Kuyondo
d78480120d readable if statement 2025-09-03 16:30:36 +08:00
Evil Eye
3ec0812b91 Don't reference a potential end iterator 2025-09-02 17:39:35 +02:00
Evil Eye
14e1ec6d87 Use pathhelpers to populate Collections 2025-09-01 17:57:44 +02:00
Alexei Kotov
253ac42520 Use newly exposed UI action lines in more menus 2025-09-01 18:00:54 +03:00
Alexei Kotov
ea3240ce03 Merge branch 'vfs_normalized_path_23' into 'master'
Use normalized path in Lua vfs bindings (#8138)

See merge request OpenMW/openmw!4903
2025-09-01 15:06:27 +03:00
Alexei Kotov
77f36dcdac Merge branch 'gamepadactionl10n' into 'master'
Translate gamepad actions, part 1

See merge request OpenMW/openmw!4888
2025-09-01 15:06:02 +03:00
psi29a
1d08d3b900 Merge branch 'itemusage' into 'master'
Drop objects that cannot be equipped after Lua lets us equip them (#8675)

Closes #8675

See merge request OpenMW/openmw!4870
2025-08-31 18:00:29 +00:00
psi29a
0ab79c4370 Merge branch 'formatcomponents' into 'master'
Remove StringUtils::format from components

See merge request OpenMW/openmw!4880
2025-08-31 17:59:35 +00:00
psi29a
b0a27fd041 Merge branch 'encumbrance' into 'master'
Properly detect overencumbrance for zero capacity again

See merge request OpenMW/openmw!4883
2025-08-31 17:59:24 +00:00
Kuyondo
ff40de89aa less restrictive ammo usage 2025-08-31 18:14:49 +08:00
Evil Eye
5d4fc96062 Bump us up to 0.51 2025-08-30 14:21:31 +02:00
Evil Eye
a0863290be Merge branch 'rm_small_tu' into 'master'
Remove small translation units

See merge request OpenMW/openmw!4895
2025-08-30 07:45:30 +00:00
elsid
1348065be3
Use normalized path in Lua vfs bindings 2025-08-29 22:47:00 +02:00
Nelsson Huotari
5b01ca99f8 Merge branch 'smoothheightcrashesagain' into 'master'
Editor: Fix crash if the smoothed terrain vertex belongs to an unloaded cell (#8686)

Closes #8686

See merge request OpenMW/openmw!4891
2025-08-29 20:06:34 +00:00
elsid
dea69b229c
Remove small translation units
Remove .cpp files with small amount of code which don't have additional
includes compared to corresponding .hpp files. This reduces the total
size of preprocessed code of the project and should reduce compilation
time.
2025-08-29 00:41:47 +02:00
Alexei Kotov
60d31e978a Merge branch 'parameter_naming' into 'master'
Fix and enforce parameter naming (#8424)

See merge request OpenMW/openmw!4890
2025-08-28 14:10:44 +03:00
Cody Glassman
bfc25a3194 Make most weather bindings read/write 2025-08-28 03:22:33 +03:00
Alexei Kotov
35cc6e6daf Editor: Fix crash if the smoothed terrain vertex belongs to an unloaded cell (#8686) 2025-08-27 16:30:56 +03:00
elsid
0f36b7fc97
Fix and enforce parameter naming 2025-08-27 12:45:09 +02:00
Alexei Kotov
12b2887e58 Fix build 2025-08-27 04:22:17 +03:00
Alexei Kotov
49d769cb7e Update English/French/Russian Interface translations
Rename Soul line to be more generic and appropriate to the contents
2025-08-27 03:36:07 +03:00
Alexei Kotov
d3f2607d34 Expose dialogue and enchanting actions to l10n 2025-08-27 03:36:07 +03:00
Alexei Kotov
0b99fafd01 Expose class dialog, companion and container actions to l10n 2025-08-27 03:36:07 +03:00
Alexei Kotov
cc541ec0eb Expose alchemy, birthsign and book actions to l10n 2025-08-27 03:36:07 +03:00
psi29a
0c95d62e89 Merge branch 'necromanticnightmare' into 'master'
Don't add magic effects to dead actors

Closes #8680

See merge request OpenMW/openmw!4882
2025-08-26 06:55:47 +00:00
Evil Eye
79a1f1c3d2 Address feedback 2025-08-25 16:46:04 +02:00
psi29a
5fa6325695 Merge branch 'iternomore' into 'master'
Remove journal iterator methods

See merge request OpenMW/openmw!4865
2025-08-25 07:24:36 +00:00
Alexei Kotov
b590cd3421 Merge branch 'shuriken' into 'master'
Pass ammo to Hit handler by record id

Closes #8664

See merge request OpenMW/openmw!4879
2025-08-25 09:14:51 +03:00
Alexei Kotov
23ef33b08f Properly detect overencumbrance for zero capacity again 2025-08-24 23:18:32 +03:00
Evil Eye
49de215112 Don't add magic effects to dead actors 2025-08-24 19:03:53 +02:00
Evil Eye
44fe703827 Use correct string types in SettingsWindow 2025-08-24 16:05:41 +02:00
Evil Eye
2321086876 Replace StringUtils::format in components/misc 2025-08-24 16:01:17 +02:00
Evil Eye
a4375cfd8d Remove unused include 2025-08-24 10:02:22 +02:00
Evil Eye
52adca2291 Change Class::onHit to take a weapon id 2025-08-24 09:45:20 +02:00
Evil Eye
592b648c3e Pass ammo to Hit handler by record id 2025-08-23 21:56:38 +02:00
Evil Eye
0ab0e9abd7 Add format tests 2025-08-23 19:51:31 +02:00
Cody Glassman
d72451da62 remove unecassary visitor for soft particles 2025-08-23 09:09:18 -07:00
psi29a
14d9be7885 Merge branch 'thegaidenshinjieffect' into 'master'
Use std::string_view and std::format in components/fx

See merge request OpenMW/openmw!4857
2025-08-23 09:54:09 +00:00
Evil Eye
9d63c34c47 Reuse quest name 2025-08-23 11:00:49 +02:00
Alexei Kotov
601b4cb6b1 Merge branch 'thewayisshut' into 'master'
Check for nullptr before dereferencing pathgrids

Closes #8663

See merge request OpenMW/openmw!4849
2025-08-22 07:57:14 +03:00
Alexei Kotov
e0d51d42e8 Correct some weapon equipment discrepancies
Use the right message and don't disable sound for forced equipment
2025-08-22 07:27:39 +03:00
Alexei Kotov
8232c473d0 Drop objects that cannot be equipped *after* Lua lets us equip them (#8675)
Ensure broken weapons/armor are dropped
2025-08-22 05:41:25 +03:00
Evil Eye
8caf68ad30 Count pathgrids with 0-1 nodes as non-existent 2025-08-20 21:47:57 +02:00
Evil Eye
15eecec196 Remove journal iterator methods 2025-08-20 17:39:12 +02:00
Alexei Kotov
4fd9e5b2bb Merge branch 'fix_shadow_warning' into 'master'
Add and fix -Wshadow

See merge request OpenMW/openmw!4859
2025-08-20 18:31:37 +03:00
Alexei Kotov
ecd039ac63 Merge branch 'lambdasareapathwaytomanyabilitiessomeconsidertobeunnatural' into 'master'
Require cell arguments for Lua weather functions

Closes #8666

See merge request OpenMW/openmw!4853
2025-08-20 11:00:31 +03:00
psi29a
792e494335 Merge branch 'theimpossibletrap' into 'master'
Don't use ESM::Spell::mData::mCost directly

See merge request OpenMW/openmw!4854
2025-08-18 19:26:33 +00:00
psi29a
54b130c5aa Merge branch 'formattedtooltips' into 'master'
Use std::string_view and std::format in MWGui::ToolTips

See merge request OpenMW/openmw!4855
2025-08-18 19:26:16 +00:00
psi29a
80ac098e28 Merge branch 'magicfiltering' into 'master'
Apply filtering settings to overriding textures (#8560)

Closes #8560

See merge request OpenMW/openmw!4860
2025-08-18 19:26:01 +00:00
elsid
3067294f0d
Add and fix -Wshadow 2025-08-18 21:09:06 +02:00
Evil Eye
a6c942b33a Account for numeric precision and infinities. Also pretend to be more like GLSL 2025-08-18 19:52:28 +02:00
elsid
d84c81a85d
Check if reload cells aborted before cv wait
If mAbortReloadCells is set to true before the first mReloadCellsMutex
lock the loop can become infinite. Unlikely to happen in practice but
theoretically possible.
2025-08-17 12:44:15 +02:00
Evil Eye
aa9978d720 Expose getCurrentSunLightDirection in interiors and use perfect forwarding 2025-08-17 08:25:05 +02:00
Alexei Kotov
f369a2ff85 Apply filtering settings to overriding textures (#8560) 2025-08-17 07:16:06 +03:00
Evil Eye
cf3d0b7dd3 Use std::format in components/fx 2025-08-16 13:46:34 +02:00
Evil Eye
b7997a5e88 Use a simpler way of formatting floats 2025-08-16 11:33:58 +02:00
Evil Eye
eb01a302f1 Use a custom formatter to limit float precision 2025-08-16 09:22:54 +02:00
Evil Eye
d4a1061354 Use std::string_view in MWGui::ToolTips 2025-08-16 09:05:54 +02:00
Evil Eye
6150fe81c7 Use std::format in MWGui::ToolTips 2025-08-16 09:02:03 +02:00
Evil Eye
e4adf9e064 Don't use ESM::Spell::mData::mCost directly 2025-08-15 16:29:13 +02:00
Alexei Kotov
9610be7c8a Merge branch 'coveritymovesme' into 'master'
Address more simple Coverity defects

See merge request OpenMW/openmw!4851
2025-08-15 16:14:31 +03:00
Evil Eye
ead19d099a Require cell arguments for Lua weather functions 2025-08-15 13:17:17 +02:00
psi29a
ac2627a7b7 Merge branch 'regions_lua' into 'master'
Add regions record store in lua

Closes #7879

See merge request OpenMW/openmw!4743
2025-08-15 07:12:17 +00:00
psi29a
8622dacaea Merge branch '8551-orang-kk' into 'master'
Fix loss of quick key bindings for temporary or missing items

See merge request OpenMW/openmw!4780
2025-08-15 06:49:51 +00:00
psi29a
72bf7673f4 Merge branch 'formattool' into 'master'
Use std::format in esmtool

See merge request OpenMW/openmw!4841
2025-08-14 16:25:09 +00:00
Alexei Kotov
488f73c5da Merge branch 'bmdhacks-skill-controller-crash' into 'master'
fix a crash in skill selection dialog due to uninitialized controller data

See merge request OpenMW/openmw!4843
2025-08-14 16:37:57 +03:00
Alexei Kotov
a049f3c3a8 Merge branch 'bmdhacks-lua-doublepress' into 'master'
Controller Input: Fix Lua dialogs from causing a double-press

See merge request OpenMW/openmw!4844
2025-08-14 15:45:43 +03:00
Evil Eye
450f907166 Adjust documentation and bump API revision 2025-08-14 14:01:15 +02:00
Kuyondo
bc2f948abe add warning if id of quickkey is non-existent 2025-08-14 19:47:21 +08:00
SkyHasACat
50ebf304c7 Formatting 2025-08-14 13:42:52 +02:00
SkyHasACat
1b5450557e Don't hardcode weather ids 2025-08-14 13:42:52 +02:00
SkyHasACat
fe48e2c9ae Fixed properly 2025-08-14 13:42:52 +02:00