struct PrimaryEnt {
piece: PieceId,
+ #[allow(dead_code)] pos: Pos,
bbox: Rect,
}
// Everything below n_y is overwriteable
// Everything below and to the right of cur is overwriteable
- for PrimaryEnt { piece, bbox } in pieces {
+ for PrimaryEnt { piece, bbox, .. } in pieces {
let place = 'placed: loop {
for xi in 0..3 {
let place = (cur - att.tl(&bbox)?)?;
if let Some(bbox) = want!( Ok = ipc.show(vis).bbox_approx(), ?piece );
then {
Some((
- PrimaryEnt { piece, bbox },
+ PrimaryEnt { piece, bbox, pos: gpc.pos },
gpc.zlevel.clone())
)
}