OpenTTD Source 20250312-master-gcdcc6b491d
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 46 of file sprite.h.

Constructor & Destructor Documentation

◆ DrawTileSprites()

DrawTileSprites::DrawTileSprites ( PalSpriteID  ground)
inline

Definition at line 49 of file sprite.h.

Field Documentation

◆ ground


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