16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 18:09:18 +02:00

Tune EU7 PACK streaming for fast camera flight and reduce frame hitches

This commit is contained in:
maj00r
2026-06-14 18:25:42 +02:00
parent ada6553917
commit d6c9b4e5e1
6 changed files with 402 additions and 81 deletions

View File

@@ -404,8 +404,6 @@ bool driver_mode::update()
Timer::subsystem.sim_total.stop();
simulation::State.drain_deferred_eu7_trainsets( 12.0 );
if( scene::eu7::section_stream_active() ) {
if( scene::eu7::section_stream_needs_bootstrap() ) {
scene::eu7::kick_section_stream_bootstrap();
@@ -424,6 +422,12 @@ bool driver_mode::update()
}
}
simulation::State.drain_deferred_eu7_trainsets(
scene::eu7::section_stream_active()
&& scene::eu7::section_stream_frame_budget_pressure() ?
4.0 :
10.0 );
simulation::Region->update_sounds();
audio::renderer.update(Global.iPause ? 0.0 : deltarealtime);