| 129 | } |
| 130 | |
| 131 | static uint32_t getOneWayArrowImage(const bool isRight, const uint8_t trackId, const uint8_t rotation) |
| 132 | { |
| 133 | const auto& trackCoordinates = World::TrackData::getUnkTrack((trackId << 3) | rotation); |
| 134 | if (isRight) |
| 135 | { |
| 136 | return kOneWayArrowRight[trackCoordinates.rotationBegin]; |
| 137 | } |
| 138 | else |
| 139 | { |
| 140 | return kOneWayArrowLeft[trackCoordinates.rotationEnd]; |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | static void paintSignalSide(PaintSession& session, const World::SignalElement::Side& side, const bool isRight, const bool isGhost, const uint8_t trackId, const uint8_t rotation, const coord_t height) |
| 145 | { |