<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fparkan/crates/fparkan-runtime/src/mobile_budget.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-03T14:39:24+00:00</updated>
<entry>
<title>feat(game): enable powered camouflage in the cockpit</title>
<updated>2026-12-03T14:39:24+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-03T14:39:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=4b9277258224ab846b84cafe1d6a3b91e29a05c5'/>
<id>urn:sha1:4b9277258224ab846b84cafe1d6a3b91e29a05c5</id>
<content type='text'>
</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): 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): let projectiles destroy mounted warbot parts</title>
<updated>2026-12-01T04:55:10+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-01T04:55:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=79635316902c69a363f1d1a9ebef110d94190356'/>
<id>urn:sha1:79635316902c69a363f1d1a9ebef110d94190356</id>
<content type='text'>
Resolve mounted model triangles through the sampled socket chain and publish the damage to the assembled Control provider. Remove the damaged geometry, stop weapons whose provider was depleted, and preserve already separated ranges when the chassis later dies. Confirmed with a licensed AutoDemo ray query and two frames around a controlled hit in the Vulkan window.
</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>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>
</feed>
