diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-25 19:47:00 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-25 19:47:00 +0300 |
| commit | c63fadd7c2aa0e0d9f81f65aa88ef9fe905e76e3 (patch) | |
| tree | 613b4a92373fb637ee491a19babaa4726bd57fda /README.md | |
| parent | 5cc5602b3fa42e5864d205a1c42c895504038b10 (diff) | |
| download | fparkan-c63fadd7c2aa0e0d9f81f65aa88ef9fe905e76e3.tar.xz fparkan-c63fadd7c2aa0e0d9f81f65aa88ef9fe905e76e3.zip | |
fix(ai): age script deadlines while the world is paused
Record paused wall time separately from simulation time. After resuming,
Mission and clan AI check their expired deadlines once, then schedule the
next interval without replaying missed cycles. Move application pause
handling into its own module and retain frozen world, animation and audio.
Live ai.dll timer calls confirm that Mission runs before the paused world
clock refreshes and the next AI callback uses an already expired deadline.
Record the unresolved AutoDemo sphere and first-projectile boundaries.
Validation: workspace fmt/check/tests, release build, licensed stock-clock
pause test, all 29 missions at --sim-report 900 without script stops, and a
stock mission-28 window with a 33-second pause and unchanged world time.
Full AI chronology and minimized-window timing remain open.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -93,6 +93,8 @@ Esc возвращает управление костюмом с прежним AutoDemo переключает обзор и кабину по интервалам из `mission.cfg`. В игровом режиме `Pause` останавливает тики, анимацию и звук. Повторное нажатие возобновляет отсчёт с прежнего времени игры. +Таймеры `Mission` и AI учитывают прошедшую паузу и проверяют просроченные +события после возобновления, без повторения всех пропущенных циклов. В интерактивном режиме каждое отрисовываемое строение (корневой объект класса `FORT`) и его отрисовываемые компоненты участвуют в проверке движения с их |
