Add fleet save slots and rotatable onboard venues

This commit is contained in:
josh
2026-11-28 16:04:48 -05:00
parent a9472edc35
commit c570a64840
37 changed files with 1970 additions and 310 deletions

View File

@@ -598,8 +598,8 @@ namespace Soundings
int deckCount = ship.Decks.Count;
ulong layout = 0;
foreach (Deck deck in ship.Decks)
foreach (Facility cell in deck.Cells)
layout = unchecked(layout * 31 + (uint)cell + 1);
for (int cell = 0; cell < deck.Cells.Length; cell++)
layout = unchecked(layout * 109 + (uint)deck.Cells[cell] * 4 + (uint)deck.RotationAt(cell) + 1);
if (ReferenceEquals(displayedShip, ship) && hullIndex == lastHull && deckCount == lastDecks && layout == lastLayout)
return;