Commit Graph
16 Commits
Author SHA1 Message Date
Bret Curtis 6199002d79 Pin openmw.util math conventions from Lua
Adds a global integration test that exercises the mod-facing surface directly: util.vector3 * util.vector3 as dot product, util.vector3:length as magnitude, util.vector3:cross as right-handed, util.vector2 * util.vector2 as dot, transform composition applying right-to-left, and Transform:inverse round-trip. openmw.util binds these operators through components/lua/utilpackage.cpp; without an integration test, a future change to that layer or to the underlying maths implementation would silently break existing mods. This test fails loudly instead.
2026-09-17 10:05:39 +02:00
Thomas 2ba8279513 Add a stationary weapon damage test
Keep the original navigation and combat scenario under a clearer name.
2026-09-11 10:33:07 +02:00
ThomasandEvil Eye f2e262264a Expose the focus ray to Lua 2026-09-03 17:16:15 +02:00
Andrzej GłuszakandAlexei Kotov 06102ac6c1 Add apparatus to openmw.content 2026-08-26 17:29:27 +03:00
elsid e2acaa9e71 Automatically discover Lua tests
To avoid duplicated tests registration.

Start discovery by sending an event. First for global tests and the for
local inside global event handler with timeout. Check for duplicates.

Check coroutine status after the end of a test to catch failures not
caused by asserts.

Support bypass in the menu.newGame to start morrowind tests from a menu
script skipping intro video.

Add --list_tests flag to print all found tests.
2026-08-19 23:26:45 +02:00
Evil Eye 8ebb981bdb Add an integration test 2026-03-01 20:58:14 +01:00
Evil Eye d147006c64 Add integration test 2025-10-25 11:10:45 +02:00
Cody GlassmanandAlexei Kotov bfc25a3194 Make most weather bindings read/write 2025-08-28 03:22:33 +03:00
Evil Eye 8073c59898 Add integration tests 2025-08-14 14:19:20 +02:00
trav5andEvil Eye 7f3bc4884e Add Lua API for the player journal text data
This implements #7966 - adds the Lua API read-only access to the player's stored journal text entries (quest & topics data). See the issue ticket for some details on the proposal.
2025-08-13 11:08:10 +02:00
elsid 4433e3c2de Build path over navmesh for wandering actors
Using a path over pathgrid as checkpoints.

This allows to avoid having paths going through obstacles if they are
placed over pathgrid points.
2025-07-27 11:17:17 +02:00
Evil Eye dca8c7c163 Add integration tests for mwscript-magic interactions 2025-07-02 17:03:33 +02:00
Evil Eye 45a51bceb2 Implement equal_to for Color 2025-06-12 17:48:11 +02:00
elsid 178f216317 Add Lua test for passing a NaN value 2025-06-05 23:58:41 +02:00
elsid 2ebdc43bbe Add test for load while teleporting
To reproduce #8311.

Load game while landracer is scheduled to teleport from different cell.
2025-03-25 23:41:04 +01:00
elsid 0e19b1dd75 Run Lua integration tests starting with menu script
This allows writing tests for menu scripts.

Keep global script as entry point to morrowind tests.

Fix menu.newGame and menu.loadGame to hide main menu.
2025-03-08 13:14:20 +01:00