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

360 Commits

Author SHA1 Message Date
maj00r 75c8ec74ce fix(editor): a station counts its steps by their serials, a failed one leaves nothing to redo, a turnout goes into a track at the height of the line
- lay_station() counts the steps of the history by their serials (history_top()), not by its size, which stops growing at the cap
  of the history: there a station laid in full looked failed, back() took nothing back and Enter laid the line again; the steps
  weren't joined, and the switches of a crossover came out none.
- A station refused takes its turnouts back and drops them from the redo stack: Ctrl+Y laid them without the line between them.
- A turnout goes into a plain track within 3 m of the height of the line traced, not into one on a viaduct above it or in a cutting
  below it.
2026-11-29 23:03:43 +01:00
maj00r 1f6ee9d1ac Merge branch 'feat/editor-level-crossing-surface' into feat/editor-trace-stations
# Conflicts:
#	lang/editor_pl.po
2026-11-29 23:03:28 +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 2e48e2ba07 Merge branch 'feat/editor-trace-photo' into feat/editor-level-crossing-surface
# Conflicts:
#	lang/editor_pl.po
2026-11-29 23:03:02 +01:00
maj00r 4528791e7b fix(editor): the traced line takes its fitted grade line once done and follows the setup, the laid end isn't a point clicked, a free end not reached isn't joined
- The line traced shown is worked out again while its grade line is being fitted (follow_meanwhile() tells a stopgap), and when the
  settings of the trace change ("It's a side track", the norms): the key of its cache kept the stopgap, or the refusal, till the next
  click.
- Going on from the end of the line laid, that end stays the start of the points, not one of the points clicked: Esc counted it, and
  Backspace back to it then Enter said "Click at least two points" instead of ending the line.
- Leaving the lay tool cancels the laying with its wait for the terrain: left behind, a stale end with no points was laid when the tool
  was back.
- A free end no candidate of the tracer reaches is told, not laid as joined with a gap left.
- A curve the trace laid slower than the line shows its speed in Plan, and a change of its radius there lays it at the speed of the line.
- A track dragged out of a free end keeps the heights of the setting while the clicks are traced: the fitted heights are for the sparse
  points clicked on the photo.
- The time of a click of the tracer is checked only with EU07_TRACE_TIMING set: the coverage job of the CI, with no optimisation, took
  several times as long. The evaluations are checked always.
2026-11-29 23:02:36 +01:00
maj00r 73102a1474 Merge branch 'feat/editor-photo-easy' into feat/editor-trace-photo
# Conflicts:
#	application/editormodeselftest.cpp
#	tests/editor/cases/lf_1_lay_panel_states.txt
2026-11-29 23:02:21 +01:00
maj00r a1894d6c96 fix(editor): the area tiles failing offline logged once and retried on their own schedule, the terrain loads once the scenery is placed, failed tiles outlined on the ground
- A tile of the download area failing again and again is logged the first time only; each retry wrote a line, the whole area every
  5 min offline.
- The queue of the area holds the tiles still to be fetched: the ones fetched go from it before a retry is added, it no longer grows
  by each retry.
- A growth of the area keeps the tries of the tiles which failed, for the same photos: the ones waiting for their next try go on
  waiting, not asked for again all at once with the backoff started over.
- "Place it..." in the line of the terrain: once the scenery is placed on the map, its terrain loads as the offer has it, and the line
  says so; it said the scenery wasn't placed and nothing loaded.
- In the 3D view the outlines of the failed tiles lie on the ground the draped photo lies on, not at the height of the layer.
- area_grow() looks at the area every 5 s whatever comes of it; set only by a growth, it ran every frame once 5 s had passed.
2026-11-29 23:02:02 +01:00
maj00r c2376ba8de Merge branch 'feat/editor-project-setup' into feat/editor-photo-easy 2026-11-29 23:01:39 +01:00
maj00r 57ddc23122 fix(editor): a project of the map not saved tells to save again while the assumptions of the project are in neither file 2026-11-29 23:01:35 +01:00
maj00r 043f0c570d Merge branch 'feat/editor-model-turnouts-ui' into feat/editor-project-setup
# Conflicts:
#	tests/editor/README.md
2026-11-29 23:01:30 +01:00
maj00r c383583afb fix(editor): the hand of a turnout commented as the code has it, an Apply with no edit adds no step, a profile opened drops the error of the one before, tests of the side
- The comments of layoutCommands.hpp and layoutNetwork.hpp give hand 1 as right and -1 as left, as the migration and the inspector
  have it since #464 (R of a switch record).
- The grade line of a line of the model applied with no edit: the breaks compared within a micrometre, the chainages having gone to
  the route and back; compared exactly, it added a step.
- profile_open() clears the error of the route opened before.
- Self-test expectations: modelpreview current (the preview worked out for the design as it is now, m_11), modelspacing signed by
  the side (m_13 to the right, -4.5 m), modelside of a switch (m_8 right, then left after the side is changed).
2026-11-29 23:01:16 +01:00
maj00r e4b90ce744 Merge branch 'feat/editor-legacy-takeover' into feat/editor-model-turnouts-ui
editor_model is in editormodemodel.h here: the setting taken at the open and the errors of the generator go there. A managed track
of a turnout counts among the tracks of the main track of the turnout, as indices[] numbers them; the errors of the turnouts are told
with the notices too, shown as they are.
2026-11-29 23:01:07 +01:00
maj00r 5588821bfa fix(editor): a Plan apply is one step to undo, the setting of the model is taken when the scenery is opened, tracks taken away by hand are a change by hand
- The commands of one Plan apply after the first are joined to it: one Ctrl+Z takes back the whole apply, none leaves the line half
  edited.
- The setting "Editing on the model" is taken when the scenery is opened and kept for the session; changed meanwhile, the panel says it
  takes effect with the next scenery. Turned on later, an edit made the old way before was written back as the file had it; turned off
  before a save, the scenery was saved without its project.
- A line of the model some of whose tracks another tool took away (a switch put in) counts as changed by hand, as it does after a
  reopen: each track knows how many tracks its line was made of.
- A self-test which doesn't set the model leaves it off, whatever the tester's own eu07_editor.ini has.
- What the generator can't make as the line has it is told with the notices of the command, not only logged.
2026-11-29 22:37:14 +01:00
maj00r 3cfdaefe5e Merge branch 'feat/editor-turnout-catalogue' into feat/editor-model-in-editor 2026-11-29 22:37:13 +01:00
maj00r 4f9da75beb test(editor): lf_1 opens the settings of the lay tool from the line of their summary and folds them again, through a new laysettings command 2026-11-29 22:37:11 +01:00
maj00r 6937250b25 Merge branch 'ui/editor-consistency' into ui/editor-lay-flow 2026-11-29 22:37:10 +01:00
maj00r ae62aef1be Merge branch 'feat/editor-project-file' into ui/editor-consistency 2026-11-29 22:37:09 +01:00
maj00r 21b137ce36 Merge branch 'ui/editor-first-steps' into feat/editor-track-turnouts 2026-11-29 22:34:19 +01:00
maj00r e815aad248 test(editor): nmtsettings grow sets the terrain while laying for the run only, the tester's eu07_editor.ini left as it was, as area does 2026-11-29 21:54:39 +01:00
maj00r 739225b0e7 feat(editor): stations traced on the photo (Etap 5): laying from the photo, a first click on a straight track starts the line with a turnout of the catalogue into it, of the rail of the track or of the assumptions, its type, its start along the track, the way it runs and its side fitted to the points clicked along its diverging track and the straight just beyond it, the start held within a few metres of a click on the main track (where the points tell no type: the one the line starts with, the one chosen in the switch tool, the usual one of a station), and a click on a track, or Enter over one, ends the line with one into that track; from a click on a track to one on a track alongside it 2.5 to 15 m away with only the points along the crossover between them, the crossover of the solver of the connections; a run of three points or more over 40 m keeping one spacing from a track beside it within the noise of the clicks laid exactly alongside it, the spacing rounded to 4.0, 4.5, 4.75 or 5.0 m within 0.1 m of it, else to 5 cm: alongside a straight track from a turnout or into one designed, an arc joining each turnout onto the straight alongside, its radius fitted to the points along it, else its points moved onto the spacing and traced; a turnout nearer to the next one on its track than the straight the norms ask between turnouts (ST-T1-A6 11.3 pkt 7, max(0.15 V; 6) m at the speed of its diverging track) moved along the track to where it keeps it, told by how much and why; the turnouts laid by the code of the switch tool, the line between their diverging tracks as the lay tool lays one between free ends, no faster than the turnouts where it runs between two, all of it one step of the history; refused with the reason and the way to do it into a curve, on a line of the model, where there's no room between the turnouts; the turnouts as they'd go in told on the view with their type and speed, the crossover, the run alongside with its spacing, and in the status of the lay tool; expect station of the self-test, cases st_1..st_4, unit tests; Polish translation 2026-11-25 21:06:47 +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
maj00r 1b2b9b9d48 Merge remote-tracking branch 'origin/feat/editor-photo-easy' into feat/editor-trace-photo
The line laid by the photo tells of itself as laid by the serial of the step on top of the history, as the rest of the laying does now,
not by the size of the history.
2026-11-25 00:55:44 +01:00
maj00r 04ce8b9535 Merge feat/editor-project-setup into feat/editor-photo-easy 2026-11-24 20:11:56 +01:00
maj00r 5363f65fc8 fix(editor): the assumptions go into the project of the model, and back into the scenery only while it isn't saved
The earlier fix kept the //$u line in the scenery whenever the editing is on the model, so ps_2_setup_project found the
assumptions in the scenery where the project should hold them alone. They are taken out of the scenery again as before; when
the scenery or the project of the model then fails to be saved, they go back into the scenery with its next save and stay
there until the project is saved.
2026-11-24 20:11:50 +01:00
maj00r c508f5eef1 fix(editor): a photo origin aligned by hand isn't overridden by //$g, the 4K photos of the zoom take the tile under the camera alone
- //$g of the scenery file went before the origin of //$o, also where the user had aligned the photo by hand in the editor: the
  alignment was gone on the next opening. An origin typed in the editor is written into //$o with the word "aligned", and such
  an origin goes before //$g. The word is optional: a release before it passes it over and reads the origin as before, and an
  //$o without it is read as before. "Use it" (the origin of //$g) takes the word off.
- The zoom turned the 4K photos on for the 3 x 3 tiles around the camera, as the setting for them does: up to about 0.75 GB of
  the memory of the graphics card, unasked. By the zoom alone the 4K photo is the tile under the camera (about 85 MB); the
  setting keeps the 3 x 3.
2026-11-24 19:30:23 +01:00
maj00r 744a7c7dca Merge feat/editor-project-setup into feat/editor-photo-easy
# Conflicts:
#	application/editormodenmt.cpp
#	application/editormodeselftest.cpp
#	application/editormodeselftestexpect.cpp
#	application/editormodeselftestterrain.cpp
#	tests/editor/cases/fs_3_without_terrain.txt
2026-11-24 19:30:23 +01:00
maj00r e85f5fbed0 fix(editor): the assumptions of the project aren't lost with a project not saved, a texture field cleared is the lay tool's own again
- With the editing on the model, setup_store() took the //$u lines out of the scenery and left the assumptions to the project
  of the model, which is written after the scenery and may fail to be: then they were in neither. The scenery keeps the line
  as well; the project's is read first, as before.
- A texture typed into the assumptions and cleared again left the lay tool with the one typed: empty is the tool's own.
2026-11-24 19:30:21 +01:00
maj00r 9016b3a951 Merge feat/editor-model-turnouts-ui into feat/editor-project-setup 2026-11-24 19:30:21 +01:00
maj00r 44deb60a5a fix(editor): the plan preview follows a drag of the first or last vertex, "This path" lays beside the path alone, Esc clears the preview
- model_plan_preview() keyed on vertex.position, which a drag of the first or the last vertex of a line with two or more
  curves doesn't change (it moves vertex.offset along the tangent of the end): the green or red line and the text of the norms
  froze after the first frame, and the release could be refused where the preview showed it within the norms. The key has the
  offset now.
- parallel_build() laid the whole line with model_parallel beside a managed line whatever the scope, so "This path" on a 50 m
  track of a 2 km line previewed 50 m and laid 2 km. The model's parallel line is laid for the scope of the whole line only.
- Esc during a handle drag restored the design but left the preview of the model on screen.
2026-11-24 19:30:19 +01:00
maj00r 8b48cfddae Merge feat/editor-legacy-takeover into feat/editor-model-turnouts-ui
# Conflicts:
#	editor/project/projectSession.cpp
2026-11-24 19:15:20 +01:00
maj00r 14bbd392b2 fix(editor): a save writing some tracks of a line keeps the records of the others, a plan edit refused in part changes nothing
- record_written() erased every record of the line and added only the pieces written in this save, while the scenery writes
  only the tracks changed since. After a gizmo move and Ctrl+Z on one track of a line, the next save kept a record of that
  track alone: on reopening the line owned one track, and the next Plan edit left the others as duplicates. The records of
  the tracks the line still has and this save didn't write now stay.
- model_run() kept each command before trying the next: with the radius of one vertex carried out and the cant of the next
  refused, the first stayed changed under "Refused, nothing changed". Several commands are now all tried on a copy first.
- The fingerprint of the scenario index made a string of every file name before its .scn filter, which throws on Windows
  outside of the code page, on a detached thread (the class of GE#560). The extension is looked at first, as in the index
  itself; scenery_text::name_of() and has_extension() are shared by both.
- A Del deferred by the check of the scenarios reads Shift as it was at the key press, not at the click on "go on".
- open_project() writes no project file for a map with nothing to migrate (#461): the session test expects that.
2026-11-24 19:15:15 +01:00
maj00r fa06830c64 Merge feat/editor-turnout-catalogue into feat/editor-model-in-editor 2026-11-24 19:15:15 +01:00
maj00r da1ef628bf fix(editor): the lay panel says "Laid" only while the step it was laid with is on top of the history
lay_panel_state() told the line laid from laid_step == m_history.size(). Lay, Ctrl+Z, then any one-step edit made the size the
same again, and the panel said "Laid … Ctrl+Z undoes" for a line that was gone; at the cap of 200 steps it stayed "laid" for
good. The panel now compares the serial of the step on top of the history (EditorSnapshot::serial), which each step made has
of its own.
2026-11-24 19:13:56 +01:00
maj00r 94958b5b45 feat(editor): laid from the photo, the grade line fitted to the ground by itself unless the heights were chosen
Traced on the photo the points are clicked sparsely, every 100-300 m, the ground rising and falling between them: laid through the
points, from one height clicked to the next, the track went into the ground between them (193 m of the line of the shots over
Warszawa Zachodnia). In the shape from the photo the heights are fitted to the ground within the norms (Fitted, "Łagodnie po
terenie") till the user chooses them in this run; then as chosen, the bends keep the setting as before.

- click_heights::heights_for: the rule. lay_heights_now() gives the heights of the lay tool, its free end dragged too: the panel
  shows them, the line, its preview, its summary and the grade line fitted to the terrain model follow them. Choosing them in the
  panel, or layheights of a self-test, is the user's choice.

Tests: U: from the photo fitted unless chosen, the bends the setting. E: tr_1 expects the heights fitted; expect layheights.
2026-11-24 19:13:24 +01:00
maj00r 508f600b16 fix(editor): a point clicked before the terrain under it came takes its height once it's there, Enter waits for it
The terrain is made around the cursor from the first point of a track laid, in the background since the photo begins a scenery with
no question: the first point clicked in an empty place had no ground under it, its height a guess (the flat ground, the ground
nearby), and the points after it came on the terrain made meanwhile. The line was laid from the guessed height to the real one: a
grade of thousands per mille at the second point, the track hidden in the ground there (the shots over Warszawa Zachodnia).

- click_heights (editorClickHeights): where the height of each point came from, the ground, none yet, level with the point before,
  or a track's end; the points of none take the height of the ground once it's there under them, the level ones go along, the rest
  are kept. Enter waits while the terrain is on its way under such a point, 10 s at most.
- The lay tool, in any shape: lay_bed tells where the height of the cursor came from, each point clicked keeps it. Every frame the
  points of a guessed height read the ground again (from above, as the cursor does: the terrain may lie far over the guess), the
  line shown and its checks follow them. A point laid isn't touched.
- Enter, or a free end reached, with the terrain still coming under such a point (its chunk waiting, or not asked for yet within the
  download area): the panel says "Waiting for the terrain under the points...", the line is laid as it comes; Esc gives the wait up
  keeping the points, Enter again lays without waiting.

Tests: U: the points re-read once the ground is there, the others kept, the level ones along, Enter's wait. E: tr_6_terrain_late
(nmtsettings hold holds the terrain of the NMT back, the case makes the terrain itself: the wait, Esc, laid once the terrain came; a
first point clicked before the terrain, no jump in the grade at the second); expect laywait, layguessed, laid steepest.
2026-11-24 19:13:24 +01:00
maj00r 2217da8648 Merge ui/editor-consistency into ui/editor-lay-flow
# Conflicts:
#	application/editormodeselftestexpect.cpp
2026-11-24 18:55:28 +01:00
maj00r 1d5e5ac527 fix(editor): the checkbox of the terrain around the camera in the layers shows the answer Without terrain of the scenery open 2026-11-24 18:55:09 +01:00
maj00r f53cb24c6e Merge feat/editor-project-file into ui/editor-consistency
# Conflicts:
#	application/editormodeselftestexpect.cpp
2026-11-24 18:54:50 +01:00
maj00r e95ee2fc4c Merge ui/editor-first-steps into feat/editor-track-turnouts
# Conflicts:
#	editor/layout/layoutNetwork.cpp
2026-11-24 18:50:23 +01:00
maj00r 44d94ae3d3 fix(editor): the answer Without terrain keeps to the scenery open, the settings stay as they were
nmt_decline_offer() turned off terrain_while_laying and terrain_model().area in the settings of the editor and saved them, so
one Without terrain for a scratch scenery left the terrain off for every scenery opened later. The answer now holds for the
scenery open only (nmt_state::declined, read through nmt_area()); the checkbox of the terrain panel shows it and, ticked, turns
the terrain on again and keeps it in the settings. The nmtquestion self-test no longer writes the tester's settings, and fails
the run if the answer changed them.
2026-11-24 18:49:59 +01:00
maj00r 47995b9ae2 Merge lang/editor-track-pl into ui/editor-first-steps
# Conflicts:
#	application/editormodeselftestexpect.cpp
2026-11-24 18:48:52 +01:00
maj00r a8e1e6ab71 fix(editor): TSI and EN take close jumps of the cant deficiency together, the norms queue keeps its own span after a delete
- TSI INF and EN 13803 limit an abrupt change of the cant deficiency but give no intermediate length, so two jumps a few metres
  apart were each checked alone: at km 478 of the golden line CH reported 191 mm over the TSI limit, TSI itself nothing. With
  no intermediate length in the profiles of the element, the longest any profile asks for is taken. The golden report changes
  that way: TSI gets the 191 mm hard limit at km 478, EN reports it instead of 106 and 85 mm one by one.
- forget() moves the span whose findings alone are kept (a diverging track) down by the spans removed before it, and drops a
  queued line whose own span was removed, instead of leaving the index on another span.
- The report test of R 400 / 80 mm runs at 90 km/h and requires the finding: at 80 km/h there was none and the check never ran.
2026-11-24 18:40:23 +01:00
maj00r 001dd0439a Merge test/editor-track-golden into feat/editor-norms
# Conflicts:
#	application/editormodeselftestexpect.cpp
2026-11-24 18:35:42 +01:00
maj00r 6ed30b0fbd Merge fix/editor-switch-rules into test/editor-track-golden 2026-11-24 18:34:45 +01:00
maj00r 0de04dceed Merge ui/editor-track-panels into fix/editor-switch-rules
# Conflicts:
#	application/editormodeselftestexpect.cpp
2026-11-24 18:34:44 +01:00
maj00r dfb15fee32 Merge test/editor-selftest-expect into ui/editor-track-panels 2026-11-24 18:34:32 +01:00
maj00r 65e4870318 test(editor): a mistyped track fails the self-test, indented comments are skipped, case 7b checks the switch got bent
- A blank line or an indented `#` comment in a script is no longer a command no group takes.
- `trackcant`, `routegauge` and `tracksetdelete` with a track that isn't there count as a failed expectation.
- `expect shaped <switch> <yes|no>`: 7b checks that the gizmo drag bent the switch out of its record before deleting it.
- The ramp-length loop of test_alignment counts in an integer (Sonar S2193).
2026-11-24 18:34:25 +01:00
maj00r d7f3fa5b17 feat(editor): the lesson of laying from the photo in place of the one of the curves, F1 told so
quirky-crafting-summit, Etap 4: the lesson Curves (Tab to trace a curve) is Laying from the photo: click along the track on the photo,
the labels, the orange one, Backspace, Enter going on, Tab to the bends; its goals a few points clicked along the track and Enter, no
Tab. The lessons of the lay tool start with it while the shape is the one from the photo. F1 tells L, Tab and Enter of the laying from
the photo; the drag from a free end has no Tab any more. The clip of the curves (Tab) isn't shown till one of the photo is recorded.

lang/editor_pl.po: the Polish of the lesson and of F1, the texts of the old lesson gone.
2026-11-24 18:12:01 +01:00
maj00r 6febdb0d64 feat(editor): laying from the photo: the points clicked along the track laid as recognised, told on the view, going on after Enter
quirky-crafting-summit, Etap 2. The lay tool has two shapes, From the photo and Bends: from the photo where the photo is on, the bends
without it, Tab switching them for the points clicked so far and on. The curve traced between bends (Tab) and its radii Auto/1R/2R/3R
are gone from the panel; the radii are changed in Plan afterwards.

- From the photo the points clicked go to the tracer (editor/editorTrace), each with the noise of two pixels of the view at it; the line
  shown is the one of the points clicked, worked out once for them, a dashed leg to the cursor. On the view: "straight 420 m", "curve R
  850 m", "nearly straight · curve R 9 km", "compound curve R 600/450 m", "R 300 m · up to 70 km/h" in orange; the points green, yellow
  or red by how far the line is from them in their noise, one which doesn't fit yellow and ringed, "doesn't fit - Backspace takes it
  back" by the cursor.
- A curve sharper than the norms at the speed of the line is laid slowed down: its tracks and its transitions get its speed, told in the
  status. One below the least radius of the kind of the track (the block of the norms) isn't laid, Lay disabled, the points kept; It's a
  side track offered where a side track may be that sharp (no profile has it so now).
- After Enter the tool stays at the end laid: the next clicks carry the line on from its free end, joined to it, with no need to hit the
  ring; Esc ends it. A free end is reached within 1 m on the ground only, not the end of the track beside.
- The first point turns the view from above on; a click in the outer 15 % of the view glides the view on by half of what the point is off
  its middle.
- The step: Click along the middle of the track on the photo: every 100-300 m on straights, closer on curves. Enter lays. The bar under
  the view: LMB a point on the track, Enter lay, Backspace take back.
- A tool key (G, T, N...) over points not laid warns as Esc does, the second press within 3 s goes; Enter over a single point clicked
  tells to click two instead of dropping it silently.
- With the editing on the model the line traced is laid the old way, told so, as the curve traced was.

Self-test: laymode traced|default, laysigma <m>; laysample lays out curves of the norms, compound ones too, and clicks them traced (no
Tab); laywalk clicks traced; expect laid curves|clicks|length|radius|speed|nearly|slowtracks|joined, expect laykeys <tabs> <enters>,
expect laycontinue; a self-test starts with the bends, whatever the orthophoto of the player's settings. The cases tr_1_three_curves
(3.2 km, three curves, 16 clicks, no Tab, one Enter), tr_2_nearly_straight (R 9 km), tr_3_compound (R 600/400), tr_4_below_norms (R 300
at 120 km/h laid for 70, R 150 refused), tr_5_continue. lf_1_lay_panel_states goes through the shape from the photo in place of the
curve traced, which the panel has no more.

lang/editor_pl.po: the Polish of the new texts; the ones of the curve traced and of its radii gone, the eight of the plan which no
source had any more among them.
2026-11-24 18:12:01 +01:00
maj00r 9f33045c2e fix(editor): the panels of the editor opaque, the 3d scene doesn't show through the docks around the view
The 3d scene is drawn under the whole window and the windows took the opacity of the simulator's interface (ui.bg.opacity,
0.65 in the ini of the game): the tracks and the models beside the view showed through the docks around it. The editor's
windows are opaque now; the ones over the view meant to be seen through set their own alpha as before. The simulator keeps
ui.bg.opacity for its own interface.
2026-11-24 01:29:32 +01:00