aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat(ui): link the other buildings panel to the satellite mapValentin Popov3 days1-0/+1
| | | | Use the installed compound controls, font, and class glyphs for live clan buildings and their durability. Compare the stock Two Fortresses list order, first selection, two-way map selection, and close behavior in the original and in FParkan with Vulkan validation.
* perf(ui): prepare strategic factory projects off the window threadValentin Popov3 days1-2/+3
|
* feat(ui): run repeating strategic factory ordersValentin Popov3 days1-13/+5
|
* feat(ui): transfer designer projects to strategic factoriesValentin Popov3 days1-2/+2
|
* feat(ui): stop an active strategic factory orderValentin Popov3 days1-4/+5
|
* feat(ui): show strategic factories and order a warbotValentin Popov3 days1-3/+4
|
* feat(ui): show live strategic toolbar button statesValentin Popov3 days1-0/+1
|
* feat(ui): arm warbot self-destruction from the strategic cardValentin Popov3 days1-1/+6
|
* feat(ui): watch a warbot on autopilot from its cockpitValentin Popov3 days1-2/+2
|
* feat(ui): drive a strategic warbot with an automatic gunnerValentin Popov3 days1-1/+2
|
* feat(ui): control a warbot from the strategic cardValentin Popov3 days1-2/+2
|
* feat(ui): show live contacts below the strategic satellite mapValentin Popov3 days1-0/+1
| | | | Use the installed title, close control and contact glyphs. Display the hovered object with clan emblem, name, order and durability in the strategic layout. Compared the Captain and Small Warehouse readouts with the original and checked map closing and cockpit return in stock Two Fortresses.
* feat(ui): give warbots standing and route ordersValentin Popov4 days1-0/+1
| | | | Bind the first two commands to the live selection and shared route controller. Build the order panel from the installed compound controls and game font. In stock Two Fortresses, checked Stand, route drafting on the satellite map and terrain, and movement after confirmation with Vulkan validation.
* feat(ui): show live Control stats in the warbot cardValentin Popov4 days1-53/+27
|
* feat(ui): select units from the strategic warbot rosterValentin Popov4 days1-0/+8
|
* feat(ui): show the original strategic resource balancesValentin Popov4 days1-0/+1
|
* feat(ui): enter strategic view from a command postValentin Popov4 days1-0/+1
|
* feat(ui): install turrets and weapons in designer socketsValentin Popov4 days1-0/+2
| | | | | | Read the chassis and turret mount families from MSH Res10 and the attached devices from CTLD. Preserve the parent and mount node in Unit DAT, including separate ammunition subtrees for matching weapons. Verified from the stock Field Camp start: install a turret, mount two identical guns, remove one with its ammunition, and order the edited project through the factory panel.
* feat(ui): build factory projects from a selected chassisValentin Popov4 days1-2/+5
| | | | | | Use researched chassis that fit the selected factory and populate a new Unit DAT from the chassis Control slots and stock default parts. The designer can remove the old chassis, preview the new model, edit its internal parts, and transfer it to the factory. Verified the stock start of Field Camp: remove S-12w, select S-31, install another battery, and queue the resulting project with Vulkan validation enabled.
* feat(factory): register new designs in a running missionValentin Popov4 days1-17/+36
| | | | Load control devices and visuals for saved Unit DAT designs, keep the project bytes pinned for later orders, and select mine reserve drafts by identity. The Field Camp runtime test registers a design without a startup reserve, supplies the factory from a new mine, and checks the released mounts and devices. Stock mission window starts with Vulkan validation clean. Connecting the in-game designer order and world rendering is the next step.
* feat(ui): preview new warbot geometry during a missionValentin Popov4 days1-1/+3
| | | | On stock Field Camp, open a compatible Unit DAT created after start, resize the preview, switch to a resident project, reopen the new project, and return to the mission with Vulkan validation clean. The factory reserve for new geometry is still prepared at mission load.
* feat(ui): open saved warbot projects with distinct geometryValentin Popov4 days1-2/+21
| | | | Prepare saved Unit DAT geometry alongside factory reserves at mission entry and expose compatible, researched files through the designer. Verified a single-gun assembly in the Field Camp window and after factory release with the ore and power supply established in the test.
* fix(ui): validate warbot designs on transferValentin Popov4 days1-1/+1
| | | | Keep the selected model open on a failed research check and post the original central-computer message to the shared pager and history. Verified rejection and corrected production order in the Field Camp window with Vulkan validation.
* feat(ui): save and reopen warbot projectsValentin Popov4 days1-2/+2
| | | | Use original designer art and names for named Unit DAT files. Restore researched designs onto the prepared mounts of a compatible factory scheme. Verified saving, restoring and ordering from the Field Camp window, and production after decoding the saved design in the Constructor.
* feat(ui): edit installed warbot equipmentValentin Popov4 days1-13/+20
| | | | Choose researched internal equipment per mount and build the resulting Unit DAT with the projected Control devices. Verified pointer selection and order in Field Camp with Vulkan validation, and produced the edited two-gun design at the Constructor factory.
* feat(ui): render assembled warbots in the designerValentin Popov4 days1-2/+2
|
* feat(ui): open and transfer recent factory designsValentin Popov4 days1-2/+2
|
* fix(ui): preserve native recent factory project orderValentin Popov4 days1-1/+1
|
* feat(ui): plot local detections on the cockpit radarValentin Popov4 days1-1/+1
| | | | Draw each current detection from the occupied unit sensor in camera-relative coordinates, with the original range scale, clan color and screen-pixel marks. Check stock Two Fortresses before and after a free-look turn and exercise the native rectangle and line callbacks.
* feat(ui): show cockpit altitude above mission sea levelValentin Popov4 days1-0/+1
|
* feat(ui): show live weapon readings in the hero cockpitValentin Popov4 days1-0/+1
|
* feat(ui): show foreign radar contacts on the satellite mapValentin Popov4 days1-0/+4
|
* feat(ui): show owned buildings on the satellite mapValentin Popov4 days1-0/+1
| | | | Use the original landscape projection and building sprites. Resolve ownership from live registered objects so a captured building appears at its existing location. Checked the original DLL and verified the factory and storage icons in the stock Field Camp window.
* feat(player): announce vehicle capture when the hero stays outsideValentin Popov4 days1-0/+1
| | | | Restore the original warbot and mobile command centre acknowledgement bank. A capture that also seats the hero remains silent. The bank and non-repeat selection were checked against the native DLL, and a walk from the normal Teleport start queued the authored voice before the objective notice.
* test(runtime): measure firing cadence after weapon deploymentValentin Popov4 days1-12/+28
| | | | The firing range check now readies each selected weapon before measuring its cycle, so mount travel no longer masks objective and capture checks. The separate Constructor check covers mount travel and muzzle pose.
* fix(control): board a captured warbot on the same EnterValentin Popov4 days1-5/+5
| | | | The native Enter branch transfers the neutral owner before requesting a cockpit switch when the pilot device works. The firing-range window captured and boarded each of its two warbots on one press, and Teleport still credited the mobile HQ without boarding.
* feat(control): replenish ammunition on repair padsValentin Popov4 days1-0/+10
|
* fix(ai): dispatch building loss to the former clanValentin Popov4 days1-0/+1
|
* fix(control): select authored drive states for mobile power demandValentin Popov4 days1-2/+2
|
* feat(audio): announce exhausted weapon ammunitionValentin Popov4 days1-1/+3
|
* feat(control): switch onboard self-repair from the cockpitValentin Popov4 days1-1/+3
|
* fix(combat): converge manual shots on the authored sight rayValentin Popov4 days1-0/+2
| | | | | | Read the ray origin and axis from the turret CTL rows. Match the Control sight query and its minimum convergence distance for compatible projectile profiles. Free look keeps using the same turret ray. Checked Control.dll RVA 0x2a610 with near, far, and clear rays. Used the stock firing range window for the changed launch vectors and replayed ordinary player inputs from the normal start through victory.
* fix(combat): continue projectile flight after piercing shieldsValentin Popov4 days1-0/+2
| | | | | | Resolve shield sphere entrances before the first physical hit. Carry leftover volume into later ticks for both player and autonomous fire and let a geometric miss pass through a warbot bounding sphere. Checked Control.dll RVAs 0x1e9f0 and 0xd0c0 in-process with a sphere-only contact. The AutoDemo corpus covers a charged stop, a pierced field, and an unchanged hull on a miss. Ran the workspace suite and AutoDemo in the game window with Vulkan validation.
* feat(movement): migrate animals between authored sitesValentin Popov4 days1-0/+14
| | | | Select shared migration sites on the ArealMap cadence and feed them to the common route follower with the animal flight clearance and Control climb limit. In The Constructor, both medusas lift off and travel around the selected site from their stock positions. The window showed the change at a fixed viewpoint with clean Vulkan validation. Path details and threat acquisition remain approximate.
* feat(factory): offer starter warbots on missions without designsValentin Popov4 days1-0/+7
| | | | Assemble compatible starter designs from local template layouts and the player clan technology table. Keep those layouts out of enemy factory fallback selection. The Constructor replay walked from spawn, captured the factory, ordered from the communicator, boarded the released warbot and won after capturing the hangar. The interactive constructor remains open.
* fix(ai): choose fast combat designs for factory ordersValentin Popov4 days1-3/+3
| | | | | | Prepare a combat catalog entry for SELECT_FASTEST alongside SELECT_STRONGEST. Rank the fast choice using the projected Control forward limit and preserve catalog order on ties. The GOG selector picks 12hel1.dat from the initial scream catalog. Both newly built small factories in Third Part now complete that design from a stock start.
* fix(ai): preserve clan job priorities through factory dispatchValentin Popov4 days1-0/+1
| | | | | | Match GOG ai.dll when refreshing the same request and starting equally weighted jobs. Resolve generated factory IDs when dispatching or awaiting production. Verified from stock starts in Two Fortresses and Third Part. Two Fortresses uses a newly built factory for a combat robot. The small factory in Third Part still lacks a compatible prepared design. The armed stock replay reached late cleanup and left a transport to pursue.
* fix(combat): select shield sectors from assembled warbot boundsValentin Popov5 days1-1/+6
| | | | Use the same assembled sphere for the charged sector and its impact pulse. Prepare the sphere in mission state so headless combat spends the same charge. Verify the sector change by calling Control.dll and observe the pulse during a stock AutoDemo encounter.
* fix(render): drive warbot muzzle flashes with firing phasesValentin Popov5 days1-1/+4
| | | | Use the first CPT node when the effect has no explicit override. Feed the autonomous weapon banks into the same phase sampling path as manual weapons. Confirm the effect constructor and phase reads in the original DLLs, and compare the two cannon flashes in a live AutoDemo window at the same clock sample.
* fix(combat): let projectiles destroy mounted warbot partsValentin Popov5 days1-1/+1
| | | | 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.