mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 02:44:02 +00:00
refactor: own application request operations and surface caches
This commit is contained in:
1 parent
310809e8f1
commit
ac977bd8bc
53 files changed
+4388
-3317
No files matched your search
@@ -148,7 +148,7 @@ export class StyleManager {
|
||||
*/
|
||||
constructor(
|
||||
viewer,
|
||||
{ mapStackController = null, placeSearch, services } = {},
|
||||
{ mapStackController = null, placeSearch, services, requestServices } = {},
|
||||
) {
|
||||
const {
|
||||
IntelHUD,
|
||||
@@ -293,7 +293,10 @@ export class StyleManager {
|
||||
this._orbitIndicator = null;
|
||||
|
||||
// Intel HUD
|
||||
this.hud = new IntelHUD(viewer, { placeSearch });
|
||||
this.hud = new IntelHUD(viewer, {
|
||||
placeSearch,
|
||||
summaryService: requestServices?.summary,
|
||||
});
|
||||
this._recording.hud = this.hud;
|
||||
this._cockpitVisionMode = 'optical';
|
||||
this._cockpitVisionRestore = null;
|
||||
|
||||
@@ -41,14 +41,6 @@ import {
|
||||
setDetectionTuning,
|
||||
} from '../data/detection.js';
|
||||
import { isTr3b, toggleTr3b } from '../data/tr3bRegistry.js';
|
||||
import {
|
||||
cachedGroundFloor,
|
||||
cachedMeshFloor,
|
||||
GROUND_FLOOR_LIFT_M,
|
||||
meshFloorPreferred,
|
||||
warmGroundFloor,
|
||||
} from '../data/groundFloor.js';
|
||||
import { sampleMeshFloorCells } from '../data/meshFloorSampler.js';
|
||||
import {
|
||||
holdContinuousRender,
|
||||
releaseContinuousRender,
|
||||
@@ -105,12 +97,6 @@ export class StyleManager extends ApplicationShell {
|
||||
setDetectionTuning,
|
||||
isTr3b,
|
||||
toggleTr3b,
|
||||
cachedGroundFloor,
|
||||
cachedMeshFloor,
|
||||
GROUND_FLOOR_LIFT_M,
|
||||
meshFloorPreferred,
|
||||
warmGroundFloor,
|
||||
sampleMeshFloorCells,
|
||||
holdContinuousRender,
|
||||
releaseContinuousRender,
|
||||
governorRequestRender,
|
||||
|
||||
Reference in new issue
Block a user