10 Commits
Author SHA1 Message Date
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
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 cbcd4f6acd Move matchers to different module 2025-03-25 23:24:24 +01:00
elsid 7a9c2d5e88 Split local and global event handlers 2025-03-05 22:18:46 +01:00
uramer 30e6821d81 Fix missing y 2024-12-03 06:18:00 +00:00
uramer 1675c74036 Fix findPath returning a raw vector 2024-12-02 21:22:29 +01:00
elsid 0233640124 Add simple tests for dialogues 2024-05-10 10:38:15 +02: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