1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 17:54:50 +01:00

Diagonal Brakes and Block Brakes

This commit is contained in:
spacek531
2022-01-28 00:46:35 -08:00
committed by Spacek531
parent 39ecab4bd2
commit 79730e50fd
89 changed files with 1335 additions and 147 deletions

View File

@@ -110,6 +110,20 @@ const uint8_t edges_4x4[] = {
};
// clang-format on
const int32_t DiagBlockedSegments[] = {
SEGMENT_C4 | SEGMENT_CC | SEGMENT_D4 | SEGMENT_BC,
SEGMENT_C4 | SEGMENT_CC | SEGMENT_C8 | SEGMENT_B4,
SEGMENT_D0 | SEGMENT_C4 | SEGMENT_C0 | SEGMENT_D4,
SEGMENT_D0 | SEGMENT_C4 | SEGMENT_B8 | SEGMENT_C8,
};
const uint8_t DiagSupportSegments[] = {
1,
0,
2,
3,
};
const uint8_t track_map_1x4[][4] = {
{ 0, 1, 2, 3 },
{ 2, 3, 0, 1 },