| 221 | } |
| 222 | |
| 223 | static void paintRoadStreetlights(PaintSession& session, const World::RoadElement& elRoad, const std::array<int16_t, 4>& streetlightHeights) |
| 224 | { |
| 225 | auto r = 0; |
| 226 | |
| 227 | const auto style = elRoad.streetLightStyle() - 1; |
| 228 | for (auto& height : streetlightHeights) |
| 229 | { |
| 230 | if (height != kNoStreetlight) |
| 231 | { |
| 232 | paintRoadStreetlight(session, elRoad.baseHeight(), style, height, r); |
| 233 | } |
| 234 | r++; |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | namespace AdditionStyle1 |
| 239 | { |
no test coverage detected