Add layered system viewer and local coordinates

This commit is contained in:
2026-03-13 00:48:08 -04:00
parent 22a4b18be8
commit a9c08124f5
7 changed files with 576 additions and 94 deletions

View File

@@ -40,7 +40,7 @@ export interface Vector3Dto {
export interface SystemSnapshot {
id: string;
label: string;
position: Vector3Dto;
galaxyPosition: Vector3Dto;
starKind: string;
starCount: number;
starColor: string;
@@ -68,7 +68,7 @@ export interface PlanetSnapshot {
export interface ResourceNodeSnapshot {
id: string;
systemId: string;
position: Vector3Dto;
localPosition: Vector3Dto;
sourceKind: string;
oreRemaining: number;
maxOre: number;
@@ -82,7 +82,7 @@ export interface StationSnapshot {
label: string;
category: string;
systemId: string;
position: Vector3Dto;
localPosition: Vector3Dto;
color: string;
dockedShips: number;
oreStored: number;
@@ -98,9 +98,9 @@ export interface ShipSnapshot {
role: string;
shipClass: string;
systemId: string;
position: Vector3Dto;
velocity: Vector3Dto;
targetPosition: Vector3Dto;
localPosition: Vector3Dto;
localVelocity: Vector3Dto;
targetLocalPosition: Vector3Dto;
state: string;
orderKind: string | null;
defaultBehaviorKind: string;