| 105 | }; |
| 106 | |
| 107 | static uint8_t getTrackRotation(const bool isRight, const uint8_t trackId, const uint8_t rotation) |
| 108 | { |
| 109 | if (isRight) |
| 110 | { |
| 111 | return World::TrackData::getUnkTrack((trackId << 3) | (rotation + 4)).rotationBegin; |
| 112 | } |
| 113 | else |
| 114 | { |
| 115 | return World::TrackData::getUnkTrack((trackId << 3) | rotation).rotationBegin; |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | static uint8_t getSignalHeightOffset(const bool isRight, const uint8_t trackId) |
| 120 | { |