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

Function CreateChimneySmoke

src/industry_cmd.cpp:742–749  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

740}
741
742static void CreateChimneySmoke(TileIndex tile)
743{
744 uint x = TileX(tile) * TILE_SIZE;
745 uint y = TileY(tile) * TILE_SIZE;
746 int z = GetTileMaxPixelZ(tile);
747
748 CreateEffectVehicle(x + 15, y + 14, z + 59, EV_CHIMNEY_SMOKE);
749}
750
751static void MakeIndustryTileBigger(TileIndex tile)
752{

Callers 1

MakeIndustryTileBiggerFunction · 0.85

Calls 4

TileXFunction · 0.85
TileYFunction · 0.85
GetTileMaxPixelZFunction · 0.85
CreateEffectVehicleFunction · 0.85

Tested by

no test coverage detected