diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-25 23:12:41 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-25 23:12:41 +0300 |
| commit | 3732b97e0393de323f26f750083f556b16ff6b9d (patch) | |
| tree | 8771eb050a962ad3d3f81faa7527ccbf555af136 /adapters/fparkan-render-vulkan/src/ffi/validation.rs | |
| parent | 6f746b8e31de323a55e2a47d8117faca2aa93a50 (diff) | |
| download | fparkan-3732b97e0393de323f26f750083f556b16ff6b9d.tar.xz fparkan-3732b97e0393de323f26f750083f556b16ff6b9d.zip | |
fix(patrol): use native cyclic PatrolPlace point batches
Generate 15-19 goals with Behavior's two random streams, reject candidates
within 100 units of map edges, and retain the cyclic list until the native
20-second plus 10-second jitter timer expires. Draw coordinate and timer
randomness from the shared Behavior CRT stream rather than a patrol-local
copy. Cache chassis CanFly for autonomous checks and reuse the player parser.
Keep per-object counts of batches, goals, approximate area checks and missing
inputs. The generator's initial seed, owner update order, ground walkability
and physical movement remain explicit approximations.
Verified native Behavior.dll RVA 0x2dd90 by x86 invocation at CW 0x007f,
including edge rejection, and captured a matching batch in live AutoDemo.
Rust golden vectors match all goals, RNG states and deadlines. Workspace
fmt/check/test and licensed patrol, combat and clan-clock regressions pass.
All 29 stock missions reach --sim-report 900 with no script interruptions or
new missing patrol inputs. Observed the change in a stock AutoDemo window.
This does not establish full G7 chronology or G8 movement parity.
Diffstat (limited to 'adapters/fparkan-render-vulkan/src/ffi/validation.rs')
0 files changed, 0 insertions, 0 deletions
