OpenTTD Source: DrawTileSprites Struct Reference

OpenTTD Source 15.0-beta1

Data Fields
DrawTileSprites Struct Reference

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

`#include <sprite.h>`

Inheritance diagram for DrawTileSprites:

## Data Fields
PalSpriteID | ground
| Palette and sprite for the ground.
const DrawTileSeqStruct * | seq
| Array of child sprites. Terminated with a terminator entry.

## Detailed Description

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.

Definition at line 58 of file sprite.h.

## Field Documentation

## ◆ ground

PalSpriteID DrawTileSprites::ground

Palette and sprite for the ground.

Definition at line 59 of file sprite.h.

Referenced by NewGRFSpriteLayout::Clone(), DrawNewHouseTileInGUI(), DrawNewObjectTileInGUI(), DrawRoadDepotSprite(), DrawRoadStopTile(), DrawStationTile(), DrawTile_Road(), DrawTileLayout(), DrawWaterLock(), NewGRFSpriteLayout::GetLayout(), NewGRFSpriteLayout::PrepareLayout(), TileLayoutSpriteGroup::ProcessRegisters(), NewGRFSpriteLayout::ProcessRegisters(), ReadSpriteLayout(), and StationChangeInfo().

## ◆ seq

const DrawTileSeqStruct* DrawTileSprites::seq

Array of child sprites. Terminated with a terminator entry.

Definition at line 60 of file sprite.h.

Referenced by NewGRFSpriteLayout::Allocate(), NewGRFSpriteLayout::AllocateRegisters(), NewGRFSpriteLayout::Clone(), NewGRFSpriteLayout::Clone(), NewGRFSpriteLayout::Clone(), DrawCommonTileSeq(), DrawCommonTileSeqInGUI(), DrawStationTile(), DrawWaterLock(), NewGRFSpriteLayout::PrepareLayout(), TileLayoutSpriteGroup::ProcessRegisters(), and ReadSpriteLayout().

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

- src/sprite.h