1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

13 Commits

Author SHA1 Message Date
elsid
0c0d544e38
Add test to check Lua memory limit 2024-08-03 13:28:35 +02:00
elsid
f5b24efdca
Enable built-in script in the integration tests 2024-07-31 23:19:10 +02:00
elsid
323a8355d5
Add test to make sure player rotation does not lead to nan 2024-07-17 23:36:51 +02:00
elsid
40dee30596
Add more integration tests for rotation
Some tests might fail due to wrong implementation of the functions.
2024-06-23 16:08:05 +02:00
elsid
8fe0832b38
Replace check for normalized distance =~ value by distance > 0
We just need to make sure player moved, for how long is not important.

To avoid failures like: https://gitlab.com/OpenMW/openmw/-/jobs/5815281969:

TEST playerForwardRunning		FAILED [string "test.lua"]:80: [string "player.lua"]:44: Normalized forward runned distance: 0.782032 ~= 1.000000
2023-12-25 11:15:41 +01:00
elsid
94b085af9e
Add Navigator and Lua API function to find nearest position on navmesh 2023-11-18 23:54:37 +01:00
Petr Mikheev
15306c7d49 [Lua] Add CONTROL_SWITCH functions to types.Player and deprecate them in openmw.input 2023-10-10 01:15:09 +02:00
elsid
e00eb50587
Remove stepping from findSmoothPath
This is not used anyway. There are features like smooth movement which remove
all redundant points.

Use single findStraightPath call instead of multiple.
2023-07-22 18:08:40 +02:00
elsid
c04d869fc7
Pass options to findPath 2023-07-20 20:24:38 +02:00
Petr Mikheev
3b43cc2aea Lua: change obj.rotation from Euler angles to Quaternion 2023-06-12 00:16:42 +02:00
elsid
27cc901e76
Add bindings for navigator utils functions 2022-07-21 00:04:26 +02:00
elsid
7989d1645f
Run integration tests in CI 2022-07-04 20:38:29 +02:00
Petr Mikheev
76160076db Introduce OpenMW integration tests 2022-05-07 14:39:03 +02:00