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

async mesh loading

This commit is contained in:
maj00r
2026-06-16 01:04:37 +02:00
parent 2f90246907
commit 9574d2051b
35 changed files with 3239 additions and 859 deletions

View File

@@ -60,7 +60,8 @@ bool scenarioloader_mode::update() {
WriteLog( "Scenario loading time: " + std::to_string( std::chrono::duration_cast<std::chrono::seconds>( ( std::chrono::system_clock::now() - timestart ) ).count() ) + " seconds" );
if( scene::eu7::section_stream_active() ) {
scene::eu7::preload_section_stream( 3000.0 );
// Bounded PACK drain after scenario parse — shortens black overlay in driver mode.
scene::eu7::preload_section_stream( 8000.0 );
}
// TODO: implement and use next mode cue