18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-03 06:35:21 +01:00

docs(world-format): the first check of D4: regions first, then the package, gives the same physics logs

Replayed statement by statement with the regions first, td.scn and Glinojeck.scn give the same physics logs bit
for bit as from their files (#604); with the package first the trainsets come before their tracks.
This commit is contained in:
maj00r
2026-12-03 00:57:36 +01:00
parent 1495d2595f
commit 9297ac3caf
+6
View File
@@ -880,6 +880,12 @@ events — so that a region loaded at any time gets the same outcome as a load o
holds only its own nodes, and a region-independent part (events with no place, the time, the weather, the trainsets) loads with the
package. Until D4 is settled the logic keeps loading whole, as step 2 does.
A first check of D4 (#604, 03.12.2026): replayed statement by statement from the cache with the regions first and the statements of
the whole package after them, `td.scn` and `Glinojeck.scn` give physics logs the same bit for bit as from their files; with the
package first, the trainsets come before the tracks they stand on and `td.scn` is left without vehicles. So the order-dependent rules
didn't change the outcome there, and what matters first is that the statements of the package that refer to the regions follow them.
The outcome in the cache still stands for sceneries with repeated names, which identical physics logs don't rule out.
The steps are checked by unit tests (a round trip `.scn` → source → cache → export) and the editor self-test
(`EU07_EDITOR_SELFTEST`) with a comparison of screenshots, always on a copy of the scenery. The cache shares the compact vertex with
EU07M (section 8), so its GPU blocks go after the EU07M Vulkan stream (#537), or carry the layout themselves if that comes later. The