18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-03 10:05:23 +01:00
Commit Graph

3 Commits

Author SHA1 Message Date
maj00r 2fcb1a0459 fix(editor): the outcome of the road a change was made on told first, over the refusals of the roads near it
A road refused stayed told whatever came of the roads after it, so after the fix of one road was applied, another road near it
that stood refused before (on a cant ramp in rx_5) hid the outcome of the one fixed. The roads changed themselves and the one whose
fix was applied (kept as crossing_state::fixed, as applying the fix takes the offer away) now go first and are told; the first
refusal still wins among the other roads, when the change was made on none of them.
2026-11-30 00:37:11 +01:00
maj00r c96c79f962 fix(editor): the roads across a track told by the track, not by its name; the paths far from the roads passed over first; a refusal of a crossing stays told
- roads_across() compares the track crossed by itself (rail_track::source), not by its name: every unnamed track (none, read with no
  name) and every track of a name another one has took the roads across all of them, laid again with an unrelated track edit.
- A road whose axis lies far from every path of the track is passed over before the tracks of the scenery are gone through for it,
  and a path far from the roads is passed over at its start, before its points along it are worked out.
- When one change affects several roads, the first refusal stays told with its fix: a road laid after it took the refusal and its
  window away, and the road refused stayed as it was with nothing told.
2026-11-29 23:03:13 +01:00
maj00r 64f96ffdb9 feat(editor): a road crossing the rails laid into the plane of the heads of each track, across it with its cant and along it with its grade, the tracks at other heights joined smoothly, the approaches no steeper than 3% within 20 m of the outer rails (Dz.U. 2025 poz. 1105, annex 5), led to the end of a road ending within them, the crossing refused where the road around leaves no room for that; a track canted more than a crossing allows at the angle the road crosses it (the road over the crossing at most 8%, § 31 ust. 4) refused, the fix lowering the cant of its curve with its ramps and limiting its speed; the grade line of the road breaking at the heads of two tracks side by side by more than 5% refused (annex 5 pt 3), its fixes levelling the tracks into one plane by the grade line of one of them, flat over the crossing with ramps within the track norms, or lowering both cants alike as far as keeps the break to 5%, a break up to 5% told in orange; none on a cant ramp (§ 31 ust. 3), the window telling how far the ramp goes; none within a turnout (§ 34); at a skew the decks ending where the axis passes the field side of the heads and the road cut into pieces of half a metre at most there, its lanes on the surface of the crossing within a centimetre; the crossing panels laid per track, bent along it: the panels CBP made of their drawings, rows long enough for the road with their joints over the sleepers, on curves of R 600 m and more (Id-111), or the panels of the game; the road in the plane of the heads under the whole footprint of each panel, meeting its edges at its top, between two tracks straight from the head of the one to the head of the other with the outer panels there bent onto that line, no hump between them (§ 30 ust. 3), the editor asking the ground over the grooves getting the surface; laid again once a change of the road, of a track it crosses or of a panel is done, a step of the history taken back with the change; told in the status line, the windows of a refused crossing with their text wrapped; self-test commands (crossingholes checking a crossing as built, crossingreport, crossingfix level/lower) and cases rx_*, rx_7 the crossings of a single track, at 60 degrees, on a curve and of four double tracks canted and crossed at a skew checked watertight; Polish translation 2026-11-25 09:21:21 +01:00