#pragma once #include "UI/ViewModels/UiViewCommon.h" /** A label or pin on the survey map; X and Y are 0..1 over the map area, origin top left. */ struct FDescentMapMarker { FString Label; float X = 0.f; float Y = 0.f; FLinearColor Color = FLinearColor::White; bool bRing = false; // an unknown contact (red ring) }; /** PDA > SURVEY MAP: a coarse picture of what is known (the real SSurveyMap of M9 replaces the drawing, not this struct's role). */ struct FDescentMapViewModel { int32 GridW = 0; int32 GridH = 0; /** Per cell: < 0 unknown, 0..1 the depth tint (0 shallow, 1 deep), 2 = visited only. Row-major, GridW x GridH. */ TArray Cells; TArray Markers; FVector2f Carrier = FVector2f(0.5f, 0.5f); FVector2f You = FVector2f(0.5f, 0.5f); FString SliceText; // "AUTO 1,810 m +/- 60" FString TargetText; // "TARGET STRATUM 3,105 m" };