More major updates to tools, added map area volume, made gold manager network managed per player.

This commit is contained in:
Matt F 2026-05-01 15:18:44 -07:00
parent b44eeaeeff
commit 56dc775c68
18 changed files with 632 additions and 283 deletions

View file

@ -81,6 +81,13 @@ namespace TD.Levels
"Length = GridSize.x * GridSize.y.")]
public PlayerSlot[] OwnerGrid;
[Tooltip("Per-tile map-area membership. True if the tile is part of the playable map " +
"(inside any MapAreaVolume); false for void tiles outside the map. This is the " +
"outermost gating layer — gameplay queries (placement, ownership, walkability) " +
"are only meaningful for tiles where MapAreaGrid is true. Length = GridSize.x * " +
"GridSize.y.")]
public bool[] MapAreaGrid;
// -------------------------------------------------------------------
// Per-zone and per-goal structures (populated by bake from volume data).
// -------------------------------------------------------------------
@ -141,4 +148,4 @@ namespace TD.Levels
[Tooltip("Full tile coverage of the goal volume.")]
public Vector2Int[] TileArea;
}
}
}