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

Function DrawClearLandTile

src/clear_cmd.cpp:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void DrawClearLandTile(const TileInfo *ti, uint8_t set)
54{
55 DrawGroundSprite(SPR_FLAT_BARE_LAND + SlopeToSpriteOffset(ti->tileh) + set * 19, PAL_NONE);
56}
57
58void DrawHillyLandTile(const TileInfo *ti)
59{

Callers 5

DrawTile_TunnelBridgeFunction · 0.85
DrawTile_ObjectFunction · 0.85
DrawTile_StationFunction · 0.85
DrawTile_ClearFunction · 0.85
DrawTile_TreesFunction · 0.85

Calls 2

DrawGroundSpriteFunction · 0.85
SlopeToSpriteOffsetFunction · 0.85

Tested by

no test coverage detected