1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-17 02:46:34 +00:00
Commit graph

23669 commits

Author SHA1 Message Date
psi29a
a1d9cbd47c Merge branch 'sounds-page-engoodening' into 'master'
Clean up launcher audio tab formatting

See merge request OpenMW/openmw!4833
2025-08-12 07:50:06 +00:00
psi29a
8f8723e2fc Merge branch 'topurgeornottopurge' into 'master'
Improve parity around spell store based effects

Closes #8309

See merge request OpenMW/openmw!4827
2025-08-12 07:48:41 +00:00
bmdhacks
80a29ab57b bulk initialize controller focus to zero 2025-08-11 17:08:17 -07:00
Kuyondo
41e2282501 fix #8659 2025-08-11 22:16:10 +08:00
Alexei Kotov
2bb1c4810d Fix some dangling window pointer use on exit 2025-08-11 13:52:51 +03:00
epochwon
363a6e0aa0 clean up audio page formatting 2025-08-11 08:13:02 +03:00
bmdhacks
d05bb877fe fix a double-press bug where controller input on Lua dialog boxes was being broadcast down into whatever the last open dialog box was. 2025-08-10 17:27:36 -07:00
bmdhacks
1b34248ef6 fix a crash in skill selection dialog due to uninitialized controller data 2025-08-10 17:05:37 -07:00
Evil Eye
a7ba54c361 Use std::format in esmtool 2025-08-10 12:03:34 +02:00
Bret Curtis
23fb414fd4 use std::string_view instead 2025-08-07 17:18:53 +02:00
Bret Curtis
7ff139e7b1 Fix PPA GCC-15 build failure with ButtonDefinition 2025-08-07 15:45:41 +02:00
psi29a
d46e68a4d5 Merge branch 'unawarenesstraining' into 'master'
Cache awareness rolls for 5 seconds to make sneaking easier

See merge request OpenMW/openmw!4434
2025-08-07 08:13:50 +00:00
elsid
2b88a620f5
Fix build with msvc
openmw\apps\openmw\mwgui\controllerbuttonsoverlay.hpp(75): error C2079: 'MWGui::ControllerButtonsOverlay::mButtons' uses undefined class 'std::array<MWGui::ControllerButtonsOverlay::ButtonWidgets,15>'
2025-08-06 22:19:49 +02:00
Evil Eye
a085036a92 Resolve a number of Coverity defects 2025-08-06 19:52:09 +02:00
Evil Eye
60d5e4d30b Merge branch 'local_variable_naming' into 'master'
Fix and enforce local variable naming (#8424)

See merge request OpenMW/openmw!4832
2025-08-06 17:50:33 +00:00
Alexei Kotov
5ad9010e07 Merge branch 'dont-take-away-my-individuality' into 'master'
FIX: Track the highest local refNum during plugin loading and increment it for each cloned/created reference

Closes #8620

See merge request OpenMW/openmw!4781
2025-08-06 09:53:06 +03:00
Andrew Lanzone
e4cc3adc98 Merge branch 'master' of https://gitlab.com/OpenMW/openmw 2025-08-05 17:32:50 -07:00
Dave Corley
d68b774c10 CLEANUP: Don't handle refnums during saving at all 2025-08-05 14:16:44 -07:00
elsid
d121b606b6
Fix and enforce local variable naming 2025-08-05 21:27:48 +02:00
Evil Eye
4344dc6e00 Don't init custom data when checking container resolution 2025-08-05 19:10:48 +02:00
psi29a
aca6532044 Merge branch 'createnewpeople' into 'master'
Allow creating new NPC records via lua

See merge request OpenMW/openmw!4825
2025-08-05 07:25:07 +00:00
Andrew Lanzone
c293c76bd7 Remove hardcoded row/column values in some controller menus 2025-08-04 19:10:07 -07:00
Andrew Lanzone
8e76a0ab06 Merge branch 'master' of https://gitlab.com/OpenMW/openmw 2025-08-04 16:44:12 -07:00
SkyHasACat
493f70a661 Formatting 2025-08-04 11:10:06 -07:00
SkyHasACat
e74167c7b7 Revert bad change, do actual fix 2025-08-04 11:09:26 -07:00
SkyHasACat
1a886db951 Merge namespace, remove redundant 2025-08-04 10:41:31 -07:00
SkyHasACat
7a5fe778bc Add validation 2025-08-04 10:04:34 -07:00
SkyHasACat
aa545467fd Remove unused 2025-08-04 09:56:58 -07:00
SkyHasACat
4c5118a24b Fix rank 2025-08-04 08:43:37 -07:00
SkyHasACat
2ab87f2d22 Use namespace for servicesoffered 2025-08-04 08:35:13 -07:00
SkyHasACat
b2746a7b4b Fix autocalc, remove thing 2025-08-04 08:27:26 -07:00
Evil Eye
0c4da49c74 Merge branch 'fix_msvc_warnings' into 'master'
Fix msvc warnings

See merge request OpenMW/openmw!4829
2025-08-04 14:56:59 +00:00
Alexei Kotov
aae81264a2 Merge branch 'skibidi-dop-doppler' into 'master'
Doppler, take two

See merge request OpenMW/openmw!4660
2025-08-04 09:24:50 +03:00
SkyHasACat
afb7f1da54 Fix formatting 2025-08-03 21:39:44 -07:00
SkyHasACat
99ae52e94c Add fields to record 2025-08-03 13:42:04 -07:00
psi29a
cc2ec85244 Merge branch 'tex' into 'master'
ESM4 landscape texturing

See merge request OpenMW/openmw!4799
2025-08-03 19:56:34 +00:00
SkyHasACat
a0585949a9 Remove dead code, fix grammer 2025-08-03 12:50:57 -07:00
SkyHasACat
4a2f85cfde Merge remote-tracking branch 'origin/master' into createnewpeople 2025-08-03 12:14:10 -07:00
Evil Eye
c77a849e9e Merge branch 'cleanup_includes' into 'master'
Cleanup includes

See merge request OpenMW/openmw!4828
2025-08-03 19:11:55 +00:00
SkyHasACat
d7a411cc72 Suggested fixes 2025-08-03 11:44:45 -07:00
elsid
555a10f50c
Fix msvc warnings
openmw\apps\opencs\model\world\idcollection.cpp(65): warning C4457: declaration of 'index' hides function parameter

openmw\apps\openmw\mwscript\miscextensions.cpp(627): warning C4456: declaration of 'effect' hides previous local declaration
2025-08-03 14:22:38 +02:00
psi29a
b9a28dab3e Merge branch 'thread_safe_static_init' into 'master'
Do thread safe local static based initialization

See merge request OpenMW/openmw!4822
2025-08-03 10:55:50 +00:00
SkyHasACat
ae9c42e0a0 Merge remote-tracking branch 'origin/master' into spellgc 2025-08-02 15:08:25 -07:00
Andrew Lanzone
7e9d4795ba Fix range check in journal window 2025-08-02 09:11:30 -07:00
Andrew Lanzone
3147aea0ed Better dead zone handling 2025-08-02 09:00:59 -07:00
SkyHasACat
d40a78e8ac Player shennanigans 2025-08-02 06:32:46 -07:00
SkyHasACat
31abd366ff no const 2025-08-02 06:25:14 -07:00
SkyHasACat
7c665643ad Use overload 2025-08-02 06:08:29 -07:00
SkyHasACat
5203f300e2 Requested changes 2025-08-02 05:33:27 -07:00
elsid
e87b95f642
Use forward declaration for context and sol 2025-08-02 12:45:03 +02:00
elsid
a2bc1569e0
Remove unused includes 2025-08-02 12:45:03 +02:00
Evil Eye
5ea3cca83b Remove spell effects on RemoveSpell 2025-08-02 12:16:46 +02:00
Evil Eye
c89f88c4e6 Allow removed abilities to be detected 2025-08-02 12:01:37 +02:00
psi29a
cc68316f72 Merge branch 'lua-jail-skills' into 'master'
Bring jail time skill changes over to lua

Closes #8399

See merge request OpenMW/openmw!4593
2025-08-02 08:39:14 +00:00
Mads Buvik Sandvei
978d8668f4 Bring jail time skill changes over to lua 2025-08-02 08:39:13 +00:00
Alexei Kotov
4c4d6078d8 Training menu fixes (#8584)
Rework the layout
Use "OK" instead of "Cancel" for the OK button
Add gp to the price
Use entry spacing consistent with other service menus
2025-08-02 03:47:22 +03:00
SkyHasACat
1986891e79 different empty line? 2025-08-01 16:51:10 -07:00
SkyHasACat
c139680ce3 Add line 2025-08-01 16:49:19 -07:00
SkyHasACat
f2cfaac4b8 Fix clang 2025-08-01 16:46:25 -07:00
SkyHasACat
1fbbaefb47 Remove unrelated change, doc 2025-08-01 16:45:24 -07:00
SkyHasACat
5209685783 revert some changes 2025-08-01 16:40:30 -07:00
SkyHasACat
64a45f8aeb Change world store insert 2025-08-01 16:30:16 -07:00
SkyHasACat
abb381a163 Fix issues 2025-08-01 16:10:49 -07:00
SkyHasACat
2cd4b643d0 npc stuff 2025-08-01 15:18:55 -07:00
Petr Mikheev
0b5c8271e0 ESM4 landscape textures 2025-08-01 18:45:24 +02:00
elsid
0801e0512d
Do thread safe local static based initialization 2025-08-01 11:48:35 +02:00
psi29a
b160cee0b7 Merge branch 'sonarview' into 'master'
Address string_view conversions flagged by SonarQube

See merge request OpenMW/openmw!4693
2025-08-01 08:06:36 +00:00
psi29a
2a8dc56619 Merge branch 'pedanticmsvc' into 'master'
Resolve unused code warnings when compiling in Debug mode using MSVC

See merge request OpenMW/openmw!4820
2025-08-01 08:06:11 +00:00
Andrew Lanzone
2e5836a748 Remove hardcoded map size 2025-07-31 23:58:00 -07:00
Andrew Lanzone
d49a6a119b Fix clang warnings 2025-07-31 22:27:31 -07:00
Andrew Lanzone
f453ce27a0 Remove uses of std::variant and std::holds_alternative because they're not supported on Ubuntu 2025-07-31 22:22:21 -07:00
Andrew Lanzone
666f154082 Fix clang warnings in Ubuntu 2025-07-31 22:13:56 -07:00
Andrei Kortunov
645eb81133 Run onUpdate when the game is paused 2025-08-01 04:18:03 +03:00
Andy Lanzone
59aba3ae7e Merge branch openmw:master into master 2025-07-31 18:02:10 -07:00
Andrew Lanzone
a134f8d882 Fix clang warning 2025-07-31 18:01:08 -07:00
Andrew Lanzone
5de1ae7b24 Simplify controller button overlay even more 2025-07-31 17:52:35 -07:00
Andrew Lanzone
23e3d0b49a Initialize inventory tabs in a loop 2025-07-31 17:50:14 -07:00
epochwon
b792bc0ee2 fixes + russian line 2025-07-31 11:14:08 -04:00
psi29a
405388b89f Merge branch 'scripteditorplz' into 'master'
Improve multiline script editing

Closes #8579

See merge request OpenMW/openmw!4728
2025-07-31 07:21:06 +00:00
Mads Buvik Sandvei
34eb3d485d [Lua] Partially dehardcode onHit 2025-07-30 20:21:15 +00:00
epochwon
aae21c6f53 Get physics fps delta time from physics system 2025-07-30 14:51:18 -04:00
Evil Eye
bc05628fa8 Resolve unused code warnings when compiling in Debug mode using MSVC 2025-07-30 20:44:59 +02:00
Evil Eye
ee540039a1 Address string_view conversions flagged by SonarQube 2025-07-30 19:37:37 +02:00
Evil Eye
27ee192354 Set default hotkeys for (un)commenting script lines 2025-07-30 16:58:32 +02:00
Evil Eye
aefa0ec1c4 Add multiline (un)indent behaviour to the script editor 2025-07-30 16:58:32 +02:00
epochwon
57280eaf9d Update Doppler description + Russian line 2025-07-30 10:28:41 -04:00
Alexei Kotov
399ec4eccc Merge branch 'qt6' into 'master'
Drop support for Qt5

Closes #8578

See merge request OpenMW/openmw!4742
2025-07-30 13:26:46 +03:00
Andrew Lanzone
582b409f7f Fix right stick from causing mouse to appear in controller mode 2025-07-29 19:29:20 -07:00
Andrew Lanzone
5d5d14a5a6 Fix spurious button presses causing controller tooltip to wiggle 2025-07-29 17:28:52 -07:00
Alexei Kotov
b0e8544d58 Merge branch 'addthoseactivespells' into 'master'
Remove minimum duration from continuous effects and add clarification to the docs

Closes #8641

See merge request OpenMW/openmw!4817
2025-07-29 23:36:39 +03:00
psi29a
b937b0271f Merge branch 'fightthechameleon' into 'master'
Prevent witnesses from ending combat because they didn't get hit

See merge request OpenMW/openmw!4814
2025-07-29 07:43:59 +00:00
Alexei Kotov
45a7040bc7 Merge branch 'fix_tests' into 'master'
Make tests more stable

See merge request OpenMW/openmw!4818
2025-07-29 08:05:58 +03:00
AnyOldName3
7c3fa3c89f Merge branch 'classheader' into 'master'
Some include cleanup

See merge request OpenMW/openmw!4815
2025-07-28 22:35:24 +00:00
elsid
70207750f2
Make tests more stable 2025-07-28 20:23:45 +02:00
Evil Eye
395f6811c9 Remove minimum duration from continuous effects and add clarification to the docs 2025-07-28 18:59:23 +02:00
psi29a
176dab5b3d Merge branch 'nomagnitudeforyou' into 'master'
Don't multiply magnitudes for effects that don't have magnitudes

Closes #8540

See merge request OpenMW/openmw!4810
2025-07-28 15:59:13 +00:00
psi29a
e304ceb449 Merge branch 'fix_init' into 'master'
Do not copy cell store to count refs

See merge request OpenMW/openmw!4813
2025-07-28 15:58:46 +00:00
psi29a
4efc8bf99d Merge branch 'fix_clang_tidy' into 'master'
Fix clang tidy warnings

See merge request OpenMW/openmw!4811
2025-07-28 15:55:53 +00:00
Alexei Kotov
0a8373987d Merge branch 'aiwander' into 'master'
Build checkpoints based path for wandering actors (#8433)

Closes #8433

See merge request OpenMW/openmw!4652
2025-07-28 00:48:17 +03:00
Andrew Lanzone
7b9958247a Null ControllerButtons pointers are supported; they hide the button overlay 2025-07-27 14:08:13 -07:00
Andy Lanzone
31580ffb71 Merge branch openmw:master into master 2025-07-27 13:21:40 -07:00
Andrew Lanzone
dc2ff4bfa2 Rename ControllerButtonStr struct and its internal fields 2025-07-27 13:14:31 -07:00
Alexei Kotov
272e6fabf9 Turn GreetingState into enum class and cut some mechanics manager includes 2025-07-27 23:02:06 +03:00
Andrew Lanzone
9870605aab Update enum defintion for ControllerAction 2025-07-27 12:57:56 -07:00
Andrew Lanzone
2d5ec48892 Fix default return type for getControllerAxisIcon 2025-07-27 12:56:56 -07:00
Evil Eye
f6a6a33c59 Prevent witnesses from ending combat because they didn't get hit 2025-07-27 21:12:52 +02:00
Alexei Kotov
ee501d8d0d Remove some redundant class header includes 2025-07-27 22:02:02 +03:00
elsid
e77ee5c20f
Do not copy cell store to count refs 2025-07-27 18:40:39 +02:00
psi29a
2051d5cbef Merge branch 'master' into 'master'
Fixed Unit Test in `apps/openmw_tests/mwworld/testptr.cpp`

See merge request OpenMW/openmw!4807
2025-07-27 16:33:39 +00:00
Claire
af58da58fd Fixed Unit Test in apps/openmw_tests/mwworld/testptr.cpp 2025-07-27 16:33:38 +00:00
psi29a
7637ca536b Merge branch 'turnedwerewolf' into 'master'
Remove completion threshold-based turning for the player (#8447)

Closes #8447

See merge request OpenMW/openmw!4628
2025-07-27 16:32:43 +00:00
psi29a
7aeff7e473 Merge branch 'combatparalysis' into 'master'
Put combat actions on hold when the actor is incapacitated (#7979)

Closes #7979

See merge request OpenMW/openmw!4597
2025-07-27 16:32:22 +00:00
psi29a
02102eeeca Merge branch 'instantmagicjustaddwater' into 'master'
Update effects upon applying them

Closes #7996

See merge request OpenMW/openmw!4124
2025-07-27 16:30:56 +00:00
Evil Eye
aae954643c Don't multiply magnitudes for effects that don't have magnitudes 2025-07-27 12:47:35 +02:00
elsid
8682ea522f
Remove unused namespace alias 2025-07-27 12:20:10 +02:00
elsid
4433e3c2de
Build path over navmesh for wandering actors
Using a path over pathgrid as checkpoints.

This allows to avoid having paths going through obstacles if they are
placed over pathgrid points.
2025-07-27 11:17:17 +02:00
elsid
5dfda0090b
Remove redundant cell argument from build path functions
Actor can provide a cell.
2025-07-27 11:17:17 +02:00
elsid
3f1ac1848c
Move getClosestPoint to a separate file 2025-07-27 11:17:17 +02:00
elsid
927b2bcceb
Replace PathFinder::makeOsgVec3 by Misc::Convert::makeOsgVec3f 2025-07-27 11:17:16 +02:00
elsid
50f5bc51c6
Store allowed positions as osg::Vec3f
There is no need to store pathgrid points.
2025-07-27 11:16:47 +02:00
Evil Eye
bdb3387bff Install gcovr via pipx and disable Werror when building Benchmarks 2025-07-27 10:47:34 +02:00
Evil Eye
2bce45260c Drop support for Qt5 2025-07-27 10:47:34 +02:00
Andrew Lanzone
3c3f36679e Re-add ESM include 2025-07-27 00:45:54 -07:00
Andrew Lanzone
de057cc030 Update includes on controllermanager 2025-07-27 00:33:57 -07:00
Andrew Lanzone
984582b586 Cleanup includes for itemchargeview 2025-07-27 00:06:05 -07:00
Andrew Lanzone
360c801b73 Remove local wrapper of MyGUI::Scrollbar 2025-07-26 23:54:25 -07:00
Andrew Lanzone
24c7a3f1ce Remove duplicate class declarations 2025-07-26 23:53:57 -07:00
Andrew Lanzone
2a0ff5626c Remove extra include that was inadvertently added 2025-07-26 22:56:47 -07:00
Andrew Lanzone
80dd2ea6da Merge branch 'master' of https://gitlab.com/enoznal/openmw 2025-07-26 22:53:23 -07:00
Andrew Lanzone
8a2888fa00 Replace many includes with forward declarations 2025-07-26 22:53:03 -07:00
Andrew Lanzone
94b460389b Replace many includes with forward declarations 2025-07-26 22:48:35 -07:00
Alexei Kotov
d3328552e8 Avoid recomputing collision prediction things an extra N times (#8548) 2025-07-27 07:36:43 +03:00
Alexei Kotov
ed32e4405a Merge branch 'optionalglobalism' into 'master'
Remove global config on Windows

Closes #8434

See merge request OpenMW/openmw!4762
2025-07-26 23:25:55 +03:00
Andrew Lanzone
b961007345 Fix unsigned type warning/error on Windows 2025-07-26 09:41:26 -07:00
Skyhasacat
9f10269ecc Merge branch 'lua_weather_bindings' into 'master'
lua - add weatherbindings to openmw.core (#6976)

See merge request OpenMW/openmw!4526
2025-07-26 15:01:32 +00:00
elsid
7c46635a5a
Make trimAllowedNodes a free function 2025-07-26 11:48:36 +02:00
elsid
ae909d7685
Remove isAreaOccupiedByOtherActor from obstacle.*
It uses functions only from World anyway.
2025-07-26 11:48:36 +02:00
elsid
c79b39cf0d
Remove unused arguments from isAreaOccupiedByOtherActor 2025-07-26 11:48:36 +02:00
elsid
20bd1491a7
Make sure distance and duration are not negative 2025-07-26 11:48:36 +02:00
elsid
4a3ffb2073
Use camel case for variables 2025-07-26 11:48:35 +02:00
Evil Eye
4ca9cac784 Don't use cached awareness in combat 2025-07-26 11:05:40 +02:00
Evil Eye
b3fe84a560 Cache awareness rolls for 5 seconds to make sneaking easier 2025-07-26 10:55:20 +02:00
Andrew Lanzone
ab03e01127 Remove dedicated 'Unequip' button and just us 'A' 2025-07-26 01:35:25 -07:00
Evil Eye
b4a753812e Use empty paths instead of optionals 2025-07-26 10:23:19 +02:00
Andrew Lanzone
defd1edb6f Fix clang error and unsigned bug 2025-07-26 00:59:43 -07:00
Evil Eye
c0b230b742 Remove global config on Windows 2025-07-26 09:45:35 +02:00
Andy Lanzone
c015599356 Merge branch openmw:master into master 2025-07-26 00:17:39 -07:00
Andrew Lanzone
fb19a0da91 Fix inventory menu getting messed up when resizing game window 2025-07-26 00:16:41 -07:00
Andrew Lanzone
5b5ed21f20 Split journal's onControllerButtonEvent into a few functions 2025-07-25 22:53:39 -07:00
Andrew Lanzone
b9ae89e032 Split onControllerButtonEvent into two; loop through ingredient slots 2025-07-25 21:46:00 -07:00