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

Method IsTypeAvailable

src/road_gui.cpp:1679–1682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1677 }
1678
1679 bool IsTypeAvailable(int cls_id, int id) const override
1680 {
1681 return IsRoadStopAvailable(this->GetSpec(cls_id, id), StationType::RoadWaypoint);
1682 }
1683
1684 void DrawType(int x, int y, int cls_id, int id) const override
1685 {

Callers

nothing calls this directly

Calls 2

IsRoadStopAvailableFunction · 0.85
GetSpecMethod · 0.45

Tested by

no test coverage detected