diff options
author | rubidium <rubidium@openttd.org> | 2010-08-11 14:14:06 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-11 14:14:06 +0000 |
commit | ab5b0ceff219a2b12253dbd3e008cf4551608b8a (patch) | |
tree | 015b80c7c79cf97a7de8a1f8d1d82f4577895ea1 /docs | |
parent | 43d6740f2d68af2223796eb2324086be18487b88 (diff) | |
download | openttd-ab5b0ceff219a2b12253dbd3e008cf4551608b8a.tar.xz |
(svn r20446) -Codechange: unify the location of the water class
Diffstat (limited to 'docs')
-rw-r--r-- | docs/landscape.html | 27 | ||||
-rw-r--r-- | docs/landscape_grid.html | 30 |
2 files changed, 29 insertions, 28 deletions
diff --git a/docs/landscape.html b/docs/landscape.html index 044ee7b6c..0a712df09 100644 --- a/docs/landscape.html +++ b/docs/landscape.html @@ -52,7 +52,7 @@ <a href="landscape_grid.html">Landscape grid</a> page. </p> - The <a name="OwnershipInfo">owner of a tile</a>, as frequently associated with attribute m1, + The <a name="OwnershipInfo">owner of a tile</a>, as frequently associated with attribute m1 bits 4..0, can be either companies (human or AI) or "Game entities". They are identified using: <table border="1"> @@ -78,7 +78,7 @@ <td valign=top nowrap> </td> <td> <ul> - <li>m1: <a href="#OwnershipInfo">owner</a> of the tile (normally <tt>10</tt>)</li> + <li>m1 bits 4..0: <a href="#OwnershipInfo">owner</a> of the tile (normally <tt>10</tt>)</li> <li>m2: see fields</li> <li>m3 bits 3..0: see fields</li> <li>m3 bit 4: set if the tile is covered with snow</li> @@ -183,7 +183,7 @@ <td valign=top nowrap> </td> <td> <ul> - <li>m1: <a href="#OwnershipInfo">owner</a> of the tile</li> + <li>m1 bits 4..0: <a href="#OwnershipInfo">owner</a> of the tile</li> <li>m2: see signals</li> <li>m3 bits 7..4: see signals</li> <li>m3 bits 3..0 = <a name="TrackType">track type</a>: @@ -548,7 +548,7 @@ <li>m3 bits 7..4: <a href="#OwnershipInfo">owner</a> of road type 1 (tram); OWNER_NONE (<tt>10</tt>) is stored as OWNER_TOWN (<tt>0F</tt>) <li>m5 bit 6 clear: road <ul> - <li>m1: <a href="#OwnershipInfo">owner</a> of the road type 0 (normal road)</li> + <li>m1 bits 4..0: <a href="#OwnershipInfo">owner</a> of the road type 0 (normal road)</li> <li>m7 bits 3..0: counter for the roadworks</li> <li>m5 bits 3..0: road layout road type 0 (normal road): bit set = road piece present: <table> @@ -587,7 +587,7 @@ </li> <li>m5 bit 6 set: level crossing <ul> - <li>m1: <a href="#OwnershipInfo">owner</a> of the railway track</li> + <li>m1 bits 4..0: <a href="#OwnershipInfo">owner</a> of the railway track</li> <li>m3 bits 3..0: <a href="#TrackType">railway track type</a></li> <li>m5 bit 0: direction <table> @@ -610,7 +610,7 @@ </li> <li>m5 bit 7 set, bit 6 clear: road depot <ul> - <li>m1: <a href="#OwnershipInfo">owner</a> of the depot</li> + <li>m1 bits 4..0: <a href="#OwnershipInfo">owner</a> of the depot</li> <li>m2: Depot index</li> <li>m5 bits 3..0: exit towards: <table> @@ -723,7 +723,7 @@ <td valign=top nowrap> </td> <td> <ul> - <li>m1: <a href="#OwnershipInfo">owner</a> (normally <tt>10</tt>)</li> + <li>m1 bits 4..0: <a href="#OwnershipInfo">owner</a> (normally <tt>10</tt>)</li> <li>m2 bits 8..6: ground <table> @@ -822,12 +822,12 @@ <td valign=top nowrap> </td> <td> <ul> - <li>m1: <a href="#OwnershipInfo">owner</a> of the station</li> + <li>m1 bits 6..5: water class for buoys, water part of docks and for airport tiles</li> + <li>m1 bits 4..0: <a href="#OwnershipInfo">owner</a> of the station</li> <li>m2: index into the array of stations</li> <li>m3 bits 7..4: persistent random data for railway stations/waypoints and airports)</li> <li>m3 bits 7..4: <a href="#OwnershipInfo">owner</a> of tram tracks (road stop)</li> <li>m3 bits 3..0: <a href="#TrackType">track type</a> for railway stations/waypoints</li> - <li>m3 bits 1..0: water class for buoys, water part of docks and for airport tiles</li> <li>m4: custom station id; 0 means standard graphics</li> <li>m5: graphics index (range from 0..255 for each station type): <table> @@ -959,9 +959,9 @@ <td valign=top nowrap> </td> <td> <ul> - <li>m1: <a href="#OwnershipInfo">owner</a> (for sea, rivers, and coasts normally <tt>11</tt>)</li> + <li>m1 bits 6..5 : Water class (sea, canal or river) + <li>m1 bits 4..0: <a href="#OwnershipInfo">owner</a> (for sea, rivers, and coasts normally <tt>11</tt>)</li> <li>m2: Depot index (for depots only)</li> - <li>m3 bits 1..0 : Water class (sea, canal or river) <li>m4: Random data for canal or river tiles</li> <li>m5: tile type: <table> @@ -1413,7 +1413,7 @@ <td valign=top nowrap> </td> <td> <ul> - <li>m1: <a href="#OwnershipInfo">owner</a></li> + <li>m1 bits 4..0: <a href="#OwnershipInfo">owner</a></li> <li>m3 bits 7..4: <a href="#OwnershipInfo">owner</a> of tram</li> <li>m3 bits 3..0: <a href="#TrackType">track type</a> for railway</li> <li>m5 bit 4: pbs reservation state for railway</li> @@ -1566,7 +1566,8 @@ <td valign=top nowrap> </td> <td> <ul> - <li>m1: <a href="#OwnershipInfo">owner</a> of the object (for lighthouses and transmitters normally <tt>10</tt>)</li> + <li>m1 bits 6..5 : Water class (sea, canal, river or land) + <li>m1 bits 4..0: <a href="#OwnershipInfo">owner</a> of the object (for lighthouses and transmitters normally <tt>10</tt>)</li> <li>m2: see company statue <li>m3: offset to northern most tile <li>m5: tile type: diff --git a/docs/landscape_grid.html b/docs/landscape_grid.html index 9a52f3869..4f25af277 100644 --- a/docs/landscape_grid.html +++ b/docs/landscape_grid.html @@ -66,7 +66,7 @@ the array so you can quickly see what is used and what is not. <td rowspan="2">0</td> <td class="caption">ground</td> <td class="bits">XXXX XXXX</td> - <td class="bits"><span class="option">~~~~ ~~~~</span></td> + <td class="bits"><span class="free">OOO</span><span class="option">~ ~~~~</span></td> <td class="bits"><span class="free">OOOO OOOO OOOO OOOO</span></td> <td class="bits"><span class="free">OOO</span>X <span class="free">OOOO</span></td> <td class="bits">XXXX XX<span class="free">OO</span></td> @@ -77,7 +77,7 @@ the array so you can quickly see what is used and what is not. <tr> <td class="caption">farmland</td> <td class="bits">-inherit-</td> - <td class="bits"><span class="option">~~~~ ~~~~</span></td> + <td class="bits">-inherit-</td> <td class="bits">XXXX XXXX XXXX XXXX</td> <td class="bits"><span class="free">OOO</span>X XXXX</td> <td class="bits">-inherit-</td> @@ -89,7 +89,7 @@ the array so you can quickly see what is used and what is not. <td rowspan=3>1</td> <td class="caption">rail</td> <td class="bits">XXXX XXXX</td> - <td class="bits"><span class="option">~~~</span>X XXXX</td> + <td class="bits"><span class="free">OOO</span>X XXXX</td> <td class="bits"><span class="free">OOOO</span> XXXX <span class="free">OOOO OOOO</span></td> <td class="bits"><span class="free">OOOO</span> XXXX</td> <td class="bits"><span class="free">OOOO</span> XXXX</td> @@ -123,7 +123,7 @@ the array so you can quickly see what is used and what is not. <td rowspan=3>2</td> <td class="caption">road</td> <td class="bits">XXXX XXXX</td> - <td class="bits"><span class="option">~~~</span>X XXXX</td> + <td class="bits"><span class="free">OOO</span>X XXXX</td> <td class="bits">XXXX XXXX XXXX XXXX</td> <td class="bits">XXXX XXXX</td> <td class="bits"><span class="free">OOOO OOOO</span></td> @@ -169,7 +169,7 @@ the array so you can quickly see what is used and what is not. <td>4</td> <td class="caption">trees</td> <td class="bits">XXXX XXXX</td> - <td class="bits"><span class="option">~~~~ ~~~~</span></td> + <td class="bits"><span class="free">OOO</span><span class="option">~ ~~~~</span></td> <td class="bits"><span class="free">OOOO OOO</span>X XXXX XXXX</td> <td class="bits"><span class="option">~~</span>XX XXXX</td> <td class="bits">XXXX XX<span class="free">OO</span></td> @@ -181,7 +181,7 @@ the array so you can quickly see what is used and what is not. <td rowspan=7>5</td> <td class="caption">rail station</td> <td class="bits">XXXX XXXX</td> - <td class="bits"><span class="option">~~~</span>X XXXX</td> + <td class="bits"><span class="free">O</span>XXX XXXX</td> <td class="bits">XXXX XXXX XXXX XXXX</td> <td class="bits">XXXX XXXX</td> <td class="bits">XXXX XXXX</td> @@ -216,7 +216,7 @@ the array so you can quickly see what is used and what is not. <td class="bits">-inherit-</td> <td class="bits">-inherit-</td> <td class="bits">-inherit-</td> - <td class="bits"><span class="free">OOOO OO</span>XX</td> + <td class="bits"><span class="free">OOOO OOOO</span></td> <td class="bits"><span class="free">OOOO OOOO</span></td> <td class="bits"><span class="option">~~~~ ~</span>XXX</td> <td class="bits"><span class="free">OO</span>XX X<span class="free">O</span>XX</td> @@ -227,7 +227,7 @@ the array so you can quickly see what is used and what is not. <td class="bits">-inherit-</td> <td class="bits">-inherit-</td> <td class="bits">-inherit-</td> - <td class="bits">XXXX <span class="free">OO</span>XX</td> + <td class="bits">XXXX <span class="free">OOOO</span></td> <td class="bits"><span class="free">OOOO OOOO</span></td> <td class="bits">XXXX XXXX</td> <td class="bits"><span class="free">OO</span>XX X<span class="free">O</span>XX</td> @@ -238,7 +238,7 @@ the array so you can quickly see what is used and what is not. <td class="bits">-inherit-</td> <td class="bits">-inherit-</td> <td class="bits">-inherit-</td> - <td class="bits"><span class="free">OOOO OO</span>XX</td> + <td class="bits"><span class="free">OOOO OOOO</span></td> <td class="bits"><span class="free">OOOO OOOO</span></td> <td class="bits"><span class="option">~~~~ ~~~~</span></td> <td class="bits"><span class="free">OO</span>XX X<span class="free">O</span>XX</td> @@ -259,9 +259,9 @@ the array so you can quickly see what is used and what is not. <td rowspan=3>6</td> <td class="caption">sea, shore</td> <td class="bits">XXXX XXXX</td> - <td class="bits"><span class="option">~~~</span>X XXXX</td> + <td class="bits"><span class="free">O</span>XXX XXXX</td> <td class="bits"><span class="free">OOOO OOOO OOOO OOOO</span></td> - <td class="bits"><span class="free">OOOO OO</span>XX</td> + <td class="bits"><span class="free">OOOO OOOO</span></td> <td class="bits"><span class="free">OOOO OOOO</span></td> <td class="bits">X<span class="option">~~</span>X XXXX</td> <td class="bits">XX<span class="free">OO OO</span>XX</td> @@ -272,7 +272,7 @@ the array so you can quickly see what is used and what is not. <td class="bits">-inherit-</td> <td class="bits">-inherit-</td> <td class="bits"><span class="free">OOOO OOOO OOOO OOOO</span></td> - <td class="bits"><span class="free">OOOO OO</span>XX</td> + <td class="bits"><span class="free">OOOO OOOO</span></td> <td class="bits">XXXX XXXX</td> <td class="bits">-inherit-</td> <td class="bits">XX<span class="free">OO OO</span>XX</td> @@ -283,7 +283,7 @@ the array so you can quickly see what is used and what is not. <td class="bits">-inherit-</td> <td class="bits">-inherit-</td> <td class="bits">XXXX XXXX XXXX XXXX</td> - <td class="bits"><span class="free">OOOO OO</span>XX</td> + <td class="bits"><span class="free">OOOO OOOO</span></td> <td class="bits"><span class="free">OOOO OOOO</span></td> <td class="bits">-inherit-</td> <td class="bits">XX<span class="free">OO OO</span>XX</td> @@ -306,7 +306,7 @@ the array so you can quickly see what is used and what is not. <td rowspan=2>9</td> <td class="caption">tunnel entrance</td> <td class="bits">XXXX XXXX</td> - <td class="bits"><span class="option">~~~</span>X XXXX</td> + <td class="bits"><span class="free">OOO</span>X XXXX</td> <td class="bits"><span class="free">OOOO OOOO OOOO OOOO</span></td> <td class="bits">XXXX XXXX</td> <td class="bits"><span class="free">OOOO OOOO</span></td> @@ -329,7 +329,7 @@ the array so you can quickly see what is used and what is not. <td rowspan=2>A</td> <td class="caption">objects</td> <td class="bits">XXXX XXXX</td> - <td class="bits"><span class="option">~~~</span>X XXXX</td> + <td class="bits"><span class="free">O</span>XXX XXXX</td> <td class="bits"><span class="free">OOOO OOOO OOOO OOOO</span></td> <td class="bits"><span class="free">OOO</span>X XXXX</td> <td class="bits"><span class="free">OOOO OOOO</span></td> |