-
Notifications
You must be signed in to change notification settings - Fork 1
/
extrapatterns.txt
94 lines (92 loc) · 1.69 KB
/
extrapatterns.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
(
[ // down left low
[O, X, X],
[O, O, T],
[O, O, T],
[T, T, T]
],
410
),
(
[ // down left mid
[O, X, X],
[O, X, X],
[O, O, T],
[O, O, T]
],
359
),
(
[ // down left high
[O, X, X],
[O, X, X],
[O, X, X],
[O, O, T],
],
308
),
(
[ // down right low
[X, X, O],
[T, O, O],
[T, O, O],
[T, T, T]
],
415
),
(
[ // down right mid
[X, X, O],
[X, X, O],
[T, O, O],
[O, O, O]
],
364
),
(
[ // down right high
[X, X, O],
[X, X, O],
[X, X, O],
[T, O, O],
],
313
),
/*
if !f(0, 0) && f(0, 1) && !f(-1, 0) && f(1, 1) {
410 // lower left wall bottom
} else if f(0, 0) && !f(0, -1) && !f(-1, 0) && f(0, 1) && f(1, 0) {
359 // lower left wall middle
} else if f(0, 0) && !f(0, -2) && f(0, -1) && !f(-1, 0) && f(1, 0) {
308 // lower left wall top
} else if !f(0, 0) && f(0, 1) {
562 + v%4 // up wall bottom, at floor, 0..4 variants
} else if f(0, 0) && !f(0, -1) {
511 + v%4 // up wall middle, above floor, 0..4 variants
} else if f(0, 0) && f(0, -1) && !f(0, -2) {
460 + v%4 // up wall top, 0..4 variants
} else if f(0, 0) && !f(0, 1) {
613 + v%4 // bot wall, 0..4 variants
} else if f(0, 0) && !f(1, 0) && f(-1, 0) {
58 + 51*(v%6) // wall right, next to floor on left, 0..6 variants
} else if f(0, 0) && !f(-1, 0) && f(1, 0) {
53 + 51*(v%6) // wall left, next to floor on right, 0..6 variants
} else if f(0, 0) {
208 // generic
} else {
1775 + v%3 + 51*((v/3)%3) // empty
}
*/
// if f(0, 0) {
// if f(0, -1) {
// 208
// } else {
// if !f(0, 1) {
// 613
// } else {
// 208
// }
// }
// } else {
// 1777
// }