aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src
Commit message (Collapse)AuthorAgeFilesLines
* feat(ui): show live Control stats in the warbot cardValentin Popov4 days5-54/+290
|
* feat(ui): select units from the strategic warbot rosterValentin Popov4 days6-7/+255
|
* feat(ui): show the original strategic resource balancesValentin Popov4 days2-0/+104
|
* feat(ui): move the strategic bunker cameraValentin Popov4 days1-38/+234
|
* fix(ui): clear building roofs with the strategic cameraValentin Popov4 days1-5/+23
|
* feat(ui): enter strategic view from a command postValentin Popov4 days2-0/+155
|
* feat(ui): show the original strategic toolbar in AutoDemoValentin Popov4 days1-1/+9
|
* feat(ui): show the original framed map in AutoDemoValentin Popov4 days1-0/+22
|
* feat(ui): install turrets and weapons in designer socketsValentin Popov4 days3-9/+299
| | | | | | 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 days4-7/+266
| | | | | | 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): build newly loaded projects without restarting the missionValentin Popov4 days2-97/+126
| | | | | | Transfer a saved design from the original designer panel, prepare it with the regular AniMesh scene builder, and queue the selected factory order. Appended world batches keep existing draw handles and gain the normal cockpit, walking animation, weapon and shield bindings. The Field Camp window witness adds a one-gun Unit DAT after mission start, uses the normal transfer and order controls, supplies the factory with a scripted test fixture, and captures the released unit with Vulkan validation clean. The two licensed factory tests also verify the assembled component records and weapon control.
* feat(factory): register new designs in a running missionValentin Popov4 days4-80/+340
| | | | 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 days3-81/+154
| | | | 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 days4-20/+387
| | | | 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 days2-15/+34
| | | | 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 days3-27/+153
| | | | 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 days3-31/+399
| | | | 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 days2-8/+13
|
* feat(ui): open and transfer recent factory designsValentin Popov4 days2-2/+17
|
* fix(ui): preserve native recent factory project orderValentin Popov4 days3-67/+70
|
* feat(ui): animate and sound the original radar sweepValentin Popov4 days1-8/+24
| | | | Draw the native 20-segment outline over the cockpit dial and under its contacts. Read the installed radar period and restart only after two periods, playing the configured RADAR cue independently of mission speech. Check the growing and reset sweep on the stock Fireline start.
* feat(ui): restore the original cockpit radar dialValentin Popov4 days1-7/+39
| | | | Use the mirrored source atlas halves and show the installed sensor range with the original font. The stock Fireline cockpit reads 300 and the Two Fortresses cockpit reads 400. The range query agrees with the original libraries for both inactive and missing devices.
* feat(ui): plot local detections on the cockpit radarValentin Popov4 days3-4/+109
| | | | 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 days2-0/+59
|
* feat(ui): show live weapon readings in the hero cockpitValentin Popov4 days2-5/+90
|
* feat(ui): show foreign radar contacts on the satellite mapValentin Popov4 days4-34/+399
|
* fix(ui): hide exhausted contacts on the satellite mapValentin Popov4 days1-5/+38
|
* feat(ui): draw selected warbot routes on the satellite mapValentin Popov4 days2-7/+98
|
* feat(ui): show player heading on the satellite mapValentin Popov4 days1-31/+102
|
* feat(ui): show owned units on the satellite mapValentin Popov4 days1-7/+114
|
* feat(ui): show owned buildings on the satellite mapValentin Popov4 days2-0/+154
| | | | 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.
* fix(script): return the registered ID of a produced capturerValentin Popov4 days1-6/+79
| | | | The Mission handler now resolves the eligible warbot through the shared logical ID lookup. The original handler returns the registered roster ID. The Teleport regression reproduces the former stop with a newly registered eligible candidate, and the unmodified mission starts in the game window.
* feat(player): announce vehicle capture when the hero stays outsideValentin Popov5 days3-0/+12
| | | | 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 Popov5 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 Popov5 days2-5/+82
| | | | 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.
* fix(control): use the original neutral vehicle capture rangeValentin Popov5 days2-20/+25
| | | | The GOG Enter handler shares a strict horizontal 20-unit check for capture and boarding. The stock firing-range window transferred both neutral warbots beyond the old radius, and the licensed Teleport check still credited the mobile HQ.
* fix(control): recharge weapons on repair padsValentin Popov5 days1-0/+44
|
* feat(control): replenish ammunition on repair padsValentin Popov5 days6-36/+155
|
* fix(control): repair damaged nodes on facility padsValentin Popov5 days2-24/+43
|
* fix(ai): resume building capture after losing its assigneeValentin Popov5 days6-63/+212
|
* fix(ai): dispatch building loss to the former clanValentin Popov5 days5-48/+322
|
* fix(control): select authored drive states for mobile power demandValentin Popov5 days3-19/+146
|
* feat(audio): announce exhausted weapon ammunitionValentin Popov5 days2-11/+49
|
* feat(audio): announce low cockpit weapon chargeValentin Popov5 days1-0/+32
|
* feat(control): switch onboard self-repair from the cockpitValentin Popov5 days3-23/+152
|
* fix(combat): fire autonomous turrets along their barrel and sightsValentin Popov5 days3-6/+113
| | | | | | Transform the live CPT axis through the weapon sockets and the chassis. Mounted weapons use the same sight convergence as manual shots for compatible profiles. The autonomous ray checks current chassis and mounted geometry. Checked the Control.dll CPT transform and convergence oracle against the Rust path, observed the initial AutoDemo combat in the Vulkan window, and ran the licensed AutoDemo combat test.
* fix(combat): converge manual shots on the authored sight rayValentin Popov5 days3-0/+91
| | | | | | 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): aim mounted turrets in their authored axesValentin Popov5 days2-7/+51
| | | | | | Keep the authored root rotation when converting a target from a chassis socket into the animated turret model. AutoDemo no longer turns the medium turret sideways toward a target on level ground. Compared the stock muzzle direction with the recorded GOG Control.dll launch and checked AutoDemo in the Vulkan window, the licensed combat run, and the workspace suite.
* fix(combat): continue projectile flight after piercing shieldsValentin Popov5 days7-127/+428
| | | | | | 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.
* fix(audio): play flamer sound from the firing nodeValentin Popov5 days1-17/+65
| | | | Feed initial node-attached Op2 rows from the same Control blends as their firing nodes. Keep them separate from projectile one-shots and opcode 10 wind-up sounds. The original Effect.dll confirmed the strict 0.01 threshold. The Constructor replay ordered and boarded the stock warbot, played the heavy flamer before projectile release, and captured the hangar.