24 <li><b>NOTE: </b>counting the bits starts with bit0 in the most left position (eg. a bit screwed LE format; BIT by BIT) </li> |
24 <li><b>NOTE: </b>counting the bits starts with bit0 in the most left position (eg. a bit screwed LE format; BIT by BIT) </li> |
25 </ul> |
25 </ul> |
26 <p> |
26 <p> |
27 <ul> |
27 <ul> |
28 <li><span style="font-weight: bold;">type_height</span> - 8 bits in size, stores tile height (lower 4 bits) and tile class (upper 4 bits)</li> |
28 <li><span style="font-weight: bold;">type_height</span> - 8 bits in size, stores tile height (lower 4 bits) and tile class (upper 4 bits)</li> |
29 <li><span style="font-weight: bold;">owner</span> - 8 bits in size, used to identify the owner of that tile (eg piece of rail, bridge, etc.)</li> |
29 <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> |
30 <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> |
30 <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> |
31 <li><span style="font-weight: bold;">m3/m4</span> - 16 bits in size, which is split up into m3 and m4 is used for general storage</li> |
31 <li><span style="font-weight: bold;">m3/m4</span> - 16 bits in size, which is split up into m3 and m4 is used for general storage</li> |
32 <li><span style="font-weight: bold;">m5</span> - 8 bits in size, is used for general storage</li> |
32 <li><span style="font-weight: bold;">m5</span> - 8 bits in size, is used for general storage</li> |
33 </ul> |
33 </ul> |
34 |
34 |
35 <table style="text-align: left;" border="1" cellpadding="2" |
35 <table style="text-align: left;" border="1" cellpadding="2" |
36 cellspacing="2" width="100%"> |
36 cellspacing="2" width="100%"> |
37 <tbody> |
37 <tbody> |
38 <tr> |
38 <tr> |
39 <th style="white-space: nowrap; text-align: left;">class</th> |
39 <th style="white-space: nowrap; text-align: left;">class</th> |
40 <th style="white-space: nowrap; text-align: center;">owner[L1] (8)</th> |
40 <th style="white-space: nowrap; text-align: center;">m1[L1] (8)</th> |
41 <th style="white-space: nowrap; text-align: center;">m2[L2] (16)</th> |
41 <th style="white-space: nowrap; text-align: center;">m2[L2] (16)</th> |
42 <th style="white-space: nowrap; text-align: center;">m3/m4[L3] (16)</th> |
42 <th style="white-space: nowrap; text-align: center;">m3/m4[L3] (16)</th> |
43 <th style="white-space: nowrap; text-align: center;">type_height[L4] (8)</th> |
43 <th style="white-space: nowrap; text-align: center;">type_height[L4] (8)</th> |
44 <th style="white-space: nowrap; text-align: center;">m5[L5] (8)</th> |
44 <th style="white-space: nowrap; text-align: center;">m5[L5] (8)</th> |
45 </tr> |
45 </tr> |