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