| 25 | namespace Style0 |
| 26 | { |
| 27 | static void paintTrackAdditionPPMergeable(PaintSession& session, const World::TrackElement& elTrack, const uint8_t rotation, const ImageId baseImageId, const TrackPaintAdditionPiece& tppa) |
| 28 | { |
| 29 | const auto height = elTrack.baseHeight(); |
| 30 | const auto heightOffset = World::Pos3{ 0, |
| 31 | 0, |
| 32 | height }; |
| 33 | |
| 34 | session.addToPlotListTrackRoad( |
| 35 | baseImageId.withIndexOffset(tppa.imageIds[rotation]), |
| 36 | 4, |
| 37 | heightOffset, |
| 38 | tppa.boundingBoxOffsets[rotation] + heightOffset, |
| 39 | tppa.boundingBoxSizes[rotation]); |
| 40 | } |
| 41 | |
| 42 | static void paintTrackAdditionPPStandard(PaintSession& session, const World::TrackElement& elTrack, const uint8_t rotation, const ImageId baseImageId, const TrackPaintAdditionPiece& tppa) |
| 43 | { |
no test coverage detected