aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-script
Commit message (Collapse)AuthorAgeFilesLines
* feat(ai): start the highest-priority clan script problemValentin Popov2026-11-141-0/+5
| | | | Open the matching Start section after Problems0, expose its arguments, and support completion and unreserved placed-unit selection. Two Fortresses enters its laboratory job and reaches Handler(6). Timing, ties and continuation remain explicit approximations.
* feat(script): query clan storage and follow forward jumpsValentin Popov2026-11-141-1/+52
| | | | Use live storage capacity for Handler(16), expose the unbound research policy as a counted Handler(56) stub, and honor forward control-3 jumps. Checked storage arithmetic, flag truthiness and raw jump behavior by calling ai.dll. Stock Single.01 now reaches problem submission.
* feat(ai): read free clan power in problem scriptsValentin Popov2026-11-141-5/+63
| | | | The typed event host stores the finite or negative float result in the script cell. A direct call to ai.dll verifies available minus requested power. Single.01 evaluates the energy branch and reaches its mine resource query.
* fix(script): honor numeric condition scopes during InitValentin Popov2026-11-141-29/+127
| | | | Shares condition execution with Mission and compares a float left operand as f32. Native ai.dll confirms all six operators on the observed difficulty comparison. The complete 900 s corpus has no crashes or periodic Mission stops; remaining Init stops are Handlers 15 and 68.
* fix(script): evaluate products before adding formula termsValentin Popov2026-11-141-7/+49
| | | | Reuses the original operand formats and rounds each product before adding or subtracting. The original ai.dll agreed on three campaign difficulty expressions. Mission 19 now reaches comparison branches in Init.
* feat(script): evaluate scenario deadlines and timeout testsValentin Popov2026-11-141-21/+24
| | | | Handler(59) stores a DWORD deadline in Init or Mission. Handler(60) compares it strictly against the current scenario clock. The original ai.dll confirms overflow and the equality boundary. Mission 16 now reaches its scheduled message.
* feat(ai): issue scripted place patrols from clan InitValentin Popov2026-11-141-3/+3
| | | | Handler(15) читает живые клетки и направляет размещённого варбота в указанную точку. Кампания 01, миссия 02 при штатном старте ставит четыре патруля и продолжает Init до Handler(51).
* fix(script): continue clan Init past the research stubValentin Popov2026-11-141-0/+19
| | | | Оставляем строгую загрузку прежней. В игровом режиме команда без результата отмечена по клану и номеру инструкции, следующие команды исполняются. На штатных ресурсах все 29 миссий запускаются, 12 вызовов дошли до заглушки, а Single.01 завершила Init без обрыва.
* feat(runtime): enable the Teleport mobile HQ objectiveValentin Popov2026-11-141-0/+7
|
* feat(runtime): execute scripted place patrol ordersValentin Popov2026-11-141-64/+65
|
* fix(runtime): set tutorial production thresholds from live clansValentin Popov2026-11-141-11/+123
|
* feat(runtime): trigger tutorial voices from tactical areasValentin Popov2026-11-141-2/+18
|
* feat(runtime): dispatch the periodic Mission script eventValentin Popov2026-11-141-11/+148
|
* feat(runtime): start missions with explicit Init stubsValentin Popov2026-11-141-16/+55
|
* fix(script): apply immediate Init assignmentsValentin Popov2026-11-141-1/+46
|
* feat(script): evaluate additive FML expressions during InitValentin Popov2026-10-311-26/+460
|
* feat(script): execute numeric FML assignments during mission InitValentin Popov2026-10-311-124/+888
|
* fix(script): read Init guards in native disk orderValentin Popov2026-10-311-30/+42
|
* fix(runtime): execute the first supported Init eventValentin Popov2026-10-201-6/+404
|
* fix(script): preserve scheduler counter incrementValentin Popov2026-10-202-6/+109
|
* chore: simplify project to engine docs and testsValentin Popov2026-09-062-8/+2
| | | | 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(script): bind callbacks to runtime varsetsValentin Popov2026-07-181-14/+65
|
* feat(script): resolve default init writesValentin Popov2026-07-181-3/+210
|
* feat(script): resolve handler eight statesValentin Popov2026-07-181-3/+189
|
* feat(script): resolve handler fifteen inputsValentin Popov2026-07-181-3/+299
|
* feat(script): resolve handler thirty dword callbacksValentin Popov2026-07-181-2/+165
|
* feat(script): parse varset numeric defaultsValentin Popov2026-07-181-2/+277
|
* feat(script): model handler two schedulerValentin Popov2026-07-181-1/+234
|
* feat(script): classify VM dispatch selectorsValentin Popov2026-07-181-1/+57
|
* feat(script): decode compiled package framingValentin Popov2026-07-182-0/+266