aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-assets/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat(audio): drive chassis engine loops from actual movementValentin Popov11 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 days1-0/+2
| | | | | | 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.
* feat(movement): play authored walking cycles from chassis travelValentin Popov11 days1-1/+1
| | | | | | 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 days1-2/+4
| | | | | | | | | | | | 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 days1-1/+1
| | | | | | | | | | | | | | | | | | | | 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 days1-71/+12
| | | | | | | | | | | | | | | | 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-141-0/+2
|
* 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-311-7/+530
|
* feat(assets): decode research tables and calculate candidate costsValentin Popov2026-10-311-0/+952
|
* 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.
* feat(runtime): load mission script bundlesValentin Popov2026-07-181-1/+35
|
* feat(assets): preserve unit component asset provenanceValentin Popov2026-07-181-2/+44
|
* feat(prototype): trace unit component edgesValentin Popov2026-07-181-0/+2
|
* feat(prototype): retain unit component provenanceValentin Popov2026-07-181-0/+1
|
* perf(assets): reuse archives during mission loadsValentin Popov2026-07-181-3/+3
|
* feat(runtime): trace visual cache sizesValentin Popov2026-07-181-31/+116
|
* feat(runtime): trace visual graph sizesValentin Popov2026-07-181-0/+26
|
* perf(assets): cache visual wear validationValentin Popov2026-07-181-2/+41
|
* perf(assets): cache visual graph anchorsValentin Popov2026-07-181-5/+15
|
* feat(runtime): trace visual dependency requestsValentin Popov2026-07-181-4/+117
|
* feat(runtime): trace visual graph phasesValentin Popov2026-07-181-0/+38
|
* fix(assets): satisfy material cache lintValentin Popov2026-07-181-1/+1
|
* perf(assets): cache graph material validationValentin Popov2026-07-181-1/+32
|
* feat(runtime): split model asset load checkpointsValentin Popov2026-07-181-3/+6
|
* feat(runtime): trace asset preparation phasesValentin Popov2026-07-181-0/+63
|
* perf(assets): cache prepared model dependenciesValentin Popov2026-07-181-9/+41
|
* fix(assets): retain texture resolver test helpersValentin Popov2026-07-181-0/+16
|
* perf(assets): cache graph texm validationValentin Popov2026-07-181-14/+27
|
* feat(game): bind preview diffuse materialsValentin Popov2026-07-181-1/+13
|
* perf(assets): reuse materials during mission preparationValentin Popov2026-07-181-12/+61
|