mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-03 11:15:23 +01:00
35cafe9de5
- driver_mode::push_editor() stops the singing before the editor is pushed, by F11 and by the edit session. push_mode() doesn't call exit() of the mode it covers, so the loops went on playing in the editor. Back in the driver mode the next update scans the rails again. - The sound of the singing isn't made in the test mode, which has no sound (enter() skips begin()); update() is under the test-mode guard of staging since the merge. - sound.railsinging.nearboost: a train within 40 m is louder by it, one at 40-100 m by a part of it growing as it comes, as closeness() has it; the comment said within 100 m. - Sonar, the values unchanged: the measured levels written as floats (each the same float as before, checked for all 232), the centres of the sixths of an octave counted in a while loop, CTAD, try_emplace, the flag of the sound made with the default ordering, an if without a variable, using enum in a test. The std::mt19937 of the noise is NOSONAR: the noise of a sound, the same for a seed on every compiler.