Refine cockpit porthole and indicators

This commit is contained in:
chindit committed 2026-10-04 09:30:12 +02:00
1 parent 53288b48c8
commit c2b3ac42a3
8 files changed
+298 -10

No files matched your search

@@ -45,7 +45,8 @@ func present(update: DiveUpdate, telemetry: VehicleTelemetry) -> void:
/ maxf(snapshot.hull.certified_pressure_bar, 0.001),
0.0,
1.0
)
),
snapshot.alerts.maximum
)
var alert_level: DiveAlertLevel.Value = snapshot.alerts.maximum
_emergency_light.visible = alert_level >= DiveAlertLevel.Value.CRITICAL
@@ -315,6 +316,7 @@ func _build_dashboard_instrumentation() -> void:
_dashboard_detailing = CockpitDashboardDetailing.new(_materials)
dashboard.add_child(_dashboard_detailing)
_dashboard_detailing.apply_screen_materials(dashboard)
_dashboard_detailing.hide_placeholder_indicators(get_parent())
_analog_gauges = CockpitAnalogGauges.new(_materials)
dashboard.add_child(_analog_gauges)