<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fparkan/crates/fparkan-runtime/src/control_resources.rs, branch trunk</title>
<subtitle>Utilities and tools for the game "Parkan: Iron Strategy".
</subtitle>
<id>https://git.popov.link/fparkan/atom?h=trunk</id>
<link rel='self' href='https://git.popov.link/fparkan/atom?h=trunk'/>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/'/>
<updated>2026-12-02T09:27:06+00:00</updated>
<entry>
<title>feat(ui): send warbots to recharge from the strategic panel</title>
<updated>2026-12-02T09:27:06+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-02T09:27:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=c846377ead77ef7184cdeddd25c3f2c9d76a6736'/>
<id>urn:sha1:c846377ead77ef7184cdeddd25c3f2c9d76a6736</id>
<content type='text'>
Verify LTW-3 approaches the generator and clears its recharge status after leaving from the stock Two Fortresses start. Reuse authored building passages and shared Control replenishment, with a licensed test for refilling an empty magazine.
</content>
</entry>
<entry>
<title>feat(control): replenish ammunition on repair pads</title>
<updated>2026-12-01T16:08:24+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-01T16:08:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=87c082f87844f47dd6b057fc2458cee80002dc55'/>
<id>urn:sha1:87c082f87844f47dd6b057fc2458cee80002dc55</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(control): repair damaged nodes on facility pads</title>
<updated>2026-12-01T15:58:11+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-01T15:58:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=3b10d83864d84715b875d596fcd5b4147fcd8ed3'/>
<id>urn:sha1:3b10d83864d84715b875d596fcd5b4147fcd8ed3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(control): select authored drive states for mobile power demand</title>
<updated>2026-12-01T14:52:41+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-01T14:52:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=f7c5c3bffd565bb6b0995a220ecb7788471b7848'/>
<id>urn:sha1:f7c5c3bffd565bb6b0995a220ecb7788471b7848</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(combat): charge the drive before refilling weapons</title>
<updated>2026-12-01T04:33:51+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-01T04:33:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=777f48345c7faf891ac105fc4a831114914aff5d'/>
<id>urn:sha1:777f48345c7faf891ac105fc4a831114914aff5d</id>
<content type='text'>
Read the resource multiplier from CTL when all authored states agree and price the latest local motion in the existing Control budget. A licensed AutoDemo flyer charges its weapons more slowly when the drive is drawing from the same supply. Control.dll oracle vectors, the AutoDemo window, and all 29 mission startup sweeps pass.
</content>
</entry>
<entry>
<title>fix(fx): switch warbot smoke with the damage alarm</title>
<updated>2026-12-01T03:57:23+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-01T03:57:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=31dd73cbf59f5c8fe58b77b373a75033dc5a037a'/>
<id>urn:sha1:31dd73cbf59f5c8fe58b77b373a75033dc5a037a</id>
<content type='text'>
Resolve the matching enable and disable selectors from authored CTL alarm groups. Render node-attached smoke and light only while the live Control alarm is active. Verify the native selector against both DLLs and inspect two Vulkan frames around an ordinary AutoDemo alarm. Independent mode-14 triggers and the damage stage cascade remain open.
</content>
</entry>
<entry>
<title>fix(combat): apply critical damage on the Control resource tick</title>
<updated>2026-12-01T03:34:52+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-01T03:34:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=364f8a0984e5cd3b65e81f24e95fcf8cd92aec2d'/>
<id>urn:sha1:364f8a0984e5cd3b65e81f24e95fcf8cd92aec2d</id>
<content type='text'>
Use the alarm entry amount for sequential wear and disable the onboard repair device before recomputing motion limits. Match the Control.dll alarm and recovery vector. In the stock AutoDemo the affected warbot now loses its remaining movement instead of keeping its last limit. Alarm effects and the full native node cascade remain approximate.
</content>
</entry>
<entry>
<title>feat(repair): restore hull health on factory and hangar pads</title>
<updated>2026-11-26T04:01:50+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-26T04:01:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=161c3fad038c5fae15d49ba614bee37cbcdde6f6'/>
<id>urn:sha1:161c3fad038c5fae15d49ba614bee37cbcdde6f6</id>
<content type='text'>
Check both authored Constructor volumes, ownership and departure in a licensed integration test. Validate Constructor in a window from stock start. Facility power, ammunition and the repair rate are open.
</content>
</entry>
<entry>
<title>feat(combat): feed weapon charge from Control energy budgets</title>
<updated>2026-11-25T21:38:43+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-25T21:38:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=8ac763f7bfda827016d17c66372d02b85d5a9bb5'/>
<id>urn:sha1:8ac763f7bfda827016d17c66372d02b85d5a9bb5</id>
<content type='text'>
Keep factory-2/30 charge in the owner's Control table. AI and player banks
read it before firing, debit completed shots and wait for regeneration.
Preserve one charge across bank changes and accumulate energy waits by
object, including an idle bank publishing after an active bank.

Mobile owners now run the resource budget. Restore the shared factory-1
callbacks, factory-2/30 charging and factory-10 passive upkeep. Factory 30
uses the weapon constructor's native disabled default. Motion demand is
still an explicit zero-rate stub; unsupported budgets disable charge
limiting for that owner and record the reason.

Execute unmodified GOG Control.dll callbacks at RVA 0x29a40/0x29a90,
0x264b0/0x26510 and 0x21860/0x21890; check the common constructor at
0x294c0. Rust golden vectors cover disabled refill, zero capacity,
negative charge and x87 rounding at control word 0x007f.
SHA-256: bcb86318089028548a178b03a21accdce15df0cc85ddd91674cf3c2f55012c6e.

Validated fmt, workspace check/tests, release, licensed shared-bank charge
exhaustion/recovery, stock combat and damaged-profile regressions. All 29
stock missions reached 900 seconds; the only mobile-budget stub was the
known motion input. Observed stock window combat and replenishment.
Full live native mission comparison and motion energy remain open.
</content>
</entry>
<entry>
<title>fix(control): refresh motion limits after node damage</title>
<updated>2026-11-25T20:57:43+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-25T20:57:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=530afea388f4e487a5a1320381c59e7d217717d8'/>
<id>urn:sha1:530afea388f4e487a5a1320381c59e7d217717d8</id>
<content type='text'>
Run the supported dirty Control profile branch on the resource clock,
before the existing factory/laboratory budget pass. Mobile owners now
participate in these clocks. Root hits reduce the drive's current E00
value and the next place-patrol speed request uses the updated limit.
Keep mutable node-group means and publish profile words atomically.

Move FCA0 projection into control_profile rather than extending lib.rs.
Count clock checks, publications and unsupported updates per object;
alarm damage, activation and mobile device budgets remain explicit gaps.

Native Control.dll RVA 0x12a40 -&gt; 0xfca0 confirms mean retention,
clean-call behavior and the healthy-critical-group branch that bypasses
the aggregate threshold. Golden outputs are covered by Rust tests.
SHA-256: bcb86318089028548a178b03a21accdce15df0cc85ddd91674cf3c2f55012c6e.

Validated fmt, workspace check/tests, release, licensed stock damage,
combat and patrol regressions, plus all 29 stock missions for 900 seconds
without new profile-update stops. Stock window AI hits change limits.
The additional live native interception yielded no usable sample;
its supported calculation branches were executed directly in the DLL.
</content>
</entry>
</feed>
