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

Function AnimatePlasticFountain

src/industry_cmd.cpp:637–642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635}
636
637static void AnimatePlasticFountain(TileIndex tile, IndustryGfx gfx)
638{
639 gfx = (gfx < GFX_PLASTIC_FOUNTAIN_ANIMATED_8) ? gfx + 1 : GFX_PLASTIC_FOUNTAIN_ANIMATED_1;
640 SetIndustryGfx(tile, gfx);
641 MarkTileDirtyByTile(tile);
642}
643
644static void AnimateOilWell(TileIndex tile, IndustryGfx gfx)
645{

Callers 1

AnimateTile_IndustryFunction · 0.85

Calls 2

SetIndustryGfxFunction · 0.85
MarkTileDirtyByTileFunction · 0.70

Tested by

no test coverage detected