From c1a595b773b5c97af460d36122796df188b813ba Mon Sep 17 00:00:00 2001 From: chexit Date: Wed, 4 Nov 2026 16:19:06 +0300 Subject: [PATCH] feat: expose light and sound processing diagnostics with isolated cameras Co-Authored-By: Codex --- airdef-mod/src/capabilities.rs | 22 +++++++++++++++++++++- horizon | 2 +- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/airdef-mod/src/capabilities.rs b/airdef-mod/src/capabilities.rs index 5d860f0..7dd5293 100644 --- a/airdef-mod/src/capabilities.rs +++ b/airdef-mod/src/capabilities.rs @@ -63,6 +63,8 @@ pub fn diagnostics() -> String { let smoke = render::smoke_status(); let acoustic = acoustics(); let capture = render::capture_owner_status(); + let lights = render::point_lights_status(); + let sources = render::sound_sources_status(); let smoke_reason = match smoke.reason { render::SmokeReason::AwaitingFrame => "awaiting-frame", render::SmokeReason::Disabled => "disabled", @@ -70,7 +72,7 @@ pub fn diagnostics() -> String { render::SmokeReason::Ready => "ready", }; [ - "Возможности движка (API 27; подготовка не означает готовый GPU-кадр или файл):".into(), + "Возможности движка (API 29; подготовка не означает готовый GPU-кадр, слышимый звук или файл):".into(), line( "Дым", smoke.generation, @@ -89,6 +91,24 @@ pub fn diagnostics() -> String { acoustic.prepared, reason(acoustic.reason), ), + line( + "Точечный свет", + lights.generation, + lights.available, + lights.enabled, + lights.request_accepted, + lights.prepared, + reason(lights.reason), + ), + line( + "Постоянные звуки", + sources.generation, + sources.available, + sources.enabled, + sources.request_accepted, + sources.prepared, + reason(sources.reason), + ), line( "Захват этого мода", capture.generation, diff --git a/horizon b/horizon index d8fa77b..57f8b28 160000 --- a/horizon +++ b/horizon @@ -1 +1 @@ -Subproject commit d8fa77b000c5151f4ca07829d181d0ae91ad106b +Subproject commit 57f8b2853c4443f7e3ff5701600cbb262b53118f