aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-assets/src
Commit message (Collapse)AuthorAgeFilesLines
...
* fix(ui): animate native F1 controlsValentin Popov5 days1-32/+205
|
* fix(ui): lay out F1 controls in native columnsValentin Popov5 days1-25/+54
|
* feat(ui): open mission help and full message history with F1Valentin Popov5 days3-41/+500
|
* feat(ui): decode mission help resourcesValentin Popov5 days2-0/+262
|
* feat(ui): render current messages in the native cockpit pagerValentin Popov5 days3-2/+262
|
* feat(ui): show the original mission loading screenValentin Popov5 days3-9/+189
|
* feat(ui): show installed warbot weapons in the cockpitValentin Popov5 days2-0/+64
| | | | Resolve each selected mount through the original objects.dlb short name and render the live weapon bank after boarding. On a stock Fireline start the medium warbot shows the laser and both separate missile racks. Firing the selected rack reduces its ammunition from 18 to 17 while the other still reads 18.
* feat(ui): show cockpit altitude above mission sea levelValentin Popov5 days1-11/+25
|
* feat(ui): show live weapon readings in the hero cockpitValentin Popov5 days3-3/+86
|
* feat(ui): show owned buildings on the satellite mapValentin Popov5 days1-1/+10
| | | | 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(ui): render mission hints with the original game fontValentin Popov5 days4-52/+111
| | | | Resolve the witnessed 800x600 GAME_FONT through the installed resource configuration. Draw CP1251 bytes from the Tfnt atlas using the original variable-width metrics. Checked the original measurement routine and the first Constructor hint in the game window.
* feat(ui): open the authored mission satellite mapValentin Popov5 days2-0/+188
| | | | Read the minimap archive binding from mission.cfg and resolve the compass through the original UI atlas key and crop. M toggles the overlay and Ctrl+M retains the current mine command. Checked show/hide in the Constructor window and the original DLL.
* fix(control): select authored drive states for mobile power demandValentin Popov5 days2-10/+235
|
* fix(audio): play flamer sound from the firing nodeValentin Popov5 days2-0/+32
| | | | 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.
* fix(combat): charge the drive before refilling weaponsValentin Popov5 days1-5/+15
| | | | 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.
* fix(fx): switch warbot smoke with the damage alarmValentin Popov5 days1-1/+73
| | | | 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.
* fix(combat): load CPT launch points for rocket racksValentin Popov6 days1-2/+6
| | | | | | | | | | Read the component's authored CPT when its weapon records reference firing rows. The stock medium and heavy racks have no muzzle flash row, but their 16 and 9 launch points belong to the weapon cycle. The licensed battery test verifies both rack layouts. A runtime replay from the stock Two Fortresses start records heavy rocket launches from the restored racks. All 29 stock missions reach 900 simulation seconds.
* fix(input): use the original hero turret elevation rangeValentin Popov10 days2-39/+50
| | | | Apply the World3D mouse Y filter and reverse setting, update the normalized turret request, and use the authored neutral and span to share pitch with the cockpit and elevation tracks. Original World3D dispatch and Control manual mode confirmed the gain and clamp. Stock Firing Range captures show both endpoints and the licensed Constructor test checks the camera and turret together.
* fix(audio): start node-attached laser sounds during wind-upValentin Popov10 days1-1/+54
| | | | | | | | | | | Use the weapon descriptor's Control group to select the mode-1 sound rows. Update them through the existing FX clock and spatial Op2 playback for both manual and autonomous weapons. The GOG Control/Effect entry points confirm the selector, epoch and phase threshold, including retriggering after a sample at the exact phase peak. The stock Two Fortresses helicopter started the original sound at both weapon nodes in a Vulkan window.
* feat(audio): drive chassis engine loops from actual movementValentin Popov10 days1-6/+24
| | | | Prepare the authored root-node CTL attachments and feed Control speed limits plus observed motion into FX modes 5 and 15. The stock AutoDemo window queues ground and flight engine loops from the starting scene.
* feat(combat): play the referenced explosion on chassis destructionValentin Popov11 days2-0/+39
| | | | | | Read the version-one EXPL reference from the depleted NDP root. Retain the death position across slot reuse and show the authored billboard, light and sound after the mesh is removed. Verified the explosion sprite after a stock AutoDemo kill, with Vulkan validation clean. Node detachment, debris particles and building destruction remain open.
* fix(movement): drive tread material cycles from chassis travelValentin Popov11 days1-11/+22
| | | | | | Bind animated tread batches to their individual hull displacements. Preserve the authored phase sequence and derive nominal cycle length from the Control speed, scale and MAT0 duration. Checked stock tracked models in the normal AutoDemo window with Vulkan validation clean. Signed travel, stop and respawn are covered by a unit test. Per-track turning and physical cycle length are approximate.
* feat(movement): play authored walking cycles from chassis travelValentin Popov11 days2-17/+48
| | | | | | Select a closed forward stride from the model for explicit walking profiles. Drive it from world displacement and subtract baked forward travel before updating geometry, mounts and shadows. Verified light, medium and heavy stock model cycles and watched leg poses change from the normal AutoDemo start with Vulkan validation clean. Stop transitions and terrain-adaptive feet remain open.
* fix(movement): use profile requests for scripted Go speedValentin Popov11 days2-11/+52
| | | | | | | | | | | | Scripted Go used a fixed speed of 9. Feed the temporary movement controller with the current Control forward limit multiplied by the loaded Behavior Go_SpeedPercent. Missing coefficients retain the native constructor default of 1; present VAR records use the first matching row's applied value. Rebind a produced unit's Behavior profile to its new full handle so the request remains available after spawning. Share Go and PatrolPlace speed sampling in unit_speed.rs while retaining the patrol coefficient of 0.8, and move profile-loading mechanics out of lib.rs into behavior_profile.rs. Reports distinguish Go and patrol samples and keep explicit fallbacks for unresolved inputs. An unmodified GOG Behavior.dll oracle executes the native profile constructor, current-profile getter and both Go start/update paths under x87 0x007f. A hardware breakpoint records the request before the MWalker call. It confirms default, fractional and zero vectors, including the stock request 0x41e52e74 (28.647682). This is requested-speed evidence; MWalker caching, acceleration, routing and physical integration remain explicit approximations. The licensed stock mission-19 test first failed because Go never requested its Control speed, then passed with the original robot at the stock start. Existing patrol and newly produced-unit profile tests also pass. In the stock game window the raid fires at 190671 ms instead of the preceding build's roughly 327 seconds, depletes the bunker root at 193620 ms, and completes both queued retreat Go orders before ShutDown. The hero stays at the starting position. Validation: cargo fmt --all -- --check; cargo check --workspace; cargo test --workspace; release build; six focused/ignored runtime speed tests; native start/update vectors; all 29 stock --sim-report 900 runs with zero Go speed fallbacks or damage errors. World summaries remain unchanged. Full original movement and mission chronology are not accepted by this change.
* feat(research): unlock dependent and zero-cost technologiesValentin Popov11 days3-19/+172
| | | | | | | | | | | | | | | | | | | | Apply MisLoad's enabled/available/learned flag transitions after laboratory completion. Scan every enabled unavailable row against all prerequisites, then follow Behavior's ordered zero-cost child completion. Publish learned descendants to construction and production and replace the unlock stub with per-clan availability counters. Direct calls to original MisLoad.dll 0x2c10 and Behavior.dll 0x23aa0 confirm flag preservation, disabled prerequisites, positive/negative cost exclusion, and free child recursion. Licensed table checks cover the stock first AI project and a project with two automatic child technologies. The first stock AI project opens no additional rows in either implementation. Workspace fmt/check/tests, licensed laboratory regression, 29 stock missions at 900 seconds and a stock Vulkan window check pass. This removes the completion coverage gap needed by the next research-policy task; it does not establish full project chaining or live AI chronology. Handlers 65/69 remain explicit stubs.
* feat(ai): execute laboratory research from clan scriptsValentin Popov11 days3-90/+150
| | | | | | | | | | | | | | | | Clan laboratories accept the selected DAT project, request power and ore, accumulate native research progress, and publish learned technologies to construction and production. Research requests wait for the live laboratory; newly built objects are no longer mistaken for destroyed targets. Behavior.dll task 0x2f730 was called with paid and free work under x87 0x007f. The stock Single.02 regression checks both completed technologies and keeps the request pending while the laboratory is busy. Workspace fmt/check/tests, the 29-mission 900-second corpus, and the Vulkan window check pass. Dependent availability and free child propagation remain explicit script_research_unlock_stub counters; candidate properties 65 and policy 69 remain open. This does not close G7 or establish live AI chronology parity.
* fix(player): read flight capability from chassis profileValentin Popov2026-11-142-0/+54
|
* feat(runtime): deploy mines and supply ore to factoriesValentin Popov2026-11-141-1/+3
|
* feat(game): play authored sounds on manual fireValentin Popov2026-11-141-0/+15
|
* feat(game): animate turret elevation from player aimValentin Popov2026-11-141-0/+93
|
* fix(assets): decode remaining Control records in mission corpusValentin Popov2026-11-141-3/+15
|
* feat(runtime): project factory-2 selector 6 metadataValentin Popov2026-10-311-14/+207
|
* feat(assets): decode CTLD tag 17 recordsValentin Popov2026-10-311-2/+288
|
* feat(runtime): load clan research tables during startupValentin Popov2026-10-311-2/+2
|
* fix(assets): count texture requests in mission plansValentin Popov2026-10-311-8/+88
|
* feat(assets): restore ordered research candidate selectionValentin Popov2026-10-312-8/+798
|
* feat(assets): decode research tables and calculate candidate costsValentin Popov2026-10-312-0/+1836
|
* feat(runtime): retain Control owner profiles during loadingValentin Popov2026-10-291-0/+76
|
* fix(runtime): load robot Control device tablesValentin Popov2026-10-291-1/+37
|
* feat(runtime): load Behavior profiles for resource queriesValentin Popov2026-10-221-0/+239
|
* feat(assets): sample native resource device coefficientValentin Popov2026-10-221-0/+332
|
* Parse CTLD initial effect group selectorValentin Popov2026-10-181-2/+71
|
* feat(assets): load FX materials from selected archiveValentin Popov2026-10-181-6/+108
|
* fix(assets): parse native CTL tags 2 and 5Valentin Popov2026-10-181-22/+53
|
* feat(assets): load native BAS geometry for placementsValentin Popov2026-10-181-3/+146
|
* feat(assets): sample component control timelinesValentin Popov2026-10-181-78/+1052
|
* Load explicit component point listsValentin Popov2026-10-111-2/+438
|
* Parse native CTLD effect rowsValentin Popov2026-10-111-1/+481
|
* feat: complete map viewer scene and static CTL pose previewValentin Popov2026-10-111-41/+1085
| | | | Complete the interactive mission viewer with environment rendering, audio events, dynamic shadows, free-flight camera controls, and per-component CTL pose sampling.
* chore: simplify project to engine docs and testsValentin Popov2026-09-061-352/+38
| | | | Remove planning and acceptance scaffolding while retaining the native Vulkan mission preview, format readers, runtime algorithms, and ordinary Rust tests. Keep the book aligned with the runnable project and validate checked-in shaders without generated tool metadata.