18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-05 16:55:32 +01:00
Files
maszyna/simulation
maj00r ba17623970 fix(world): the review of the logic cache: every file the scenery depends on counts, and so do the terrain setting and the Rainsted marks
- An include is put into the list of files of the tape when it is
  opened, whether it gives tokens or not: an include of includes, an
  empty one and one that failed to open now make the cache old when they
  change or appear (parser_tape::writer::file).
- The terrain directive puts its .txtf and .btf files, and the .sbt it
  names, into the list (cParser::recordFile), and file.binary.terrain is
  one of the settings of the cache, so switching it or editing a terrain
  file records the tape anew.
- The cache keeps the Rainsted marks in its name: $td.scn holds other
  trainsets and time than td.scn, and gets a cache of its own.
- The state of a file is looked up in the case it has on the disk, as
  the parser opens it, so a case-sensitive file system follows changes.
2026-12-03 22:30:21 +01:00
..