- Shoulder view, auto shoulder switch, standing preview, deferred preview
rotation, move 360, smooth view change and [Game] smooth movement are
on by default.
- Collision ease-out: the camera still snaps in on collision but eases
back out (0.15 s half-life, 60 u/s minimum speed).
- Aim mode: with a ranged weapon or a spell readied in third person the
view stays over the shoulder, moves closer and narrows the FOV. Camera
interface v2 adds getAimWeight and enable/disable functions.
- Pure math in camera/ease.lua with unit tests; SCENARIO=camera with
PASS/FAIL checks; docs in docs/ashlar/CAMERA.md.
- ashlar-run.sh deletes stored Lua settings before each run so changed
defaults are tested.
Closes#29
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docker/ashlar-bench.sh boots the Game Template with fixed video settings,
records OpenMW's per-frame profiler trace, and summarizes it with a new
stdlib-only script. By default it renders on the NVIDIA GPU through EGL and
SDL's offscreen driver, so no window opens. docs/ashlar/BENCHMARK.md holds the
method and the first RTX 5060 Ti baseline.
Closes#3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Lua had no way to fire a screenshot. Also stops integration_tests.py merging a
caller's --config settings.cfg into the generated one, which made a same-layer
duplicate that openmw rejects, and unhardcodes the 640x480 test window.
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.
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.
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.
* Make it look more like googletest.
* Print total and failed number of tests.
* Print failed tests names.
* Print duration of each test and total.
* Hide all logs by default.