20#define TILE_SEQ_LINE(dx, dy, dz, sx, sy, sz, img) { dx, dy, dz, sx, sy, sz, {img, PAL_NONE} },
27#define TILE_SPRITE_LINE(img, dtss) { {img, PAL_NONE}, dtss },
149#undef TILE_SPRITE_LINE
EnumIndexArray< T, Axis, Axis::End > AxisIndexArray
Array with Axis as index.
EnumIndexArray< T, DiagDirection, DiagDirection::End > DiagDirectionIndexArray
Array with DiagDirection as index.
EnumClassIndexContainer< std::array< T, to_underlying(N)>, Index > EnumIndexArray
A typedef for EnumClassIndexContainer using std::array as the backing container type.
static constexpr uint8_t PALETTE_MODIFIER_COLOUR
this bit is set when a recolouring process is in action
A tile child sprite and palette to draw for stations etc, with 3D bounding box.
Ground palette sprite of a tile, together with its sprite layout.
static constexpr uint TILE_SIZE
Tile size in world coordinates.
static const AxisIndexArray< EnumIndexArray< DrawTileSpriteSpan, DepotPart, DepotPart::End > > _shipdepot_display_data
Data for drawing ship depots by Axis and DepotPart.
#define TILE_SPRITE_LINE(img, dtss)
Constructor macro of a DrawTileSpriteSpan structure.
static constexpr uint8_t LOCK_HEIGHT_UPPER_FRONT
Sub-tile height of front wall of upper part.
#define TILE_SEQ_LINE(dx, dy, dz, sx, sy, sz, img)
Constructor macro for an image without a palette in a DrawTileSeqStruct array.
static constexpr uint8_t LOCK_HEIGHT_LOWER_FRONT
Sub-tile height of front wall of lower part.
static const EnumIndexArray< DiagDirectionIndexArray< DrawTileSpriteSpan >, LockPart, LockPart::End > _lock_display_data
Sprite layout of a lock for each lock part and direction.
static constexpr uint8_t LOCK_HEIGHT_MIDDLE_REAR
Sub-tile height of rear wall of middle part.
static constexpr uint8_t LOCK_HEIGHT_LOWER_REAR
Sub-tile height of rear wall of lower part.
static constexpr uint8_t LOCK_HEIGHT_UPPER_REAR
Sub-tile height of rear wall of upper part.
static constexpr uint8_t LOCK_HEIGHT_MIDDLE_FRONT
Sub-tile height of front wall of middle part.
DepotPart
Sections of the water depot.
LockPart
Sections of the water lock.