elsid
323a8355d5
Add test to make sure player rotation does not lead to nan
2024-07-17 23:36:51 +02:00
elsid
73c347f732
Format Lua tests code
2024-07-13 00:25:00 +02:00
elsid
1dd15613dd
Split UTF-8 tests on chars and strings cases
2024-07-13 00:25:00 +02:00
psi29a
664a844853
Merge branch 'fix_get_angles_zyx' into 'master'
...
Fix getAnglesZYX (#7741 )
Closes #7741
See merge request OpenMW/openmw!4199
2024-07-11 09:04:07 +00: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
Evil Eye
a594f0dd25
Split tests further
2024-06-18 22:19:24 +02:00
Evil Eye
8111387f60
Test modification and add split tests
2024-06-18 17:55:01 +02:00
Evil Eye
0f20e47e0e
Add unit tests
2024-06-18 17:43:48 +02:00
Kindi
d21f3809bd
test utf8
2024-06-10 18:15:07 +08:00
Evil Eye
c3d02c0b41
Merge branch 'cleanup_dialogue_api' into 'master'
...
Cleanup dialogue API
See merge request OpenMW/openmw!4088
2024-05-17 15:02:00 +00:00
Zackhasacat
c63c1e69cf
Lua: Add missing light flags, allow creating light record via world.createRecord
2024-05-13 14:14:44 +00:00
elsid
0233640124
Add simple tests for dialogues
2024-05-10 10:38:15 +02:00
Zackhasacat
6d529835ae
Lua: Standardize record stores
2024-03-25 13:46:23 +00:00
Zackhasacat
c5c80936a0
Space after ,
2024-03-23 13:27:53 -05:00
Zackhasacat
7d1f52451f
Re-add new line
2024-03-22 19:14:28 -05:00
Zackhasacat
b51891cbcd
Add lua global var test back
2024-03-22 19:13:39 -05:00
Zackhasacat
b8c8e30431
Revert "Add iteration global tests"
...
This reverts commit 4634c7dba9
.
2024-03-22 19:06:00 -05:00
Zackhasacat
4634c7dba9
Add iteration global tests
2024-03-22 18:56:15 -05:00
elsid
6b07718871
Add morrowind test for moving object into container
2024-02-25 15:20:29 +01: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
5a0ad8cdd7
Add Morrowind specific tests
2023-07-22 01:31:55 +02:00
elsid
c04d869fc7
Pass options to findPath
2023-07-20 20:24:38 +02:00
psi29a
68415a952e
Merge branch 'lua_quat' into 'master'
...
Breaking change in Lua API: change obj.rotation from Euler angles to Quaternion
See merge request OpenMW/openmw!3123
2023-06-20 09:59:06 +00:00
Petr Mikheev
69f6ab2882
Add integration test for core.getGMST
2023-06-12 17:59:40 +02:00
Petr Mikheev
3b43cc2aea
Lua: change obj.rotation from Euler angles to Quaternion
2023-06-12 00:16:42 +02:00
Petr Mikheev
1869aeae5c
Move some of player controls logic from C++ to Lua
2022-12-28 22:04:19 +01:00
elsid
0389aa2b7e
Move testing_util.lua to a separate directory to be reused as a library
2022-10-10 23:39:32 +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