23 BRIDGE_PIECE_NORTH = 0,
25 BRIDGE_PIECE_INNER_NORTH,
26 BRIDGE_PIECE_INNER_SOUTH,
27 BRIDGE_PIECE_MIDDLE_ODD,
28 BRIDGE_PIECE_MIDDLE_EVEN,
55 BridgePillarFlag::EdgeNE, BridgePillarFlag::EdgeSE, BridgePillarFlag::EdgeSW, BridgePillarFlag::EdgeNW,
static constexpr uint NUM_BRIDGE_MIDDLE_PIECES
Number of bridge middles pieces.
BridgePieces
This enum is related to the definition of bridge pieces, which is used to determine the proper sprite...
BridgePillarFlag
Obstructed bridge pillars information.
@ CornerN
North corner is obstructed.
@ CornerS
South corner is obstructed.
@ CornerE
East corner is obstructed.
@ CornerW
West corner is obstructed.
uint BridgeType
Bridge spec number.
Type (helpers) for enums.
#define DECLARE_INCREMENT_DECREMENT_OPERATORS(enum_type)
For some enums it is useful to have pre/post increment/decrement operators.
Information about a tile structure that may have a bridge above.
uint8_t height
Minimum height for a bridge above. 0 means a bridge is not allowed.
BridgePillarFlags disallowed_pillars
Disallowed pillar flags for a bridge above.