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

Method IsTypeAvailable

src/rail_gui.cpp:1843–1846  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1841 }
1842
1843 bool IsTypeAvailable(int cls_id, int id) const override
1844 {
1845 return IsStationAvailable(this->GetSpec(cls_id, id));
1846 }
1847
1848 void DrawType(int x, int y, int cls_id, int id) const override
1849 {

Callers

nothing calls this directly

Calls 2

IsStationAvailableFunction · 0.85
GetSpecMethod · 0.45

Tested by

no test coverage detected