OpenTTD Source 20260206-master-g4d4e37dbf1
DrawTileSprites Struct Referenceabstract

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

#include <sprite.h>

Inheritance diagram for DrawTileSprites:
DrawTileSpriteSpan NewGRFSpriteLayout

Public Member Functions

 DrawTileSprites (PalSpriteID ground)
virtual std::span< const DrawTileSeqStructGetSequence () 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


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