Commit Graph

46 Commits (master)

Author SHA1 Message Date
uramer 30e6821d81 Fix missing `y` 4 weeks ago
uramer 19014c9c47 Add end-to-end morrowind test work directory to gitignore 4 weeks ago
uramer 1675c74036 Fix findPath returning a raw vector 4 weeks ago
elsid 22817dd6a1
Use normalized path for correctMeshPath 1 month ago
elsid 5b2764e75a
Add Lua test for record model property 1 month ago
Calandiel Elende 9248e37156 add OFFENSE_TYPE and commitCrime to lua 2 months ago
Evil Eye 1ac0f27bbd Add integration tests for the openmw.vfs package 4 months ago
elsid 7998689080
Add test for player's attack 4 months ago
elsid 5f26da01f1
Use the_hub addon from example suite by the integration tests 4 months ago
elsid 0c0d544e38
Add test to check Lua memory limit 5 months ago
elsid 397518e3e7
Remove redundant line 5 months ago
elsid a416125cdf
Format Lua code 5 months ago
elsid f5b24efdca
Enable built-in script in the integration tests 5 months ago
elsid 323a8355d5
Add test to make sure player rotation does not lead to nan 5 months ago
elsid 73c347f732
Format Lua tests code 6 months ago
elsid 1dd15613dd
Split UTF-8 tests on chars and strings cases 6 months ago
psi29a 664a844853 Merge branch 'fix_get_angles_zyx' into 'master'
Fix getAnglesZYX (#7741)

Closes #7741

See merge request OpenMW/openmw!4199
6 months ago
elsid 40dee30596
Add more integration tests for rotation
Some tests might fail due to wrong implementation of the functions.
6 months ago
Evil Eye a594f0dd25 Split tests further 6 months ago
Evil Eye 8111387f60 Test modification and add split tests 6 months ago
Evil Eye 0f20e47e0e Add unit tests 6 months ago
Kindi d21f3809bd test utf8 7 months ago
Evil Eye c3d02c0b41 Merge branch 'cleanup_dialogue_api' into 'master'
Cleanup dialogue API

See merge request OpenMW/openmw!4088
7 months ago
Zackhasacat c63c1e69cf Lua: Add missing light flags, allow creating light record via world.createRecord 8 months ago
elsid 0233640124
Add simple tests for dialogues 8 months ago
Zackhasacat 6d529835ae Lua: Standardize record stores 9 months ago
Zackhasacat c5c80936a0 Space after , 9 months ago
Zackhasacat 7d1f52451f Re-add new line 9 months ago
Zackhasacat b51891cbcd Add lua global var test back 9 months ago
Zackhasacat b8c8e30431 Revert "Add iteration global tests"
This reverts commit 4634c7dba9.
9 months ago
Zackhasacat 4634c7dba9 Add iteration global tests 9 months ago
elsid 6b07718871
Add morrowind test for moving object into container 10 months ago
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
1 year ago
elsid 94b085af9e
Add Navigator and Lua API function to find nearest position on navmesh 1 year ago
Petr Mikheev 15306c7d49 [Lua] Add CONTROL_SWITCH functions to `types.Player` and deprecate them in `openmw.input` 1 year ago
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.
1 year ago
elsid 5a0ad8cdd7
Add Morrowind specific tests 1 year ago
elsid c04d869fc7
Pass options to findPath 1 year ago
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
2 years ago
Petr Mikheev 69f6ab2882 Add integration test for `core.getGMST` 2 years ago
Petr Mikheev 3b43cc2aea Lua: change obj.rotation from Euler angles to Quaternion 2 years ago
Petr Mikheev 1869aeae5c Move some of player controls logic from C++ to Lua 2 years ago
elsid 0389aa2b7e
Move testing_util.lua to a separate directory to be reused as a library 2 years ago
elsid 27cc901e76
Add bindings for navigator utils functions 2 years ago
elsid 7989d1645f
Run integration tests in CI 3 years ago
Petr Mikheev 76160076db Introduce OpenMW integration tests 3 years ago