Codechange: Store custom station layouts in a map instead of nested vectors. (#12898)
[openttd-github.git] / docs / landscape_grid.html
blob603d78025b0d22f2766dd3f648ee272984ecd9c1
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta name="Description" content="Structure of OpenTTD (OTTD) landscape arrays #2">
6 <title>OpenTTD Landscape Internals - #2</title>
7 <style type="text/css">
8 span.free { font-family: "Courier New", Courier, mono; background-color: rgb( 70, 190, 70); }
9 span.usable { font-family: "Courier New", Courier, mono; background-color: rgb( 50, 150, 150); }
10 span.used { font-family: "Courier New", Courier, mono; background-color: rgb(120, 120, 255); }
11 span.pool { font-family: "Courier New", Courier, mono; background-color: rgb(220, 120, 255); }
12 span.patch { font-family: "Courier New", Courier, mono; background-color: rgb(255, 165, 0); }
13 span.abuse { font-family: "Courier New", Courier, mono; background-color: rgb(255, 100, 100); }
14 span.rearrange{ font-family: "Courier New", Courier, mono; background-color: rgb(160, 160, 255); }
16 td.bits { white-space: nowrap; text-align: center; font-family: "Courier New", Courier, mono; }
17 td.caption { white-space: nowrap; text-align: left; }
18 td li { white-space: nowrap; text-align: left; }
19 th { white-space: nowrap; text-align: center; }
20 </style>
21 </head>
22 <body style="direction: ltr;">
23 <h3 style="font-weight: bold;">Landscape</h3>
24 <span style="font-weight: bold;"></span>Nine attributes hold the information about a tile.
25 This can be seen in the <a href="landscape.html">Landscape</a> document. This page tries to give an overview of used and free bits of
26 the array so you can quickly see what is used and what is not.
28 <ul>
29 <li><span style="font-weight: bold;">type</span> - 8 bits in size, tile class (bits 4..7), bridge (bits 2..3) tropic zone (bits 0..1, only valid in tropic climate)</li>
30 <li><span style="font-weight: bold;">height</span> - 8 bits in size, stores tile height</li>
31 <li><span style="font-weight: bold;">m1</span> - 8 bits in size, used to identify the owner of that tile (eg piece of rail, bridge, etc.)</li>
32 <li><span style="font-weight: bold;">m2</span> - 16 bits in size, used to identify the index of the given tile (object) in the (object-)array</li>
33 <li><span style="font-weight: bold;">m3</span> - 8 bits in size, is used for general storage</li>
34 <li><span style="font-weight: bold;">m4</span> - 8 bits in size, is used for general storage</li>
35 <li><span style="font-weight: bold;">m5</span> - 8 bits in size, is used for general storage</li>
36 <li><span style="font-weight: bold;">m6</span> - 8 bits in size, is used for general storage</li>
37 <li><span style="font-weight: bold;">m7</span> - 8 bits in size, is used for general storage</li>
38 <li><span style="font-weight: bold;">m8</span> - 16 bits in size, is used for general storage</li>
39 </ul>
40 <p>
41 <ul>
42 <li><span style="font-weight: bold;"><span class="free">O</span></span> - bit is free</li>
43 <li><span style="font-weight: bold;"><span class="usable">X</span></span> - bit is used, but could be freed if needed</li>
44 <li><span style="font-weight: bold;"><span class="used">X</span></span> - bit is used</li>
45 <li><span style="font-weight: bold;"><span class="pool">X</span></span> - bit is used for an index on a pool</li>
46 <li><span style="font-weight: bold;"><span class="patch">X</span></span> - bit is introduced by a patch</li>
47 <li><span style="font-weight: bold;"><span class="abuse">X</span></span> - bit of attribute is abused for different purposes, i.e. other bits define the actual meaning</li>
48 <li><span style="font-weight: bold;"><span class="rearrange">X</span></span> - bit is accessed, but a rearrangement of the map array could free some of these bits (probably not done for bit alignment)</li>
49 </ul>
51 <table align=center border="1" cellpadding="2" cellspacing="2">
52 <tbody>
53 <tr>
54 <th colspan=2>class</th>
55 <th>type (8)</th>
56 <th>height (8)</th>
57 <th>m1 (8)</th>
58 <th>m2 (16)</th>
59 <th>m3 (8)</th>
60 <th>m4 (8)</th>
61 <th>m5 (8)</th>
62 <th>m6 (8)</th>
63 <th>m7 (8)</th>
64 <th>m8 (16)</th>
65 </tr>
66 <tr>
67 <td colspan=2 class="caption">bits</td>
68 <td class="bits">7654 3210</td>
69 <td class="bits">7654 3210</td>
70 <td class="bits">7654 3210</td>
71 <td class="bits">FEDC BA98 7654 3210</td>
72 <td class="bits">7654 3210</td>
73 <td class="bits">7654 3210</td>
74 <td class="bits">7654 3210</td>
75 <td class="bits">7654 3210</td>
76 <td class="bits">7654 3210</td>
77 <td class="bits">FEDC BA98 7654 3210</td>
78 </tr>
79 <tr>
80 <td rowspan="2">0</td>
81 <td class="caption">ground</td>
82 <td class="bits" rowspan=28><span class="used" title="Tile type">XXXX</span> <span class="used" title="Presence and direction of bridge above">XX</span> <span class="used" title="Tropic Zone: only meaningful in tropic climate. It contains the definition of the available zones">XX</span></td>
83 <td class="bits" rowspan=28><span class="used" title="Tile height">XXXX XXXX</span></td>
84 <td class="bits" rowspan=2><span class="free">OOO</span><span class="usable" title="Owner (always OWNER_NONE)">1 OOOO</span></td>
85 <td class="bits"><span class="free">OOOO OOOO OOOO OOOO</span></td>
86 <td class="bits"><span class="used" title="Type of hedge on NE border">XXX</span> <span class="used" title="Snow presence">X</span><span class="free">OOOO</span></td>
87 <td class="bits" rowspan=2><span class="used" title="Type of hedge on SW border">XXX</span> <span class="used" title="Type of hedge on SE border">XXX</span><span class="free">OO</span></td>
88 <td class="bits" rowspan=2><span class="used" title="Update counter">XXX</span> <span class="used" title="Type: grass, rough land, rocks, fields, snow, desert">XXX</span> <span class="used" title="Density">XX</span></td><td class="bits" rowspan=2><span class="free" >OOO</span><span class="used" title="Type of hedge on NW border">X XX</span><span class="free">OO</span></td>
89 <td class="bits" rowspan=2><span class="free">OOOO OOOO</span></td>
90 <td class="bits" rowspan=2><span class="free">OOOO OOOO OOOO OOOO</span></td>
91 </tr>
92 <tr>
93 <td class="caption">farmland</td>
94 <td class="bits"><span class="pool" title="Industry index on pool">XXXX XXXX XXXX XXXX</span></td>
95 <td class="bits"><span class="used" title="Type of hedge on NE border">XXX</span> <span class="used" title="Field production stage">XXXXX</span></td>
96 </tr>
97 <tr>
98 <td rowspan=3>1</td>
99 <td class="caption">rail</td>
100 <td class="bits" rowspan=3><span class="used" title="Ship docking tile status (for half-tile with water)">X</span><span class="free">OO</span><span class="used" title="Owner">X XXXX</span></td>
101 <td class="bits"><span class="free">OOOO</span> <span class="used" title="Reserved tracks">XXXX</span> <span class="free">OOOO OOOO</span></td>
102 <td class="bits"><span class="free">OOOO OOOO</span> </td>
103 <td class="bits"><span class="free">OOOO</span> <span class="used" title="Ground type: fences, snow, desert">XXXX</span></td>
104 <td class="bits"><span class="used" title="Rail tile type: rail, rail with signals, depot">OO</span> <span class="used" title="Track pieces">XXXXXX</span></td>
105 <td class="bits" rowspan=3><span class="free">OOOO OOOO</span></td>
106 <td class="bits" rowspan=3><span class="free">OOOO OOOO</span></td>
107 <td class="bits" rowspan=3><span class="free">OOOO OOOO OO</span><span class="used" title="Railway type">XX XXXX</span></td>
108 </tr>
109 <tr>
110 <td class="caption">rail with signals</td>
111 <td class="bits"><span class="free">OOOO</span> <span class="used" title="Reserved tracks">XXXX</span> <span class="used" title="Signal types and sempahore/lights">XXXX XXXX</span></td>
112 <td class="bits"><span class="used" title="Signals present">XXXX</span> <span class="free">OOOO</span></td>
113 <td class="bits"><span class="used" title="Signals colors">XXXX</span> <span class="used" title="Ground type: fences, snow, desert">XXXX</span></td>
114 <td class="bits"><span class="used" title="Rail tile type: rail, rail with signals, depot">O1</span> <span class="used" title="Track pieces">XXXXXX</span></td>
115 </tr>
116 <tr>
117 <td class="caption">depot</td>
118 <td class="bits"><span class="pool" title="Depot index on pool">XXXX XXXX XXXX XXXX</span></td>
119 <td class="bits"><span class="free">OOOO</span> <span class="free">OOOO</span></td>
120 <td class="bits"><span class="free">OOOO</span> <span class="used" title="Ground type: fences, snow, desert (fences on depot are not valid)">XXXX</span></td>
121 <td class="bits"><span class="used" title="Rail tile type: rail, rail with signals, depot">11</span><span class="free">O</span><span class="used" title="PBS reservation">X</span> <span class="free">OO</span><span class="used" title="Depot exit direction">XX</span></td>
122 </tr>
123 <tr>
124 <td rowspan=3>2</td>
125 <td class="caption">road</td>
126 <td class="bits"><span class="free">OOO</span><span class="used" title="Owner of road">X XXXX</span></td>
127 <td class="bits" rowspan=2><span class="pool" title="Town index on pool">XXXX XXXX XXXX XXXX</span></td>
128 <td class="bits"><span class="used" title="Owner of tram">XXXX</span> <span class="used" title="Tram pieces">XXXX</span></td>
129 <td class="bits" rowspan=3><span class="free">OO</span><span class="used" title="Road type">XX XXXX</span></td>
130 <td class="bits"><span class="used" title="Tile type: simple road (00), level crossing (01), road depot (10)">OO</span> <span class="used" title="Disallow vehicles to go a specific direction">XX</span> <span class="used" title="Road pieces">XXXX</span></td>
131 <td class="bits"><span class="free">OO</span> <span class="used" title="Pavement type">XXX</span><span class="free">OOO</span></td>
132 <td class="bits"><span class="free">OO</span><span class="used" title="Snow/desert present">X</span> <span class="free">O</span><span class="used" title="Roadworks counter">XXXX</span></td>
133 <td class="bits" rowspan=1><span class="free">OOOO</span> <span class="used" title="Tram type">XXXX XX<span class="free">OO OOOO</span></td>
134 </tr>
135 <tr>
136 <td class="caption">level crossing</td>
137 <td class="bits"><span class="free">OOO</span><span class="used" title="Owner of rail track">X XXXX</span></td>
138 <td class="bits"><span class="used" title="Owner of tram">XXXX</span> <span class="free">OOOO</span></td>
139 <td class="bits"><span class="used" title="Tile type: simple road (00), level crossing (01), road depot (10)">O1</span> <span class="used" title="Lights are on">X</span> <span class="used" title="PBS reservation">X</span><span class="free">OOO</span><span class="used" title="Direction of the rail and roads">X</span></td>
140 <td class="bits"><span class="free">OO</span> <span class="used" title="Pavement type">XXX</span><span class="free">OOO</span></td>
141 <td class="bits"><span class="free">OO</span><span class="used" title="Snow/desert present">X</span> <span class="used" title="Owner of road">XXXXX</span></td>
142 <td class="bits" rowspan=1><span class="free">OOOO</span> <span class="used" title="Tram type">XXXX XX</span> <span class="used" title="Railway type">XXXXXX</span></td>
143 </tr>
144 <tr>
145 <td class="caption">road depot</td>
146 <td class="bits"><span class="free">OOO</span><span class="used" title="Owner of the depot">X XXXX</span></td>
147 <td class="bits"><span class="pool" title="Depot index on pool">XXXX XXXX XXXX XXXX</span></td>
148 <td class="bits"><span class="usable" title="Owner of tram depot">XXXX</span> <span class="free">OOOO</span></td>
149 <td class="bits"><span class="used" title="Tile type: simple road (00), level crossing (01), road depot (10)">1O</span><span class="free">OO OO</span><span class="used" title="Depot exit direction">XX</span></td>
150 <td class="bits"><span class="free">OOOO OOOO</span></td>
151 <td class="bits"><span class="free">OO</span><span class="used" title="Snow/desert present">X</span> <span class="usable" title="Owner of road depot">XXXXX</span></td>
152 <td class="bits" rowspan=1><span class="free">OOOO</span> <span class="used" title="Tram type">XXXX XX</span><span class="free">OO OOOO</span></td>
153 </tr>
154 <tr>
155 <td rowspan=2>3</td>
156 <td class="caption">finished house</td>
157 <td class="bits" rowspan=2><span class="used" title="House random bits">XXXX XXXX</span></td>
158 <td class="bits" rowspan=2><span class="pool" title="Town index on pool">XXXX XXXX XXXX XXXX</span></td>
159 <td class="bits"><span class="used" title="House is complete/in construction (see m5)">1</span> <span class="used" title="House type (m4 + m3[6])">X</span><span class="free">O</span><span class="usable" title="Activated triggers (bits 2..4 don't have a meaning)">XXX</span><span class="used" title="Activated triggers (bits 2..4 don't have a meaning)">XX</span></td>
160 <td class="bits" rowspan=2><span class="used" title="House type (m4 + m3[6])">XXXX XXXX</span></td>
161 <td class="bits"><span class="used" title="Age in years, clamped at 255">XXXX XXXX</span></td>
162 <td class="bits" rowspan=2><span class="abuse" title="Newhouses activated: periodic processing time remaining; if not, lift position for houses 04 and 05">XXXX XX</span><span class="free">OO</span></td>
163 <td class="bits" rowspan=2><span class="abuse" title="If newhouses active, m7 is the current animation frame">XXXX</span> <span class="abuse" title="If newhouses active, m7 is the current animantion frame; if not, lift behaviour for houses 04 and 05">XXXX</span></td>
164 <td class="bits" rowspan=2><span class="free">OOOO OOOO OOOO OOOO</span></td>
165 </tr>
166 <tr>
167 <td class="caption">house under construction</td>
168 <td class="bits"><span class="used" title="House is complete/in construction (see m5)">O</span> <span class="used" title="House type (m4 + m3[6])">X</span><span class="free">O</span><span class="usable" title="Activated triggers (bits 2..4 don't have a meaning)">XXX</span><span class="used" title="Activated triggers (bits 2..4 don't have a meaning)">XX</span></td>
169 <td class="bits"><span class="free">OOO</span><span class="used" title="Construction stage">XX</span> <span class="used" title="Construction counter">XXX</span></td>
170 </tr>
171 <tr>
172 <td>4</td>
173 <td class="caption">trees</td>
174 <td class="bits"><span class="free">O</span><span class="used" title="Water class">XX</span><span class="usable" title="Owner (always OWNER_NONE)">1 OOOO</span></td>
175 <td class="bits"><span class="free">OOOO OOO</span><span class="used" title="Tree ground">XXX</span> <span class="used" title="Tree density">XX</span> <span class="used" title="Tree counter">XXXX</span></td>
176 <td class="bits"><span class="usable" title="Tree type unused bits">XX</span><span class="used" title="Tree type">XX XXXX</span></td>
177 <td class="bits"><span class="free">OOOO OOOO</span></td>
178 <td class="bits"><span class="used" title="Number of trees on tile (+1)">XX</span><span class="free">OO O</span><span class="used" title="Tree growth">XXX</span></td>
179 <td class="bits"><span class="free">OOOO OOOO</span></td>
180 <td class="bits"><span class="free">OOOO OOOO</span></td>
181 <td class="bits"><span class="free">OOOO OOOO OOOO OOOO</span></td>
182 </tr>
183 <tr>
184 <td rowspan=8>5</td>
185 <td class="caption">rail station</td>
186 <td class="bits" rowspan=8><span class="free">O</span><span class="used" title="Water class">XX</span> <span class="used" title="Owner">XXXXX</span></td>
187 <td class="bits" rowspan=8><span class="pool" title="Station index on pool">XXXX XXXX XXXX XXXX</span></td>
188 <td class="bits" rowspan=2><span class="used" title="Random bits">XXXX</span> <span class="free">OOOO</span></td>
189 <td class="bits" rowspan=2><span class="used" title="Custom station specifications ID">XXXX XXXX</span></td>
190 <td class="bits"><span class="used" title="Graphics index">XXXX XXXX</span></td>
191 <td class="bits" rowspan=2><span class="used" title="May have pylons">X</span><span class="used" title="Station type">XXXX</span> <span class="used" title="Reserved track">X</span><span class="used" title="May have wires">X</span><span class="used" title="Tile is blocked">X</span></td>
192 <td class="bits" rowspan=2><span class="used" title="Animation frame">XXXX XXXX</span></td>
193 <td class="bits" rowspan=2><span class="free">OOOO OOOO OO</span><span class="used" title="Railway type">XX XXXX</span></td>
194 </tr>
195 <tr>
196 <td class="caption">rail waypoint</td>
197 <td class="bits"><span class="usable" title="Graphics index">OOOO OOO</span><span class="used" title="Graphics index">X</span></td>
198 </tr>
199 <tr>
200 <td class="caption">road stop</td>
201 <td class="bits"><span class="used" title="Owner of tram">XXXX</span> <span class="free">OOOO</span></td>
202 <td class="bits" rowspan=2><span class="free">OO</span><span class="used" title="Roadtype for road stop">XX XXXX</span></td>
203 <td class="bits" rowspan=2><span class="usable" title="Graphics index">OOOO O</span><span class="used" title="Graphics index: 00 (exit towards NE), 01 (exit towards SE), 02 (exit towards SW), 03 (exit towards NW), 04 (drive through X), 05 (drive through Y)">XXX</span></td>
204 <td class="bits" rowspan=6><span class="free">O</span><span class="used" title="Station type">XXX X</span><span class="free">OOO</span></td>
205 <td class="bits" rowspan=2><span class="free">OOO</span><span class="used" title="Owner of road">X XXXX</span></td>
206 <td class="bits"><span class="free">OOOO</span> <span class="used" title="Tram type">XXXX XX</span> <span class="used" title="Custom road stops specifications ID">XXXXXX</span></td>
207 </tr>
208 <tr>
209 <td class="caption">road waypoint</td>
210 <td class="bits"><span class="used" title="Owner of tram">XXXX</span> <span class="used" title="Pavement type">XX</span><span class="free">OO</span></td>
211 <td class="bits"><span class="used" title="Snow/desert present">X</span><span class="free">OOO</span> <span class="used" title="Tram type">XXXX XX<span class="free">OO OOOO</span></td>
212 </tr>
213 <tr>
214 <td class="caption">airport</td>
215 <td class="bits"><span class="used" title="Random bits">XXXX</span> <span class="free">OOOO</span></td>
216 <td class="bits"><span class="free">OOOO OOOO</span></td>
217 <td class="bits"><span class="used" title="Graphics index">XXXX XXXX</span></td>
218 <td class="bits"><span class="used" title="Animation frame">XXXX XXXX</span></td>
219 <td class="bits" rowspan=4><span class="free">OOOO OOOO OOOO OOOO</span></td>
220 </tr>
221 <tr>
222 <td class="caption">dock</td>
223 <td class="bits"><span class="free">OOOO OOOO</span></td>
224 <td class="bits"><span class="free">OOOO OOOO</span></td>
225 <td class="bits"><span class="usable" title="Graphics index">OOOO </span><span class="usable" title="Graphics index">O</span><span class="used" title="Graphics index">XXX</span></td>
226 <td class="bits"><span class="free">OOOO OOOO</span></td>
227 </tr>
228 <tr>
229 <td class="caption">buoy</td>
230 <td class="bits"><span class="free">OOOO OOOO</span></td>
231 <td class="bits"><span class="free">OOOO OOOO</span></td>
232 <td class="bits"><span class="usable">OOOO OOOO</span></td>
233 <td class="bits"><span class="free">OOOO OOOO</span></td>
234 </tr>
235 <tr>
236 <td class="caption">oilrig</td>
237 <td class="bits"><span class="free">OOOO OOOO</span></td>
238 <td class="bits"><span class="free">OOOO OOOO</span></td>
239 <td class="bits"><span class="usable">OOOO OOOO</span></td>
240 <td class="bits"><span class="free">OOOO OOOO</span></td>
241 </tr>
242 <tr>
243 <td rowspan=4>6</td>
244 <td class="caption">sea, shore</td>
245 <td class="bits" rowspan=4><span class="used" title="Ship docking tile status">X</span> <span class="used" title="Water class">XX</span> <span class="used" title="Owner">XXXXX</span></td>
246 <td class="bits" rowspan=3><span class="free">OOOO OOOO OOOO OOOO</span></td>
247 <td class="bits" rowspan=4><span class="free">OOOO OOOO</span></td>
248 <td class="bits"><span class="free">OOOO OOOO</span></td>
249 <td class="bits"><span class="used" title="Water tile type: coast, clear, lock, depot">O<span class="usable">OO</span>O</span> <span class="free">OOO</span><span class="used" title="Sea shore flag">X</span></td>
250 <td class="bits" rowspan=4><span class="free">OOOO OOOO</span></td>
251 <td class="bits" rowspan=4><span class="free">OOOO OOOO</td>
252 <td class="bits" rowspan=4><span class="free">OOOO OOOO OOOO OOOO</span></td>
253 </tr>
254 <tr>
255 <td class="caption">canal, river</td>
256 <td class="bits"><span class="used" title="Canal/river random bits">XXXX XXXX</span></td>
257 <td class="bits"><span class="used" title="Water tile type: coast, clear, lock, depot">O<span class="usable">OO</span>O</span> <span class="free">OOOO</span></td>
258 </tr>
259 <tr>
260 <td class="caption">lock</td>
261 <td class="bits"><span class="free">OOOO OOOO</span></td>
262 <td class="bits"><span class="used" title="Water tile type: coast, clear, lock, depot">O<span class="usable">OO</span>1</span> <span class="used" title="Lock part">XX</span> <span class="used" title="Lock orientation m5[1..0]">XX</span></td>
263 </tr>
264 <tr>
265 <td class="caption">shipdepot</td>
266 <td class="bits"><span class="pool" title="Depot index on pool">XXXX XXXX XXXX XXXX</span></td>
267 <td class="bits"><span class="free">OOOO OOOO</span></td>
268 <td class="bits"><span class="used" title="Water tile type: coast, clear, lock, depot">1<span class="usable">OOO</span></span> <span class="free">OO</span><span class="used" title="Depot axis">X</span> <span class="used" title="Depot part">X</span></td>
269 </tr>
270 <tr>
271 <td rowspan=2>8</td>
272 <td class="caption">finished industry</td>
273 <td class="bits"><span class="used" title="Completed industry">1</span> <span class="used" title="Water class">XX</span><span class="free">O</span> <span class="free">OOOO</span></td>
274 <td class="bits" rowspan=2><span class="pool" title="Industry index on pool">XXXX XXXX XXXX XXXX</span></td>
275 <td class="bits" rowspan=2><span class="used" title="Random bits">XXXX XXXX</span></td>
276 <td class="bits" rowspan=2><span class="used" title="Animation loop">XXXX XXXX</span></td>
277 <td class="bits" rowspan=2><span class="used" title="Industry graphics ID (m5 + m6[2])">XXXX XXXX</span></td>
278 <td class="bits" rowspan=2><span class="free">OO</span><span class="used" title="Random triggers (NewGRF)">XXX</span> <span class="used" title="Industry graphics ID (m5 + m6[2])">X</span><span class="free">OO</span></td>
279 <td class="bits" rowspan=2><span class="used" title="Animation frame">XXXX XXXX</span></td>
280 <td class="bits" rowspan=2><span class="free">OOOO OOOO OOOO OOOO</span></td>
281 </tr>
282 <tr>
283 <td class="caption">industry under construction</td>
284 <td class="bits"><span class="used" title="Completed industry">O</span> <span class="used" title="Water class">XX</span><span class="free">O</span> <span class="used" title="If under construction, construction counter and stage of construction">XXXX</span></td>
285 </tr>
286 <tr>
287 <td rowspan=2>9</td>
288 <td class="caption">tunnel entrance</td>
289 <td class="bits" rowspan=2><span class="used" title="Ship docking tile status (for aqueducts)">X</span><span class="free">OO</span> <span class="used" title="Owner">XXXXX</span></td>
290 <td class="bits" rowspan=2><span class="free">OOOO OOOO OOOO OOOO</span></td>
291 <td class="bits" rowspan=2><span class="rearrange" title="Owner of tram (road only; a rearrangement can free some of these bits)">XXXX</span> <span class="free">OOOO</span></td>
292 <td class="bits" rowspan=2><span class="free">OO</span><span class="used" title="Road type">XX XXXX</span></td>
293 <td class="bits"><span class="used" title="Bridge or tunnel bit">O</span><span class="free">OO</span><span class="rearrange" title="PBS reservation (rail; a rearrangement can free some of these bits)">X</span> <span class="used" title="Transport type">XX</span> <span class="used" title="Direction of the tunnel/bridge">XX</span></td>
294 <td class="bits"><span class="free">OOOO OOOO</span></td>
295 <td class="bits" rowspan=2><span class="free">OO</span><span class="used" title="Snow/desert present">X</span><span class="rearrange" title="Owner of road (road only; a rearrangement can free some of these bits)">X XXXX</span></td>
296 <td class="bits" rowspan=2><span class="free">OOOO</span> <span class="used" title="Tram type">XXXX XX</span><span class="rearrange" title="Railway type (rail only; a rearrangement can free some of these bits)">XX XXXX</span></td>
297 </tr>
298 <tr>
299 <td>bridge ramp</td>
300 <td class="bits"><span class="used" title="Bridge or tunnel bit">1</span><span class="free">OO</span><span class="rearrange" title="PBS reservation (rail; a rearrangement can free some of these bits)">X</span> <span class="used" title="Transport type">XX</span> <span class="used" title="Direction of the tunnel/bridge">XX</span></td>
301 <td class="bits"><span class="free">OO</span><span class="used" title="Bridge type: wooden, steel,...">XX XX</span><span class="free">OO</span></td>
302 </tr>
303 <tr>
304 <td>A</td>
305 <td class="caption">objects</td>
306 <td class="bits"><span class="free">O</span><span class="used" title="Water class">XX</span> <span class="used" title="Owner">XXXXX</span></td>
307 <td class="bits"><span class="pool" title="Object index on pool (m2 + m5)">XXXX XXXX XXXX XXXX</span></td>
308 <td class="bits"><span class="used" title="Random bits">XXXX XXXX</span></td>
309 <td class="bits"><span class="free">OOOO OOOO</span></td>
310 <td class="bits"><span class="pool" title="Object index on pool (m2 + m5)">XXXX XXXX</span></td>
311 <td class="bits"><span class="free">OOOO OOOO</span></td>
312 <td class="bits"><span class="used" title="Animation counter">XXXX XXXX</span></td>
313 <td class="bits" rowspan=1><span class="free">OOOO OOOO OOOO OOOO</span></td>
314 </tr>
315 <tr>
316 <td colspan=2 class="caption">bits</td>
317 <td class="bits">7654 3210</td>
318 <td class="bits">7654 3210</td>
319 <td class="bits">7654 3210</td>
320 <td class="bits">FEDC BA98 7654 3210</td>
321 <td class="bits">7654 3210</td>
322 <td class="bits">7654 3210</td>
323 <td class="bits">7654 3210</td>
324 <td class="bits">7654 3210</td>
325 <td class="bits">7654 3210</td>
326 <td class="bits">FEDC BA98 7654 3210</td>
327 </tr>
328 <tr>
329 <th colspan=2>class</th>
330 <th>type (8)</th>
331 <th>height (8)</th>
332 <th>m1 (8)</th>
333 <th>m2 (16)</th>
334 <th>m3 (8)</th>
335 <th>m4 (8)</th>
336 <th>m5 (8)</th>
337 <th>m6 (8)</th>
338 <th>m7 (8)</th>
339 <th>m8 (16)</th>
340 </tr>
341 </tbody>
342 </table>
344 </body>
345 </html>