| 108 | } |
| 109 | |
| 110 | GrfSpecFeature RoadTypeResolverObject::GetFeature() const |
| 111 | { |
| 112 | RoadType rt = GetRoadTypeByLabel(this->roadtype_scope.rti->label, false); |
| 113 | switch (GetRoadTramType(rt)) { |
| 114 | case RTT_ROAD: return GSF_ROADTYPES; |
| 115 | case RTT_TRAM: return GSF_TRAMTYPES; |
| 116 | default: return GSF_INVALID; |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | uint32_t RoadTypeResolverObject::GetDebugID() const |
| 121 | { |
nothing calls this directly
no test coverage detected