MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ViewportDrawTileSprites

Function ViewportDrawTileSprites

src/viewport.cpp:1582–1587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1580}
1581
1582static void ViewportDrawTileSprites(const TileSpriteToDrawVector *tstdv)
1583{
1584 for (const TileSpriteToDraw &ts : *tstdv) {
1585 DrawSpriteViewport(ts.image, ts.pal, ts.x, ts.y, ts.sub);
1586 }
1587}
1588
1589/** This fallback sprite checker always exists. */
1590static bool ViewportSortParentSpritesChecker()

Callers 1

ViewportDoDrawFunction · 0.85

Calls 1

DrawSpriteViewportFunction · 0.85

Tested by

no test coverage detected