aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-07-18 18:27:28 +0300
committerValentin Popov <valentin@popov.link>2026-07-18 18:27:28 +0300
commit77d38e4c1214af82b8e46d745ae411ff4592f603 (patch)
treef7abf4ce89b7967f6fc771d435e3469d4f88c52b /docs
parent97887496508f9b8aff447f2a3b785e5428a6f6a0 (diff)
downloadfparkan-77d38e4c1214af82b8e46d745ae411ff4592f603.tar.xz
fparkan-77d38e4c1214af82b8e46d745ae411ff4592f603.zip
feat(world): retain mission transform state
Diffstat (limited to 'docs')
-rw-r--r--docs/tomes/07-implementation.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/tomes/07-implementation.md b/docs/tomes/07-implementation.md
index 6c6f610..d9c6f80 100644
--- a/docs/tomes/07-implementation.md
+++ b/docs/tomes/07-implementation.md
@@ -374,6 +374,22 @@ Demo mission total: 201 objects -> 501 prototypes -> 501 object MSH/WEAR.
### Deterministic simulation replay
+#### Mission transform state in the world contract
+
+`fparkan-world` now carries a `TransformState` for every live object: the
+three TMA position words, three orientation words and three scale words are
+preserved as exact IEEE-754 bit patterns. This stores source identity before a
+movement or physics controller interprets axes, units or Euler order.
+`WorldSnapshot` publishes transforms in stable object-handle order and the
+canonical SHA-256 state hash includes every transform word.
+
+Mission loading assigns this state after construction and before registration.
+A headless licensed GOG AutoDemo run on 2026-07-18 loaded eight objects, 343
+areals and 3,174 terrain surfaces with zero graph failures, then completed two
+deterministic ticks. This is the state foundation for a future route/movement
+controller; it does not claim recovered velocity, collision or original
+behavior-controller semantics.
+
Записывается начальная миссия, seed, input events, network messages и значения
внешних часов. На контрольных ticks сохраняется canonical state hash: