mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 18:34:02 +00:00
- i18n scanner: lastError sink, no false sinks on defaults and ternaries - shared src/i18n/marker.js for modules that only mark strings - wind field messages move to wind/fields.js; CITY_POIS imports from cityPois.js - drop review IDs, change history and stale references from comments and docs Co-Authored-By: Claude Opus 5.5 <[email protected]>
31 lines
961 B
JavaScript
31 lines
961 B
JavaScript
import { createCctvLayer } from '../../layers/cctv/index.js';
|
|
import * as credits from '../../data/dataCredits.js';
|
|
import * as sprites from '../../data/spriteOrder.js';
|
|
import * as activation from '../../cctvFocusRequest.js';
|
|
import * as overlays from '../../overlays/worldOverlay.js';
|
|
import { CITY_POIS } from '../../cityPois.js';
|
|
import * as picking from '../../data/pickRegistry.js';
|
|
import * as focus from '../../data/focusDeemphasis.js';
|
|
import * as render from '../../renderGovernor.js';
|
|
|
|
/** Construct one layer using the application scene owners and a supplied source. */
|
|
export function createApplicationCctv({ surface, source }) {
|
|
const { terrain, groundFloor: ground, meshFloor: mesh } = surface;
|
|
return createCctvLayer({
|
|
source,
|
|
services: {
|
|
credits,
|
|
sprites,
|
|
activation,
|
|
overlays,
|
|
locations: { CITY_POIS },
|
|
picking,
|
|
terrain,
|
|
ground,
|
|
mesh,
|
|
focus,
|
|
render,
|
|
},
|
|
});
|
|
}
|