Make voyages active with dockside orders, crew calls, and ship PA

This commit is contained in:
josh
2026-11-27 23:14:38 -05:00
parent 7951e1c878
commit cc7620c431
71 changed files with 2723 additions and 233 deletions

View File

@@ -17,10 +17,12 @@ namespace Soundings
private readonly Dictionary<int, HarborMesh> batches = new Dictionary<int, HarborMesh>();
private readonly List<Mesh> meshes = new List<Mesh>();
private readonly List<Material> materials = new List<Material>();
private readonly List<ShipStation> stations = new();
private readonly float span, halfWidth, bayLength, doorway;
private readonly Font font;
public GameObject Root { get; }
internal ShipWalkSpace WalkSpace { get; }
internal IReadOnlyList<ShipStation> Stations => stations;
public ServiceDeckModel(Transform parent, float length, float beam, Shader fallbackSurface)
{
@@ -128,6 +130,8 @@ namespace Soundings
float z = halfWidth - 1.13f;
float workSpan = Mathf.Min(bayLength - .90f, 7f);
stations.Add(new ShipStation((StationKind)((int)StationKind.Engine + area),
new Vector3(x, 1.51f, Mathf.Min(2.64f, z - .95f))));
switch (area)
{
case 0: Machinery(x, z, workSpan); break;