|
OpenTTD Source 20260311-master-g511d3794ce
|
Ground palette sprite of a tile, together with its sprite layout. More...
#include <sprite.h>
Public Member Functions | |
| DrawTileSprites (PalSpriteID ground) | |
| virtual | ~DrawTileSprites ()=default |
| Ensure the destructor of the sub classes are called as well. | |
| virtual std::span< const DrawTileSeqStruct > | GetSequence () const =0 |
| The child sprites to draw. | |
Data Fields | |
| PalSpriteID | ground {} |
| Palette and sprite for the ground. | |
Ground palette sprite of a tile, together with its sprite layout.
For static sprite layouts see DrawTileSpriteSpan. For allocated ones from NewGRF see NewGRFSpriteLayout.
|
inline |
|
pure virtual |
The child sprites to draw.
Implemented in DrawTileSpriteSpan, and NewGRFSpriteLayout.
Referenced by DrawCommonTileSeq(), DrawCommonTileSeqInGUI(), DrawTile_Object(), and DrawWaterLock().
| PalSpriteID DrawTileSprites::ground {} |
Palette and sprite for the ground.
Definition at line 56 of file sprite.h.
Referenced by DrawNewHouseTileInGUI(), DrawRoadDepotSprite(), DrawStationTile(), DrawTile_Object(), DrawTile_Rail(), DrawTile_Road(), DrawTile_Station(), DrawTileLayout(), DrawWaterLock(), SpriteLayoutProcessor::GetLayout(), ReadSpriteLayout(), and StationChangeInfo().