|
OpenTTD Source 20260311-master-g511d3794ce
|
Ground palette sprite of a tile, together with its sprite layout. More...
#include <sprite.h>
Public Member Functions | |
| DrawTileSpriteSpan (PalSpriteID ground, std::span< const DrawTileSeqStruct > seq) | |
| DrawTileSpriteSpan (PalSpriteID ground) | |
| std::span< const DrawTileSeqStruct > | GetSequence () const override |
| The child sprites to draw. | |
| Public Member Functions inherited from DrawTileSprites | |
| DrawTileSprites (PalSpriteID ground) | |
| virtual | ~DrawTileSprites ()=default |
| Ensure the destructor of the sub classes are called as well. | |
Data Fields | |
| std::span< const DrawTileSeqStruct > | seq |
| Child sprites,. | |
| Data Fields inherited from DrawTileSprites | |
| 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 |
The child sprites to draw.
Implements DrawTileSprites.
Definition at line 83 of file sprite.h.
Referenced by StationChangeInfo().
| std::span<const DrawTileSeqStruct> DrawTileSpriteSpan::seq |