Commit Graph

22 Commits (master)

Author SHA1 Message Date
Zackhasacat c63c1e69cf Lua: Add missing light flags, allow creating light record via world.createRecord 4 days ago
Zackhasacat 6d529835ae Lua: Standardize record stores 2 months ago
Zackhasacat c5c80936a0 Space after , 2 months ago
Zackhasacat 7d1f52451f Re-add new line 2 months ago
Zackhasacat b51891cbcd Add lua global var test back 2 months ago
Zackhasacat b8c8e30431 Revert "Add iteration global tests"
This reverts commit 4634c7dba9.
2 months ago
Zackhasacat 4634c7dba9 Add iteration global tests 2 months ago
elsid 6b07718871
Add morrowind test for moving object into container 3 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
5 months ago
elsid 94b085af9e
Add Navigator and Lua API function to find nearest position on navmesh 6 months ago
Petr Mikheev 15306c7d49 [Lua] Add CONTROL_SWITCH functions to `types.Player` and deprecate them in `openmw.input` 7 months 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.
10 months ago
elsid 5a0ad8cdd7
Add Morrowind specific tests 10 months ago
elsid c04d869fc7
Pass options to findPath 10 months 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
11 months ago
Petr Mikheev 69f6ab2882 Add integration test for `core.getGMST` 11 months ago
Petr Mikheev 3b43cc2aea Lua: change obj.rotation from Euler angles to Quaternion 11 months ago
Petr Mikheev 1869aeae5c Move some of player controls logic from C++ to Lua 1 year 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 2 years ago
Petr Mikheev 76160076db Introduce OpenMW integration tests 2 years ago