/// None => do not render at all
pub fn piece_pri(
- ioccults: &IOccults,
- occults: &GameOccults,
- player: PlayerId, gpl: &mut GPlayer,
- piece: PieceId, gpc: &GPiece, ipc: &IPiece,
-) -> Option<PieceRenderInstructions>
-{
-fn inner(
_ioccults: &IOccults,
occults: &GameOccults,
player: PlayerId, gpl: &mut GPlayer,
trace_dbg!("piece_pri", player, piece, occk_dbg, vpid, occulted, gpc);
Some(PieceRenderInstructions { vpid, occulted })
}
- inner(ioccults, occults, player, gpl, piece, gpc, ipc)
-}
pub fn piece_at_all_occulted(gpc: &GPiece) -> bool {
gpc.occult.passive.is_some()