1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-16 10:16:33 +00:00
Commit graph

23669 commits

Author SHA1 Message Date
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
SkyHasACat
a418e05869 foward declare? 2025-08-14 13:42:52 +02:00
SkyHasACat
9f2ad18549 Fix formatting 2025-08-14 13:42:51 +02:00
SkyHasACat
475e5522ed Make read only 2025-08-14 13:42:51 +02:00
SkyHasACat
943966d59a Fix more things 2025-08-14 13:42:51 +02:00
SkyHasACat
3d954ed720 Fix review issues 2025-08-14 13:42:51 +02:00
SkyHasACat
046c0a64f2 Revert ID change 2025-08-14 13:42:51 +02:00
SkyHasACat
548fb5fecb Add region sound binding 2025-08-14 13:42:51 +02:00
SkyHasACat
40f26a9495 Use luautil id 2025-08-14 13:42:51 +02:00
SkyHasACat
944985e1ce Fix color 2025-08-14 13:42:51 +02:00
SkyHasACat
0acde006a0 Remove unneeded includes? 2025-08-14 13:42:51 +02:00
SkyHasACat
5e30e45700 formatting 2025-08-14 13:42:51 +02:00
SkyHasACat
d58545ca39 Add region bindings 2025-08-14 13:42:49 +02:00
Evil Eye
cae36d6eec Add remaining default initialisations flagged by Coverity 2025-08-14 13:33:20 +02:00
Kuyondo
e226963d0d clear temporary items 2025-08-14 19:28:03 +08:00
Alexei Kotov
32e463945e Merge branch 'settingscrash' into 'master'
Fix some dangling window pointer use on exit

See merge request OpenMW/openmw!4846
2025-08-14 13:52:56 +03:00
Alexei Kotov
37c4277b92 Also don't process controller menu axis navigation events for hidden menus 2025-08-14 13:47:18 +03:00
Alexei Kotov
30bd014bd7 Some controller focus initialization cleanup 2025-08-14 13:43:46 +03:00
Evil Eye
9db9df95e2 Address more simple Coverity defects 2025-08-14 11:19:13 +02:00
Kuyondo
4749ddf586 save lifetime of temporary quickkey items 2025-08-14 15:32:36 +08:00
Alexei Kotov
cb0316e6be Merge branch 'journal-lua-api' into 'master'
Add Lua API for the player journal text data

Closes #7966

See merge request OpenMW/openmw!4203
2025-08-13 14:58:48 +03:00
Evil Eye
1ffcd3f213 Replace usage of std::distance and std::advance 2025-08-13 11:43:51 +02:00
trav5
cffb045767 Lua journal read access post-review formatting corrected 2025-08-13 11:09:10 +02:00
trav5
6d0f05e97b Lua journal read access post-review class debug names aligned 2025-08-13 11:09:10 +02:00
trav5
596ee3e8fa Lua journal read access post-review std::distance 2025-08-13 11:09:10 +02:00
trav5
7f3bc4884e Add Lua API for the player journal text data
This implements #7966 - adds the Lua API read-only access to the player's stored journal text entries (quest & topics data). See the issue ticket for some details on the proposal.
2025-08-13 11:08:10 +02:00
Evil Eye
d4bc9696e9 Combine format strings 2025-08-13 09:50:13 +02:00
Evil Eye
ace1f7f3d0 Merge branch 'fixkaramunsing' into 'master'
Ensure draganddrop finishes when item is used from it

Closes #8659

See merge request OpenMW/openmw!4847
2025-08-12 21:52:41 +00:00
Evil Eye
33ea16655b Add missing paren and remove unnecessary flushes 2025-08-12 23:38:47 +02:00
Kuyondo
8ea5448112 use find() 2025-08-12 21:24:09 +08:00
Kuyondo
9426a36f5a maintain missing item info in quickkey menu 2025-08-12 21:24:09 +08:00
Evil Eye
4707d7602d Check for nullptr before dereferencing pathgrids 2025-08-12 11:02:10 +02:00
psi29a
f5d866894e Merge branch 'coverityspam' into 'master'
Resolve a number of Coverity defects

See merge request OpenMW/openmw!4835
2025-08-12 07:59:19 +00:00
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