aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-path/src/lib.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-12-01 05:33:21 +0300
committerValentin Popov <valentin@popov.link>2026-12-01 05:33:21 +0300
commit7361569a4f2f05ba4c97f276478e70b98c7da39a (patch)
tree95fd6f9e4a9486e8d3da750fa3c33feb3df9f74b /crates/fparkan-path/src/lib.rs
parentbe3b214702693eab36da4484624327d2cad8beec (diff)
downloadfparkan-7361569a4f2f05ba4c97f276478e70b98c7da39a.tar.xz
fparkan-7361569a4f2f05ba4c97f276478e70b98c7da39a.zip
fix(combat): accept weapon CPT points with distinct metadata words
Control.dll caches the node from CPT offset +4 at RVA 0xb210 and uses that node for the point and direction at RVA 0x1b4f0. A native call with the medium cannon's words 3 and 2 selected node 3. Rejecting those different words disabled the authored bb_m_02 cannon. The licensed regression finds the cannon in the stock medium warbot. Both enemy medium warbots fire in the normal-start input replay of Two Fortresses. The 29 stock missions still reach 900 simulated seconds. Rocket racks without resolved CPT lists remain outside the weapon bank.
Diffstat (limited to 'crates/fparkan-path/src/lib.rs')
0 files changed, 0 insertions, 0 deletions