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

Function AnimateTile_Station

src/station_cmd.cpp:3805–3821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3803
3804
3805static void AnimateTile_Station(TileIndex tile)
3806{
3807 if (HasStationRail(tile)) {
3808 AnimateStationTile(tile);
3809 return;
3810 }
3811
3812 if (IsAirport(tile)) {
3813 AnimateAirportTile(tile);
3814 return;
3815 }
3816
3817 if (IsAnyRoadStopTile(tile)) {
3818 AnimateRoadStopTile(tile);
3819 return;
3820 }
3821}
3822
3823
3824static bool ClickTile_Station(TileIndex tile)

Callers

nothing calls this directly

Calls 6

HasStationRailFunction · 0.85
AnimateStationTileFunction · 0.85
IsAirportFunction · 0.85
AnimateAirportTileFunction · 0.85
IsAnyRoadStopTileFunction · 0.85
AnimateRoadStopTileFunction · 0.85

Tested by

no test coverage detected