mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-03 06:35:21 +01:00
4b2aa65059
A region loaded on its own has to set before each of its statements what the origin / rotate / scale directives of the whole package set: the top of the origin stack and of the scale stack, if any, and the rotation. The table now keeps a list of these contexts, as the bits of their numbers so they come back exactly, and each statement the index of its context; a context is added only when it differs from the one before. Nothing changes in what the game does. Checked in the game (--test 120 s, seed 1, world.binary 1): the physics logs of td.scn and Glinojeck.scn the same bit for bit as from the files, recorded and replayed. td.scn: 593 changes of the transformations over 1867 statements; Glinojeck.scn: 11 011 over 93 876.