1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-22 11:23:24 +00:00
Commit graph

37071 commits

Author SHA1 Message Date
elsid
66923870da
Use normalized path to implement correctResourcePath 2025-12-06 00:12:43 +01:00
elsid
1b362140ae
Remove duplicated and leading slashes in normalizeFilenameInPlace
To be consistent with correctResourcePath.
2025-12-06 00:12:43 +01:00
elsid
96869fd9b9
Add namespace prefix to all VFS::Path related tests 2025-12-06 00:12:42 +01:00
elsid
60c7b3aa14
Move code from components/lua_ui/resources.cpp to header 2025-12-06 00:12:42 +01:00
elsid
2c142faaa9
Use normalized path in LuaUi::TextureData 2025-12-06 00:12:42 +01:00
elsid
538e5d5502
Use normalizeFilename in correctResourcePath 2025-12-06 00:12:42 +01:00
elsid
cd03de2577
Cleanup resource helpers tests 2025-12-06 00:12:42 +01:00
Alexei Kotov
3d1b8d1a4d Merge branch 'captureandrelease' into 'master'
Don't extend the lifetime of ScreenCapture objects beyond that of the objects using them

See merge request OpenMW/openmw!5028
2025-12-05 21:57:14 +03:00
Alexei Kotov
cb74919303 Merge branch 'localmap' into 'master'
Local map fixes

Closes #8786 and #8787

See merge request OpenMW/openmw!4919
2025-12-05 17:43:40 +03:00
AnyOldName3
7ad68c6e37 Merge branch 'fix-readme-typos' into 'master'
Fix grammar and consistency issues in README

See merge request OpenMW/openmw!4994
2025-12-05 14:18:59 +00:00
Alexei Kotov
e7b954a7b6 Merge branch 'feature/support-extra-gamepad-buttons' into 'master'
Add support for modern SDL controller buttons (Touchpad, Misc1, Paddles)

See merge request OpenMW/openmw!5017
2025-12-05 06:12:35 +03:00
Dima Katashov
d7ad994fb6 Add support for modern SDL controller buttons (Touchpad, Misc1, Paddles) 2025-12-05 06:12:35 +03:00
Alexei Kotov
8550ac44a0 Merge branch 'add_loop_and_vfx_id_to_world_vfx_spawn' into 'master'
add loop + vfxId params to world.vfx.spawn and add world.vfx.remove

See merge request OpenMW/openmw!4503
2025-12-05 06:03:58 +03:00
Alexei Kotov
0d68fb2d25 One more stylistic adjustment for the docs 2025-12-05 06:00:52 +03:00
Alexei Kotov
65949b17b7 Increment Lua API revision
Note the rebase process of the MR associated with this commit included some minor doc adjustments.
2025-12-05 05:56:05 +03:00
Sebastian Fieber
ce67a028a1 fix link 2025-12-05 05:54:48 +03:00
Sebastian Fieber
567f5aa150 remove unecessary mutex 2025-12-05 05:54:48 +03:00
Sebastian Fieber
8ea0338a50 update docs 2025-12-05 05:54:46 +03:00
Sebastian Fieber
1b36f757ed format 2025-12-05 05:54:06 +03:00
Sebastian Fieber
647d655f2e make it possible to remove anonymous vfx 2025-12-05 05:54:03 +03:00
Sebastian Fieber
9524906768 don't unecessarily copy vfxId 2025-12-05 05:52:56 +03:00
Sebastian Fieber
4636a35867 throw if vfxId is empty 2025-12-05 05:52:56 +03:00
Sebastian Fieber
9621a2c8cf remove world vfx only if vfxId is not empty 2025-12-05 05:52:56 +03:00
Sebastian Fieber
e8c917d35e add loop + vfxId params to world.vfx.spawn and add world.vfx.remove 2025-12-05 05:52:54 +03:00
Alexei Kotov
6d461c4198 Bring README.md up to speed with the actual openmw --help output 2025-12-05 05:26:42 +03:00
Alexei Kotov
3ef9237f51 Merge branch 'im-really-in-a-hurry-here' into 'master'
FEAT: Add a binding for passing time in `world`

See merge request OpenMW/openmw!4942
2025-12-05 01:30:59 +03:00
ddbb07
b621d09b58 Remove unecessary sort in test 2025-12-04 23:03:39 +01:00
ddbb07
079ccd92b1 Use std::string instead of UString 2025-12-04 22:56:35 +01:00
Alexei Kotov
72d6cd4aff Bump Lua API revision, doc grammar fix 2025-12-04 23:50:23 +03:00
Dave Corley
6897f5aefb ALL HAIL C L A N G 2025-12-04 23:48:55 +03:00
Dave Corley
c775153c21 CLEANUP: Remove fastForwardAI method in World 2025-12-04 23:48:55 +03:00
Dave Corley
e3af2db511 CLEANUP: Make advanceTime a delayedAction, include mechanicsmanager 2025-12-04 23:48:55 +03:00
Dave Corley
386c28d98e CLEANUP: Fix docs, remove unused lambda capture 2025-12-04 23:48:55 +03:00
Dave Corley
209b7fd5c6 FEAT: Add a binding for passing time in world 2025-12-04 23:48:55 +03:00
Sarah Sunday
5a4e191325 [DOC] add issue template 2025-12-04 14:29:16 -06:00
Sarah Sunday
658f2f4898 [DOC] Second pass of MR template 2025-12-04 14:29:16 -06:00
Evil Eye
e097a15627 Don't extend the lifetime of ScreenCapture objects beyond that of the objects using them 2025-12-04 19:18:44 +01:00
ddbb07
243b087845 Fix imports in test 2025-12-04 16:35:29 +01:00
ddbb07
120c7adddb Add more tests 2025-12-04 07:40:26 +01:00
ddbb07
dd0bce2406 Mark function definitions as inline 2025-12-04 07:40:26 +01:00
ddbb07
aec63843f7 Move function definition to header file 2025-12-04 07:40:26 +01:00
ddbb07
3dec065dff Add another test 2025-12-04 07:40:26 +01:00
ddbb07
8349c09170 Add unit tests 2025-12-04 07:40:26 +01:00
ddbb07
db0c7350b8 Don't make copies of variables unless absolutely necessary. 2025-12-04 07:40:26 +01:00
ddbb07
63166aaa10 Change type of search weight from double to size_t, and revise sorting logic 2025-12-04 07:40:26 +01:00
ddbb07
336a9e7da1 Explicitly check if inputString is empty or only contains spaces in generatePatternArray to improve performance 2025-12-04 07:40:26 +01:00
ddbb07
225d8f0b90 Define patternArray only once for every search 2025-12-04 07:40:26 +01:00
ddbb07
c027d2d927 Rename splitString to generatePatternArray as it no longer only splits the string 2025-12-04 07:40:26 +01:00
ddbb07
b3111a466e Offload lower casing of the patternString to splitString 2025-12-04 07:40:26 +01:00
ddbb07
39832a3e71 Reimplement weightedSearch 2025-12-04 07:40:26 +01:00