Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
struct Deck {
shape: GenericSimpleShape<(), RectOutline>,
label: Option<PieceLabelLoaded>,
+ #[serde(default="PosC::zero")]
stack_pos: Pos,
}
region: Region, // automatically affect pieces here
occulter: PieceId, // kept in synch with PieceOccult::active
notches: Notches, // kept in synch with PieceOccult::passive
+ #[serde(default)]
unnotched: HashSet<PieceId>, // kept in synch with PieceOccult::passive
ppiece_use_size: Pos, // taken from first piece
#[serde(flatten)] views: OccultationViews,