mirror of
https://github.com/storytold/AniCraft.git
synced 2026-11-28 17:19:31 +01:00
Item streams are an MFC CArchive object graph (class declarations, 0x8000|n class references, back references, 00 00 for none). A bounded reader (archive.rs) walks it: pages, layers (type, colour, folders, parents), keyframes with their raw artwork, duration, tween type and flags, ease, labels and six custom ease curves, and symbol instances (matrix, transformation point, first frame, loop mode, colour effect, blend, library item id from Contents). Library symbols get their full timelines; Contents also yields each item's type and the stage size. Undecoded objects (texts, bitmaps, filters, button settings) are skipped to where their parent continues and counted; a stream that does not decode falls back to the structure-only reading. Verified differentially against the Animate twins on every corpus pair: 337/337 timelines, 1628/1628 layers, 6993/6993 keyframes and 4457/4457 instances match (matrix within 0.01 / 0.05 px); rendered movietemplate frames 1, 70, 120 and 184 are byte-identical to the twin's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Architecture decision records
One file per decision: NNNN-short-title.md, numbered in order. The files in this folder are the
index.
Numbers never move
A pull request keeps the ADR number it was given until it merges or closes, so its author never has to renumber because another PR merged first.
- Taking a number: use the next number above every ADR in this folder and every number in the table below. Add your number to the table in the same PR (or ask a maintainer to reserve it for you before you start).
- Reserved numbers are skipped. No other PR may use a reserved number, even if a lower number
looks free on
main. Gaps in the sequence are expected. - When a PR merges, its row leaves the table (the ADR file now holds the number). When a PR closes without merging, its row leaves the table and the number stays unused.
- Maintainers keep this table current for open pull requests from anyone, including outside contributors whose PR already contains an ADR: that PR's number is reserved as it is.
Reserved for open pull requests
| Number | Pull request | Topic |
|---|---|---|
| 0037 | #38 (outside contribution) | Interface languages |
| 0096 | legacy Flash import (local working copy, unmerged) | Compound binary .fla container |