feat(runtime): load mission script bundles

This commit is contained in:
2026-07-18 20:56:34 +04:00
parent 3592b46b0f
commit 9dcf6d456e
7 changed files with 133 additions and 6 deletions
+3 -1
View File
@@ -56,7 +56,7 @@ fn run() -> Result<(), String> {
let loaded = load_mission(&mut engine, MissionRequest { key: mission })
.map_err(|err| format!("{err}"))?;
println!(
"mission objects={} areals={} surfaces={} graph_roots={} components={} wear={} material_slots={} textures={} lightmaps={} graph_failures={}",
"mission objects={} areals={} surfaces={} graph_roots={} components={} wear={} material_slots={} textures={} lightmaps={} scripts={} script_events={} graph_failures={}",
loaded.object_count,
loaded.areal_count,
loaded.surface_count,
@@ -66,6 +66,8 @@ fn run() -> Result<(), String> {
loaded.graph_material_resolved_count,
loaded.graph_texture_resolved_count,
loaded.graph_lightmap_resolved_count,
loaded.script_bundle_count,
loaded.script_event_count,
loaded.graph_failure_count
);
}