| 10 | namespace OpenLoco::World::TrackData |
| 11 | { |
| 12 | constexpr ConnectionsByRotation generateConnections(uint8_t connection) |
| 13 | { |
| 14 | return { |
| 15 | connection, |
| 16 | std::rotl(connection, 2), |
| 17 | std::rotl(connection, 4), |
| 18 | std::rotl(connection, 6), |
| 19 | }; |
| 20 | } |
| 21 | |
| 22 | const std::array<PreviewTrack, 1> trackPiece0 = { |
| 23 | PreviewTrack{ 0, 0, 0, 0, 0, QuarterTile{ 0b1111, 0b0000 }, PreviewTrackFlags::none, generateConnections(0xFF) }, |