OpenTTD Source: DrawTileSprites Struct Reference

OpenTTD Source 15.3

Public Member Functions | Data Fields
DrawTileSprites Struct Referenceabstract

Ground palette sprite of a tile, together with its sprite layout. More...

`#include <sprite.h>`

Inheritance diagram for DrawTileSprites:

## Public Member Functions
| DrawTileSprites (PalSpriteID ground)
virtual std::span< const DrawTileSeqStruct > | GetSequence () const =0

## Data Fields
PalSpriteID | ground {}
| Palette and sprite for the ground.

## Detailed Description

Ground palette sprite of a tile, together with its sprite layout.

For static sprite layouts see DrawTileSpriteSpan. For allocated ones from NewGRF see NewGRFSpriteLayout.

Definition at line 52 of file sprite.h.

## Constructor & Destructor Documentation

## ◆ DrawTileSprites()

DrawTileSprites::DrawTileSprites | ( | PalSpriteID | ground | ) |
| inline

Definition at line 55 of file sprite.h.

## Field Documentation

## ◆ ground

PalSpriteID DrawTileSprites::ground {}

Palette and sprite for the ground.

Definition at line 53 of file sprite.h.

Referenced by DrawNewHouseTileInGUI(), DrawRoadDepotSprite(), DrawStationTile(), DrawTile_Road(), DrawTileLayout(), DrawWaterLock(), SpriteLayoutProcessor::GetLayout(), ReadSpriteLayout(), SpriteLayoutProcessor::SpriteLayoutProcessor(), and StationChangeInfo().

The documentation for this struct was generated from the following file:

- src/sprite.h