18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-03 11:15:23 +01:00
Files
jerrrrycho 684b5a23d2 perf(simulation): the weather report made only when the weather changes
update_scripting_interface() put the weather report (METAR) of the target conditions together every
frame, with a string stream, to compare it with the text of the memory cell. The report reads only the
conditions and the air temperature, so it is kept and made again only when one of them changes.
weather_conditions and cloud_layer get a default == for that. On linia_107_objazdy, where the frame is
short, to_metar was 1.8% of the main thread; on Tomaszewo 0.25%. What goes into the cell is the same.
2026-12-02 07:04:31 +01:00
..