author | Darkvater |
Sun, 03 Apr 2005 13:37:35 +0000 | |
changeset 1638 | 4779658c2d03 |
parent 1088 | f7543c05ba86 |
child 2186 | db48cf29b983 |
permissions | -rw-r--r-- |
0 | 1 |
typedef struct { |
2 |
byte mode; |
|
3 |
byte attr; |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
4 |
TileIndexDiffC tileoffs; |
0 | 5 |
} AiDefaultBlockData; |
6 |
||
7 |
typedef struct { |
|
8 |
byte p0; |
|
9 |
byte p1; |
|
10 |
byte p2; |
|
11 |
byte p3; |
|
12 |
byte dir; |
|
13 |
AiDefaultBlockData data[VARARRAY_SIZE]; |
|
14 |
} AiDefaultRailBlock; |
|
15 |
||
16 |
typedef struct { |
|
17 |
byte dir; |
|
18 |
AiDefaultBlockData data[VARARRAY_SIZE]; |
|
19 |
} AiDefaultRoadBlock; |
|
20 |
||
21 |
||
22 |
#define MKHDR(a,b,c,d,e) a,b,c,d,e,{ |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
23 |
#define MKDEPOT(a, b, c) {0, a, {b, c}} |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
24 |
#define MKSTATION(a, b, c) {1, a, {b, c}} |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
25 |
#define MKRAIL(a, b, c) {2, a, {b, c}} |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
26 |
#define MKCLRRAIL(a, b, c) {3, a, {b, c}} |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
27 |
#define MKEND {4, 0, {0, 0}}} |
0 | 28 |
|
29 |
static const AiDefaultRailBlock _raildata_ai_0 = { |
|
30 |
MKHDR(1,2,1,0,1) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
31 |
MKDEPOT(2, -1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
32 |
MKSTATION(0x15, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
33 |
MKRAIL(0x26, 0,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
34 |
MKCLRRAIL(1, 0,2), |
0 | 35 |
MKEND |
36 |
}; |
|
37 |
||
38 |
static const AiDefaultRailBlock _raildata_ai_1 = { |
|
39 |
MKHDR(1,2,1,0,3) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
40 |
MKDEPOT(2, -1,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
41 |
MKRAIL(0x26, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
42 |
MKSTATION(0x15, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
43 |
MKCLRRAIL(3, 0,-2), |
0 | 44 |
MKEND |
45 |
}; |
|
46 |
||
47 |
static const AiDefaultRailBlock _raildata_ai_2 = { |
|
48 |
MKHDR(1,2,1,0,0) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
49 |
MKDEPOT(1, -1,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
50 |
MKRAIL(0x15, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
51 |
MKSTATION(0x14, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
52 |
MKCLRRAIL(0, -2,0), |
0 | 53 |
MKEND |
54 |
}; |
|
55 |
||
56 |
static const AiDefaultRailBlock _raildata_ai_3 = { |
|
57 |
MKHDR(1,2,1,0,2) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
58 |
MKDEPOT(1, 1,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
59 |
MKRAIL(0x15, 1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
60 |
MKSTATION(0x14, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
61 |
MKCLRRAIL(2, 2,0), |
0 | 62 |
MKEND |
63 |
}; |
|
64 |
||
65 |
static const AiDefaultRailBlock _raildata_ai_4 = { |
|
66 |
MKHDR(1,2,2,0,255) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
67 |
MKSTATION(0x15, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
68 |
MKCLRRAIL(3, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
69 |
MKCLRRAIL(1, 0,2), |
0 | 70 |
MKEND |
71 |
}; |
|
72 |
||
73 |
static const AiDefaultRailBlock _raildata_ai_5 = { |
|
74 |
MKHDR(1,2,2,0,255) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
75 |
MKSTATION(0x14, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
76 |
MKCLRRAIL(0, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
77 |
MKCLRRAIL(2, 2,0), |
0 | 78 |
MKEND |
79 |
}; |
|
80 |
||
81 |
static const AiDefaultRailBlock _raildata_ai_6 = { |
|
82 |
MKHDR(2,3,1,0,1) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
83 |
MKSTATION(0x27, 0,-2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
84 |
MKRAIL(0xC2, 0,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
85 |
MKRAIL(0xC2, 1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
86 |
MKRAIL(0x1A, 0,2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
87 |
MKRAIL(0x26, 1,2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
88 |
MKDEPOT(3, 1,3), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
89 |
MKCLRRAIL(1, 0,3), |
0 | 90 |
MKEND |
91 |
}; |
|
92 |
||
93 |
static const AiDefaultRailBlock _raildata_ai_7 = { |
|
94 |
MKHDR(2,3,1,0,3) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
95 |
MKDEPOT(1, 0,-3), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
96 |
MKRAIL(0x1A, 0,-2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
97 |
MKRAIL(0x26, 1,-2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
98 |
MKRAIL(0xC2, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
99 |
MKRAIL(0xC2, 1,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
100 |
MKSTATION(0x27, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
101 |
MKCLRRAIL(3, 1,-3), |
0 | 102 |
MKEND |
103 |
}; |
|
104 |
||
105 |
static const AiDefaultRailBlock _raildata_ai_8 = { |
|
106 |
MKHDR(2,3,1,0,2) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
107 |
MKSTATION(0x26, -2,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
108 |
MKRAIL(0xC1, 1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
109 |
MKRAIL(0xC1, 1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
110 |
MKRAIL(0x29, 2,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
111 |
MKRAIL(0x15, 2,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
112 |
MKDEPOT(0, 3,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
113 |
MKCLRRAIL(2, 3,1), |
0 | 114 |
MKEND |
115 |
}; |
|
116 |
||
117 |
static const AiDefaultRailBlock _raildata_ai_9 = { |
|
118 |
MKHDR(2,3,1,0,0) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
119 |
MKDEPOT(2, -3,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
120 |
MKRAIL(0x29, -2,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
121 |
MKRAIL(0x15, -2,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
122 |
MKRAIL(0xC1, -1,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
123 |
MKRAIL(0xC1, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
124 |
MKSTATION(0x26, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
125 |
MKCLRRAIL(0, -3,0), |
0 | 126 |
MKEND |
127 |
}; |
|
128 |
||
129 |
static const AiDefaultRailBlock _raildata_ai_10 = { |
|
130 |
MKHDR(2,3,2,0,255) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
131 |
MKRAIL(0x1A, 0,-3), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
132 |
MKRAIL(0x20, 1,-3), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
133 |
MKRAIL(0xC2, 0,-2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
134 |
MKRAIL(0xC2, 1,-2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
135 |
MKSTATION(0x27, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
136 |
MKRAIL(0xC2, 0,2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
137 |
MKRAIL(0xC2, 1,2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
138 |
MKRAIL(0x1A, 0,3), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
139 |
MKRAIL(0x4, 1,3), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
140 |
MKCLRRAIL(3, 0,-4), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
141 |
MKCLRRAIL(1, 0,4), |
0 | 142 |
MKEND |
143 |
}; |
|
144 |
||
145 |
static const AiDefaultRailBlock _raildata_ai_11 = { |
|
146 |
MKHDR(2,3,2,0,255) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
147 |
MKRAIL(0x29, -3,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
148 |
MKRAIL(0x10, -3,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
149 |
MKRAIL(0xC1, -2,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
150 |
MKRAIL(0xC1, -2,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
151 |
MKSTATION(0x26, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
152 |
MKRAIL(0xC1, 2,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
153 |
MKRAIL(0xC1, 2,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
154 |
MKRAIL(0x29, 3,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
155 |
MKRAIL(0x4, 3,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
156 |
MKCLRRAIL(0, -4,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
157 |
MKCLRRAIL(2, 4,0), |
0 | 158 |
MKEND |
159 |
}; |
|
160 |
||
161 |
static const AiDefaultRailBlock _raildata_ai_12 = { |
|
162 |
MKHDR(2,3,2,1,3) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
163 |
MKRAIL(0x88, -1,-3), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
164 |
MKRAIL(0x6, 0,-3), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
165 |
MKRAIL(0x2, -1,-2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
166 |
MKRAIL(0x42, 0,-2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
167 |
MKRAIL(0x2, -1,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
168 |
MKRAIL(0x2, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
169 |
MKRAIL(0x2, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
170 |
MKRAIL(0x2, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
171 |
MKRAIL(0x82, -1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
172 |
MKRAIL(0x2, 0,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
173 |
MKRAIL(0xA, -1,2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
174 |
MKRAIL(0x44, 0,2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
175 |
MKCLRRAIL(3, 0,-4), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
176 |
MKCLRRAIL(1, -1,3), |
0 | 177 |
MKEND |
178 |
}; |
|
179 |
||
180 |
static const AiDefaultRailBlock _raildata_ai_13 = { |
|
181 |
MKHDR(2,3,2,1,0) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
182 |
MKRAIL(0x21, -3,0), |
1088
f7543c05ba86
(svn r1589) Adapt the AI to a slight behavior change of CmdBuildSignals() introduced in r1585
tron
parents:
909
diff
changeset
|
183 |
MKRAIL(0x50, -3,1), |
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
184 |
MKRAIL(0x81, -2,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
185 |
MKRAIL(0x1, -2,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
186 |
MKRAIL(0x1, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
187 |
MKRAIL(0x1, -1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
188 |
MKRAIL(0x1, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
189 |
MKRAIL(0x1, 0,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
190 |
MKRAIL(0x1, 1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
191 |
MKRAIL(0x41, 1,1), |
1088
f7543c05ba86
(svn r1589) Adapt the AI to a slight behavior change of CmdBuildSignals() introduced in r1585
tron
parents:
909
diff
changeset
|
192 |
MKRAIL(0xA0, 2,0), |
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
193 |
MKRAIL(0x11, 2,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
194 |
MKCLRRAIL(0, -4,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
195 |
MKCLRRAIL(2, 3,1), |
0 | 196 |
MKEND |
197 |
}; |
|
198 |
||
199 |
static const AiDefaultRailBlock _raildata_ai_14 = { |
|
200 |
MKHDR(2,3,2,1,1) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
201 |
MKRAIL(0x88, -1,-3), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
202 |
MKRAIL(0x6, 0,-3), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
203 |
MKRAIL(0x2, -1,-2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
204 |
MKRAIL(0x42, 0,-2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
205 |
MKRAIL(0x2, -1,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
206 |
MKRAIL(0x2, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
207 |
MKRAIL(0x2, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
208 |
MKRAIL(0x2, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
209 |
MKRAIL(0x82, -1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
210 |
MKRAIL(0x2, 0,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
211 |
MKRAIL(0xA, -1,2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
212 |
MKRAIL(0x44, 0,2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
213 |
MKCLRRAIL(1, -1,3), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
214 |
MKCLRRAIL(3, 0,-4), |
0 | 215 |
MKEND |
216 |
}; |
|
217 |
||
218 |
static const AiDefaultRailBlock _raildata_ai_15 = { |
|
219 |
MKHDR(2,3,2,1,2) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
220 |
MKRAIL(0x21, -3,0), |
1088
f7543c05ba86
(svn r1589) Adapt the AI to a slight behavior change of CmdBuildSignals() introduced in r1585
tron
parents:
909
diff
changeset
|
221 |
MKRAIL(0x50, -3,1), |
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
222 |
MKRAIL(0x81, -2,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
223 |
MKRAIL(0x1, -2,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
224 |
MKRAIL(0x1, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
225 |
MKRAIL(0x1, -1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
226 |
MKRAIL(0x1, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
227 |
MKRAIL(0x1, 0,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
228 |
MKRAIL(0x1, 1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
229 |
MKRAIL(0x41, 1,1), |
1088
f7543c05ba86
(svn r1589) Adapt the AI to a slight behavior change of CmdBuildSignals() introduced in r1585
tron
parents:
909
diff
changeset
|
230 |
MKRAIL(0xA0, 2,0), |
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
231 |
MKRAIL(0x11, 2,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
232 |
MKCLRRAIL(2, 3,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
233 |
MKCLRRAIL(0, -4,0), |
0 | 234 |
MKEND |
235 |
}; |
|
236 |
||
237 |
static const AiDefaultRailBlock _raildata_ai_16 = { |
|
238 |
MKHDR(1,3,1,0,1) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
239 |
MKSTATION(0x17, 0,-2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
240 |
MKRAIL(0x1A, 0,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
241 |
MKCLRRAIL(1, 0,2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
242 |
MKDEPOT(0, 1,1), |
0 | 243 |
MKEND |
244 |
}; |
|
245 |
||
246 |
static const AiDefaultRailBlock _raildata_ai_17 = { |
|
247 |
MKHDR(1,3,1,0,3) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
248 |
MKCLRRAIL(3, 0,-2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
249 |
MKRAIL(0x26, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
250 |
MKDEPOT(2, -1,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
251 |
MKSTATION(0x17, 0,0), |
0 | 252 |
MKEND |
253 |
}; |
|
254 |
||
255 |
static const AiDefaultRailBlock _raildata_ai_18 = { |
|
256 |
MKHDR(1,3,1,0,0) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
257 |
MKCLRRAIL(0, -2,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
258 |
MKRAIL(0x29, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
259 |
MKDEPOT(3, -1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
260 |
MKSTATION(0x16, 0,0), |
0 | 261 |
MKEND |
262 |
}; |
|
263 |
||
264 |
static const AiDefaultRailBlock _raildata_ai_19 = { |
|
265 |
MKHDR(1,3,1,0,2) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
266 |
MKSTATION(0x16, -2,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
267 |
MKDEPOT(2, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
268 |
MKRAIL(0x20, 1,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
269 |
MKRAIL(0x15, 1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
270 |
MKCLRRAIL(2, 2,0), |
0 | 271 |
MKEND |
272 |
}; |
|
273 |
||
274 |
static const AiDefaultRailBlock _raildata_ai_20 = { |
|
275 |
MKHDR(2,3,1,0,1) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
276 |
MKSTATION(0x26, -2,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
277 |
MKRAIL(0xC1, 1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
278 |
MKRAIL(0xC1, 1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
279 |
MKRAIL(0x26, 2,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
280 |
MKRAIL(0x26, 2,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
281 |
MKDEPOT(1, 2,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
282 |
MKCLRRAIL(1, 2,2), |
0 | 283 |
MKEND |
284 |
}; |
|
285 |
||
286 |
static const AiDefaultRailBlock _raildata_ai_21 = { |
|
287 |
MKHDR(2,3,1,0,3) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
288 |
MKDEPOT(2, -3,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
289 |
MKRAIL(0x3F, -2,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
290 |
MKRAIL(0x10, -2,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
291 |
MKRAIL(0xC1, -1,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
292 |
MKRAIL(0xC1, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
293 |
MKSTATION(0x26, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
294 |
MKCLRRAIL(3, -2,-2), |
0 | 295 |
MKEND |
296 |
}; |
|
297 |
||
298 |
static const AiDefaultRailBlock _raildata_ai_22 = { |
|
299 |
MKHDR(2,3,1,0,0) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
300 |
MKSTATION(0x27, 0,-2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
301 |
MKRAIL(0xC2, 0,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
302 |
MKRAIL(0xC2, 1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
303 |
MKRAIL(0x15, 0,2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
304 |
MKRAIL(0x4, 1,2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
305 |
MKRAIL(0x15, -1,2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
306 |
MKDEPOT(1, -1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
307 |
MKCLRRAIL(0, -2,2), |
0 | 308 |
MKEND |
309 |
}; |
|
310 |
||
311 |
static const AiDefaultRailBlock _raildata_ai_23 = { |
|
312 |
MKHDR(2,3,1,0,2) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
313 |
MKDEPOT(1, 0,-3), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
314 |
MKRAIL(0x1A, 0,-2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
315 |
MKRAIL(0x29, 1,-2), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
316 |
MKRAIL(0xC2, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
317 |
MKRAIL(0xC2, 1,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
318 |
MKSTATION(0x27, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
319 |
MKCLRRAIL(2, 2,-2), |
0 | 320 |
MKEND |
321 |
}; |
|
322 |
||
323 |
||
324 |
||
325 |
static const AiDefaultRailBlock * const _default_rail_track_data[] = { |
|
326 |
&_raildata_ai_0, |
|
327 |
&_raildata_ai_1, |
|
328 |
&_raildata_ai_2, |
|
329 |
&_raildata_ai_3, |
|
330 |
&_raildata_ai_4, |
|
331 |
&_raildata_ai_5, |
|
332 |
&_raildata_ai_6, |
|
333 |
&_raildata_ai_7, |
|
334 |
&_raildata_ai_8, |
|
335 |
&_raildata_ai_9, |
|
336 |
&_raildata_ai_10, |
|
337 |
&_raildata_ai_11, |
|
338 |
&_raildata_ai_12, |
|
339 |
&_raildata_ai_13, |
|
340 |
&_raildata_ai_14, |
|
341 |
&_raildata_ai_15, |
|
342 |
&_raildata_ai_16, |
|
343 |
&_raildata_ai_17, |
|
344 |
&_raildata_ai_18, |
|
345 |
&_raildata_ai_19, |
|
346 |
&_raildata_ai_20, |
|
347 |
&_raildata_ai_21, |
|
348 |
&_raildata_ai_22, |
|
349 |
&_raildata_ai_23, |
|
350 |
NULL |
|
351 |
}; |
|
352 |
||
353 |
#undef MKHDR |
|
354 |
||
355 |
#define MKHDR(a) a,{ |
|
356 |
||
357 |
static const AiDefaultRoadBlock _roaddata_ai_0 = { |
|
358 |
MKHDR(0) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
359 |
MKDEPOT(2, -1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
360 |
MKSTATION(0x2, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
361 |
MKRAIL(0xC, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
362 |
MKRAIL(0x9, 0,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
363 |
MKCLRRAIL(0, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
364 |
MKCLRRAIL(0, 1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
365 |
MKCLRRAIL(0, 1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
366 |
MKCLRRAIL(0, 0,2), |
0 | 367 |
MKEND |
368 |
}; |
|
369 |
||
370 |
static const AiDefaultRoadBlock _roaddata_ai_1 = { |
|
371 |
MKHDR(0) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
372 |
MKDEPOT(1, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
373 |
MKSTATION(0x1, 1,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
374 |
MKRAIL(0x3, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
375 |
MKRAIL(0x9, 1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
376 |
MKCLRRAIL(0, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
377 |
MKCLRRAIL(0, 0,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
378 |
MKCLRRAIL(0, 1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
379 |
MKCLRRAIL(0, 2,0), |
0 | 380 |
MKEND |
381 |
}; |
|
382 |
||
383 |
static const AiDefaultRoadBlock _roaddata_ai_2 = { |
|
384 |
MKHDR(0) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
385 |
MKDEPOT(3, 1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
386 |
MKSTATION(0x3, 0,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
387 |
MKRAIL(0x6, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
388 |
MKRAIL(0xC, 1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
389 |
MKCLRRAIL(0, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
390 |
MKCLRRAIL(0, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
391 |
MKCLRRAIL(0, 1,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
392 |
MKCLRRAIL(0, 2,0), |
0 | 393 |
MKEND |
394 |
}; |
|
395 |
||
396 |
static const AiDefaultRoadBlock _roaddata_ai_3 = { |
|
397 |
MKHDR(0) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
398 |
MKDEPOT(0, 1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
399 |
MKSTATION(0x0, 1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
400 |
MKRAIL(0x6, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
401 |
MKRAIL(0x3, 0,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
402 |
MKCLRRAIL(0, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
403 |
MKCLRRAIL(0, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
404 |
MKCLRRAIL(0, -1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
405 |
MKCLRRAIL(0, 0,2), |
0 | 406 |
MKEND |
407 |
}; |
|
408 |
||
409 |
static const AiDefaultRoadBlock _roaddata_ai_4 = { |
|
410 |
MKHDR(1) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
411 |
MKSTATION(0x2, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
412 |
MKRAIL(0x8, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
413 |
MKCLRRAIL(0, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
414 |
MKCLRRAIL(0, 1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
415 |
MKCLRRAIL(0, 0,1), |
0 | 416 |
MKEND |
417 |
}; |
|
418 |
||
419 |
static const AiDefaultRoadBlock _roaddata_ai_5 = { |
|
420 |
MKHDR(1) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
421 |
MKSTATION(0x3, 0,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
422 |
MKRAIL(0x4, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
423 |
MKCLRRAIL(0, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
424 |
MKCLRRAIL(0, 0,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
425 |
MKCLRRAIL(0, 1,0), |
0 | 426 |
MKEND |
427 |
}; |
|
428 |
||
429 |
static const AiDefaultRoadBlock _roaddata_ai_6 = { |
|
430 |
MKHDR(1) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
431 |
MKSTATION(0x0, 1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
432 |
MKRAIL(0x2, 0,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
433 |
MKCLRRAIL(0, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
434 |
MKCLRRAIL(0, -1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
435 |
MKCLRRAIL(0, 0,2), |
0 | 436 |
MKEND |
437 |
}; |
|
438 |
||
439 |
static const AiDefaultRoadBlock _roaddata_ai_7 = { |
|
440 |
MKHDR(1) |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
441 |
MKSTATION(0x1, 1,-1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
442 |
MKRAIL(0x1, 1,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
443 |
MKCLRRAIL(0, 0,0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
444 |
MKCLRRAIL(0, 1,1), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
445 |
MKCLRRAIL(0, 2,0), |
0 | 446 |
MKEND |
447 |
}; |
|
448 |
||
449 |
||
450 |
static const AiDefaultRoadBlock * const _road_default_block_data[] = { |
|
451 |
&_roaddata_ai_0, |
|
452 |
&_roaddata_ai_1, |
|
453 |
&_roaddata_ai_2, |
|
454 |
&_roaddata_ai_3, |
|
455 |
&_roaddata_ai_4, |
|
456 |
&_roaddata_ai_5, |
|
457 |
&_roaddata_ai_6, |
|
458 |
&_roaddata_ai_7, |
|
459 |
NULL |
|
460 |
}; |
|
461 |
||
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
462 |
#define MKAIR(a, b, c) {0, a, {b, c}} |
0 | 463 |
|
464 |
static const AiDefaultBlockData _airportdata_ai_0[] = { |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
465 |
MKAIR(1, 0, 0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
466 |
{1, 0, {0, 0}}, |
0 | 467 |
}; |
468 |
||
469 |
static const AiDefaultBlockData _airportdata_ai_1[] = { |
|
909
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
470 |
MKAIR(0, 0, 0), |
65cdb609b7a6
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
tron
parents:
536
diff
changeset
|
471 |
{1, 0, {0, 0}} |
0 | 472 |
}; |
473 |
||
474 |
static const AiDefaultBlockData * const _airport_default_block_data[] = { |
|
475 |
_airportdata_ai_0, // city airport |
|
476 |
_airportdata_ai_1, // country airport |
|
477 |
NULL |
|
478 |
}; |
|
479 |
||
480 |