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

Function GetFoundation_Track

src/rail_cmd.cpp:2590–2593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2588}
2589
2590static Foundation GetFoundation_Track(TileIndex tile, Slope tileh)
2591{
2592 return IsPlainRail(tile) ? GetRailFoundation(tileh, GetTrackBits(tile)) : FlatteningFoundation(tileh);
2593}
2594
2595static void TileLoop_Track(TileIndex tile)
2596{

Callers

nothing calls this directly

Calls 4

IsPlainRailFunction · 0.85
GetRailFoundationFunction · 0.85
GetTrackBitsFunction · 0.85
FlatteningFoundationFunction · 0.85

Tested by

no test coverage detected