1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-02 22:09:41 +00:00
Commit graph

22605 commits

Author SHA1 Message Date
elsid
b56de5bcf9
Make test for navmeshdb limit less strict
To avoid rare test failures when tiles are added into the database in different
order.
2024-08-07 00:01:50 +02:00
elsid
20e3eeddde
Fix libavformat version check
2a68d945cd
added const version of a callback functions but didn't enable them. They were
guarded by a version check:

2a68d945cd/libavformat/version_major.h (L48)

So for anything LIBAVFORMAT_VERSION_MAJOR < 61 they are not enabled therefore
they are enabled for everything >= 61.0.100.

See https://github.com/elsid/openmw/actions/runs/10255993574/job/28374152796 as
example of failure when building with 60.16.100.
2024-08-05 23:52:30 +02:00
Evil Eye
fe50b1a22b Allow GetEffect to detect 0 magnitude spells 2024-08-05 20:01:38 +02:00
psi29a
5d57ad7e85 Merge branch 'fix-ffmpeg-latest-version' into 'master'
Support compiling with FFMpeg 5 and greater

See merge request OpenMW/openmw!4281
2024-08-05 15:28:11 +00:00
Cody Glassman
a53d002262 lua - add swizzling to vector types 2024-08-05 06:53:59 -07:00
elsid
ec02e2ba1d Revert "Merge branch 'swizzle_bop_boom_bazingle' into 'master'"
This reverts merge request !4288
2024-08-05 09:08:17 +00:00
Cody Glassman
9951fd8a1a support 0/1 constant swizzles 2024-08-04 11:56:34 -07:00
Cody Glassman
7186b8febc generate all swizzle bindings at API initialization 2024-08-04 11:56:34 -07:00
Cody Glassman
19c0cebb27 lua - add swizzling to vector types 2024-08-04 11:56:34 -07:00
psi29a
6cc2b8de27 Merge branch 'distortion_clear' into 'master'
distortion - make sure color mask is enabled for clear to have an effect (#8082)

See merge request OpenMW/openmw!4294
2024-08-04 08:48:40 +00:00
psi29a
8d290dd581 Merge branch 'launcher' into 'master'
Don't check subdirectories of valid content directories (#8085)

Closes #8085

See merge request OpenMW/openmw!4279
2024-08-03 22:42:05 +00:00
Sam Hellawell
61cb5b4da6 Support compiling with ffmpeg 5 and greater 2024-08-03 21:05:00 +01:00
Jared Davenport
6946d22505 fix sourcetype 2024-08-03 16:54:08 +00:00
Cody Glassman
24452e2c3a distortion - make sure color mask is enabled for clear to have an effect 2024-08-02 11:33:46 -07:00
psi29a
e8fcdae99e Merge branch 'no-more-oversized-demons' into 'master'
Don't apply scale in RotateController

See merge request OpenMW/openmw!4284
2024-08-01 17:38:46 +00:00
psi29a
488a05d14c Merge branch 'lua-add-is-fleeing' into 'master'
lua - add isFleeing() to AI interface

See merge request OpenMW/openmw!4256
2024-08-01 09:55:50 +00:00
psi29a
028ac2354e Merge branch 'controller_tab_type' into 'master'
Allow shoulder buttons to work in menus when text input is active

See merge request OpenMW/openmw!4010
2024-08-01 09:55:15 +00:00
Sebastian Fieber
234476bdae lua - add isFleeing() to lua AI interface 2024-07-31 20:29:33 +02:00
Dave Corley
a4f1e7d918 FIX(rotatecontroller): Actually accounting for scale breaks biped creatures 2024-07-31 05:02:52 -05:00
Sam Hellawell
1b3509d0ad Use nodeMask... lets ignore the previous attempt 2024-07-31 00:30:06 +01:00
Sam Hellawell
dd77c81557 Fix: castRenderingRay doesnt hit terrain 2024-07-30 23:21:10 +01:00
psi29a
30a844ae71 Merge branch 'how-do-you-ambulate' into 'master'
FEAT(types): Expose creature flags

See merge request OpenMW/openmw!4280
2024-07-29 08:07:36 +00:00
psi29a
765d55208f Merge branch 'axis-lock' into 'master'
Feat(CS): Add shortcuts for axis locking, submode selection, switching camera, and fix render arrows

See merge request OpenMW/openmw!3675
2024-07-29 08:04:48 +00:00
Dave Corley
42060be65c FEAT: Add essential and respawning flags for both NPC and Creature types 2024-07-28 17:14:09 -05:00
Dave Corley
ef9d5270a1 FEAT(types): Expose creature flags 2024-07-28 17:14:05 -05:00
elsid
5c92b18875
Avoid using string_view on a temporary 2024-07-28 23:11:15 +02:00
psi29a
fc2f30dc4a Merge branch 'anim-api-cleanup' into 'master'
Anim api cleanup (close #8081)

Closes #8081

See merge request OpenMW/openmw!4274
2024-07-28 09:17:05 +00:00
Cody Glassman
77eeb5bd92 Merge branch 'master' into 'master'
HALF_FLOAT  and normals changes

See merge request OpenMW/openmw!4240
2024-07-27 15:21:45 +00:00
Jared Davenport
349931b5cd HALF_FLOAT and normals changes 2024-07-27 15:21:44 +00:00
psi29a
2967383636 Merge branch 'dialoguesubview' into 'master'
Do not store references to disposed objects

Closes #8046

See merge request OpenMW/openmw!4272
2024-07-27 09:38:17 +00:00
psi29a
79a9f8c23c Merge branch 'thedreughtookmyenchantmentsandarentgivingthemback' into 'master'
Rebuild ESMStore indices before loading any cell or player state

See merge request OpenMW/openmw!4278
2024-07-27 09:37:44 +00:00
psi29a
f4e5d67476 Merge branch 'ridethestorm' into 'master'
Handle GetItemCount on references without a container store gracefully

See merge request OpenMW/openmw!4277
2024-07-27 09:35:58 +00:00
Alexei Kotov
8a7035020a Don't check subdirectories of valid content subdirectories (#8085) 2024-07-26 21:49:51 +03:00
Andrei Kortunov
21db4219de Use QPersistentModelIndex to react to model changes 2024-07-26 09:57:35 +04:00
Evil Eye
5c4deb3f88 Prevent older binaries from incorrectly loading newer saves 2024-07-25 22:37:44 +02:00
Evil Eye
68be9a9544 Rebuild ESMStore indices before loading any cell or player state 2024-07-25 22:22:23 +02:00
Evil Eye
63e1b0ee9d Handle GetItemCount on references without a container store gracefully 2024-07-25 18:34:53 +02:00
Alexei Kotov
03091f8ce0 Make Coverity happy about animation blending 2024-07-25 02:28:07 +03:00
Anton Uramer
a5d1db2afd Use new Context helpers for UI bindings 2024-07-24 09:28:51 +02:00
Anton Uramer
6851e6e56a Context helpers for caching packages, split up core bindings into multiple caches, remove getRealFrameDuration in global context 2024-07-24 09:28:50 +02:00
Dave Corley
9f8ebc7973 FIX: Correct keybind conflict with move submode and drop to terrain 2024-07-23 13:59:31 -05:00
Dave Corley
55ccec7ecc FIX: Update settings declarations to newer standards 2024-07-23 13:59:31 -05:00
Dave Corley
5afdcddefa Consistency fix in keybind names, simplify instancemode and remove some
dead code
2024-07-23 13:59:21 -05:00
Dave Corley
78c41d3eee Feat(instancemode.cpp): Implement keybinds for axis locking & switching submodes
Cleanup(instancemode): Make the axis shortcut using std::string instead
of format
2024-07-23 13:58:43 -05:00
Dave Corley
98750a122d Feat(worldspacewidget.cpp): store the camera mode tool & implement the
shortcut to cycle camera modes
2024-07-23 13:56:19 -05:00
Dave Corley
2e581c4d70 Feat(CS): Add shortcuts for axis locking, submode selection, and camera cycling 2024-07-23 13:56:14 -05:00
Dave Corley
86f33cb6fe CLEANUP(animationbindings): Lowercase all input groupnames 2024-07-23 11:39:06 -05:00
Dave Corley
6eee6e9468 CLEANUP(animationbindings): camelCase all the things 2024-07-23 05:58:32 -05:00
uramer
80ced23a69 Lua Context: Replace exclusive bools with type enum 2024-07-23 10:39:58 +02:00
Andrei Kortunov
355dd0bccf Do not store references to disposed objects 2024-07-23 10:27:23 +04:00
psi29a
6065dfda2d Merge branch 'gaspthemenuisawerewolf' into 'master'
Update the menu video from a separate thread and respect window resizes

Closes #8063

See merge request OpenMW/openmw!4250
2024-07-22 22:11:17 +00:00
Alexei Kotov
1f4ab3b668 Merge branch 'animationblending' into 'master'
Animation blending implementation. Flexible and moddable through .yaml blending config files.

See merge request OpenMW/openmw!3497
2024-07-22 13:16:06 +00:00
psi29a
89e8514e00 Merge branch 'qvariant_usertype' into 'master'
Improve QVariant usage

See merge request OpenMW/openmw!4261
2024-07-22 07:21:45 +00:00
psi29a
f2aa30f7a5 Merge branch 'fix_nan_get_angles' into 'master'
Avoid getting nan in conversion to euler angles (#7772)

Closes #7772

See merge request OpenMW/openmw!4258
2024-07-22 07:21:29 +00:00
psi29a
376e8a6e1f Merge branch 'bounding_box' into 'master'
lua - use loaded node when possible when calculating bounding box (#7580)

Closes #7580

See merge request OpenMW/openmw!4073
2024-07-21 09:31:22 +00:00
elsid
ad428bd23b
Add unit tests for conversion to euler angles 2024-07-21 01:26:51 +02:00
Sam Hellawell
b9a7bdc0c7 Dont use NormalizedView for yamlpath, use changeExtension, add setting to tests script 2024-07-20 20:15:17 +01:00
Andrei Kortunov
54271b872c Improve QVariant usage 2024-07-20 14:32:56 +04:00
Sam Hellawell
a7a105dfdd Copy by ref, fix unable to find rules warning garbage 2024-07-20 03:10:05 +01:00
Sam Hellawell
78e365f382 Add OpenMW-CS Terrain Equalize tool 2024-07-20 02:30:46 +01:00
Cody Glassman
8105c62a02 handle potentially empty ptrs 2024-07-19 16:10:36 -07:00
Sam Hellawell
4bd078a6db Return offset/angle by reference 2024-07-19 01:29:24 +01:00
Sam Hellawell
ecb5616b36 Use std::sin/std::cos, clarify floating point types, update comment 2024-07-19 01:29:15 +01:00
Sam Hellawell
380d357d02 Fix compilation after master merge 2024-07-19 00:06:01 +01:00
Sam Hellawell
0bcd872561 Clang format 2024-07-19 00:05:35 +01:00
Sam Hellawell
ddbd87e2a1 Fix blending with additional offsets (sneaking issue) 2024-07-19 00:05:31 +01:00
Sam Hellawell
9beb380c7d Remove M_PI, documenation cleanup 2024-07-19 00:05:16 +01:00
Sam Hellawell
5deacb82ff Use M_PI as osg::PIf is not constant 2024-07-19 00:05:16 +01:00
Sam Hellawell
1317434ac0 CI fix 2024-07-19 00:05:03 +01:00
Sam Hellawell
bce97f49b4 spring function clarification 2024-07-19 00:04:16 +01:00
Sam Hellawell
014cba807b Refactor easings, serialize per-line items, constexpr path 2024-07-19 00:04:16 +01:00
Sam Hellawell
72c95a51df Default mEasingFn in constructor 2024-07-19 00:04:16 +01:00
Sam Hellawell
eb290bebbb Refactor AnimBlendControllers 2024-07-19 00:04:16 +01:00
Sam Hellawell
4040bd9231 FIx GCC debug build error 2024-07-19 00:04:16 +01:00
Sam Hellawell
b1b2cceec6 Update translation capitalization 2024-07-19 00:04:16 +01:00
Sam Hellawell
00a7d0281f Cleanup, refactor, rename AnimBlendControllerBase -> AnimBlendController 2024-07-19 00:04:16 +01:00
Sam Hellawell
42406ed0af Use META_Object, ignore for serialize 2024-07-19 00:04:16 +01:00
Sam Hellawell
13e1df3bf0 Grammar cleanup, code cleanup, reduce logging, revert mRotation change 2024-07-19 00:04:16 +01:00
Sam Hellawell
22229dd674 Cleanup, use string_view comparison 2024-07-19 00:04:16 +01:00
Sam Hellawell
07e6ebdea1 Update english translation, add ruski translation 2024-07-19 00:04:16 +01:00
Max Yari
136be62146 Launcher checkbox
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
2024-07-19 00:04:15 +01:00
Max Yari
55ffb6d7d2 Animation blending implementation for NIF and osgAnimation through YAML files
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
2024-07-19 00:04:15 +01:00
psi29a
2c8d657ecb Merge branch 'luaopensesame' into 'master'
Lua door opening api

See merge request OpenMW/openmw!4251
2024-07-15 07:09:44 +00:00
MaxYari
1abe28e797 Lua door opening api 2024-07-15 07:09:44 +00:00
psi29a
3ffd6a7ae9 Merge branch 'tests_log' into 'master'
Support custom log level in tests

See merge request OpenMW/openmw!4179
2024-07-15 07:07:18 +00:00
psi29a
cc28396617 Merge branch 'evictthosewindows' into 'master'
Force windows to exit when popping their GUI mode through Lua

Closes #7834

See merge request OpenMW/openmw!4185
2024-07-15 07:07:02 +00:00
elsid
a5d9bb08e0
Support custom log level in tests 2024-07-13 11:15:34 +02:00
elsid
1bdc01273e
Move "debugging" function into Debug namespace 2024-07-13 11:15:33 +02:00
elsid
6d43aedec8
Use Lua modules in tests from the source directory 2024-07-13 11:14:55 +02:00
elsid
73d48720ef
Do not change output names for targets
Changing them does not solve any problem but only creates some.
2024-07-13 10:35:16 +02:00
elsid
b3abc436dd
Keep separation between openmw and openmw-lib on Android
They are not set up properly so CMake configuration fails because of not found
openmw-lib target since it's not defined for Android.
2024-07-13 10:35:12 +02:00
Evil Eye
de59d79388 Update the menu video from a separate thread and respect window resizes 2024-07-11 16:53:11 +02:00
Dave Corley
4cc956fdd7 TEST: Add a test to ensure invalid box extents are not assigned 2024-07-11 04:06:06 -05:00
psi29a
e9343da7a8 Merge branch 'themawithungers' into 'master'
Don't trigger onNewExterior while loading saves

See merge request OpenMW/openmw!4206
2024-07-11 09:03:01 +00:00
psi29a
1c71f12d4e Merge branch 'hopskipanimjump' into 'master'
Keep running scripts until the menu pauses the game

Closes #8056

See merge request OpenMW/openmw!4243
2024-07-09 21:33:37 +00:00
psi29a
ecb64eab8e Merge branch 'juststrummingmylute' into 'master'
Attempt to select an AI action directly instead of waiting for the next frame

Closes #7973

See merge request OpenMW/openmw!4244
2024-07-09 21:32:32 +00:00
psi29a
7d0fca1bf5 Merge branch 'noscript' into 'master'
Make mwscript return nil for records that don't have a script

See merge request OpenMW/openmw!4236
2024-07-09 07:47:24 +00:00
Evil Eye
134c099df9 Attempt to select an AI action directly instead of waiting for the next frame 2024-07-08 19:59:50 +02:00
Evil Eye
299ee1a6b1 Keep running scripts until the menu pauses the game 2024-07-08 17:07:52 +02:00
psi29a
3a5ed998e7 Merge branch 'timeplayed' into 'master'
Remove time played setting

See merge request OpenMW/openmw!4235
2024-07-08 07:29:29 +00:00