Open the cockpit on a tracked Navara aircraft

This commit is contained in:
German Khokhlov committed 2026-11-02 22:04:23 +04:00
1 parent 8b179a7e01
commit 2087b55b47
19 files changed
+142 -65

No files matched your search

+2 -2
View File
@@ -39,7 +39,7 @@ export function navaraModeNotice(availability) {
return Object.freeze({
label: t('Experimental Navara engine'),
detail: names.length
? `Data layers: ${names.join(', ')}; the other layers, cockpit and director are unavailable`
? `Data layers: ${names.join(', ')}; the other layers and director are unavailable`
: 'No data layers on this engine yet; cockpit and director are unavailable',
});
}
@@ -347,7 +347,7 @@ export function createViewerlessTools({
if (window.__godsEyeView === debug) delete window.__godsEyeView;
});
// Voice on the engine (phase 3, Task 9): the W1 tools drive the engine;
// the viewer-only ones (director, annotations, cockpit…) refuse.
// the viewer-only ones (director, annotations…) refuse.
const voiceCommands = initGevVoiceCommands({
...voice,
annotationResolver: operations.annotationResolver,
+1 -1
View File
@@ -119,7 +119,7 @@ test('without a viewer the tools run the governor on the engine, show the notice
registry.register('navara', { satellites: () => ({}), flights: () => ({}) });
assert.equal(
navaraModeNotice(createLayerAvailability('navara', { registry })).detail,
'Data layers: Live Flights, Satellites; the other layers, cockpit and director are unavailable',
'Data layers: Live Flights, Satellites; the other layers and director are unavailable',
);
// The governor drives the engine's continuous rendering.
assert.equal(isRenderGovernorInstalled(engine), true);