OpenTTD Source 20250220-master-gf89924a727
|
Ground palette sprite of a tile, together with its sprite layout. More...
#include <sprite.h>
Public Member Functions | |
template<size_t N> | |
DrawTileSpriteSpan (PalSpriteID ground, const DrawTileSeqStruct(&seq)[N]) | |
DrawTileSpriteSpan (PalSpriteID ground) | |
std::span< const DrawTileSeqStruct > | GetSequence () const override |
![]() | |
DrawTileSprites (PalSpriteID ground) | |
Data Fields | |
std::span< const DrawTileSeqStruct > | seq |
Child sprites,. | |
![]() | |
PalSpriteID | ground {} |
Palette and sprite for the ground. | |
Ground palette sprite of a tile, together with its sprite layout.
This struct is used for static sprite layouts in the code. For allocated ones from NewGRF see NewGRFSpriteLayout.
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements DrawTileSprites.
std::span<const DrawTileSeqStruct> DrawTileSpriteSpan::seq |
Child sprites,.
Definition at line 62 of file sprite.h.
Referenced by DrawStationTile(), and TileLayoutSpriteGroup::ProcessRegisters().