diff options
author | rubidium <rubidium@openttd.org> | 2007-07-16 23:55:22 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-16 23:55:22 +0000 |
commit | 45b0b7755d54e94969466084eebc99811b7c2641 (patch) | |
tree | 052fe05961ef6ef6913712ffee40515822018816 /docs | |
parent | 210e3c7085ce77459ca186338c31fbd32948f68f (diff) | |
download | openttd-45b0b7755d54e94969466084eebc99811b7c2641.tar.xz |
(svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/landscape.html | 165 | ||||
-rw-r--r-- | docs/landscape_grid.html | 2 |
2 files changed, 19 insertions, 148 deletions
diff --git a/docs/landscape.html b/docs/landscape.html index 670539d09..804ac1a26 100644 --- a/docs/landscape.html +++ b/docs/landscape.html @@ -744,7 +744,7 @@ <li>m3 bits 7..4: persistent random data for newstations</li> <li>m3 bits 3..0: <a href="#TrackType">track type</a> for railway stations, must be 0 for all the other stations</li> <li>m4: custom station id; 0 means standard graphics</li> - <li>m5: tile type: + <li>m5: graphics index (range from 0..255 for each station type): <table> <tr> <td nowrap valign=top><tt>00</tt>..<tt>07</tt> </td> @@ -770,145 +770,28 @@ </tr> <tr> - <td nowrap valign=top><tt>08</tt>..<tt>33</tt> </td> - <td align=left>large airport - <table> - <tr> - <td nowrap valign=top><tt>0B</tt> </td> - <td align=left>pad 1</td> - </tr> - <tr> - <td nowrap valign=top><tt>16</tt>..<tt>19</tt> </td> - <td align=left>runway middle</td> - </tr> - <tr> - <td nowrap valign=top><tt>1A</tt> </td> - <td align=left>runway ending</td> - </tr> - <tr> - <td nowrap valign=top><tt>1C</tt> </td> - <td align=left>control tower</td> - </tr> - <tr> - <td nowrap valign=top><tt>20</tt> </td> - <td align=left>hangar</td> - </tr> - <tr> - <td nowrap valign=top><tt>21</tt> </td> - <td align=left>pad 3</td> - </tr> - <tr> - <td nowrap valign=top><tt>22</tt> </td> - <td align=left>pad 2</td> - </tr> - <tr> - <td nowrap valign=top><tt>27</tt>..<tt>32</tt> </td> - <td align=left>radar (animated)</td> - </tr> - <tr> - <td nowrap valign=top><tt>33</tt> </td> - <td align=left>transmitter</td> - </tr> - <tr> - <td colspan=2>The initial layout of a large airport is (rows in Y direction, columns in X direction): -<pre> -1F 1B 1E 33 26 1A -09 24 0B 0C 0D 16 -21 1D 23 0E 0F 17 -09 22 0D 11 10 18 -09 08 14 13 12 19 -20 0A 15 1C 27 1A -</pre> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td nowrap valign=top><tt>34</tt>..<tt>41</tt> </td> - <td align=left>small airport - <table> - <tr> - <td nowrap valign=top><tt>3A</tt>..<tt>3D</tt> </td> - <td align=left>field with the wind meter (animated)</td> - </tr> - <tr> - <td nowrap valign=top><tt>3E</tt> </td> - <td align=left>runway south ending</td> - </tr> - <tr> - <td nowrap valign=top><tt>3F</tt> </td> - <td align=left>runway middle</td> - </tr> - <tr> - <td nowrap valign=top><tt>40</tt> </td> - <td align=left>runway north ending</td> - </tr> - <tr> - <td nowrap valign=top><tt>41</tt> </td> - <td align=left>hangar</td> - </tr> - <tr> - <td colspan=2>The initial layout of a small airport is (rows in Y direction, columns in X direction): -<pre> -36 3A 40 -35 39 3F -34 38 3F -41 37 3E -</pre> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td nowrap valign=top><tt>42</tt> </td> - <td align=left>heliport</td> - </tr> - <tr> - <td nowrap valign=top><tt>43</tt>..<tt>46</tt> </td> - <td align=left>lorry loading area : exit towards: - <table> - <tr> - <td><tt>43</tt> </td> - <td align=left>NE</td> - </tr> - <tr> - <td><tt>44</tt> </td> - <td align=left>SE</td> - </tr> - <tr> - <td><tt>45</tt> </td> - <td align=left>SW</td> - </tr> - <tr> - <td><tt>46</tt> </td> - <td align=left>NW</td> - </tr> - </table> - </td> + <td nowrap valign=top><tt>00</tt>..<tt>8F</tt></td> + <td align=left>all airports</td> </tr> <tr> - <td nowrap valign=top><tt>47</tt>..<tt>4A</tt> </td> - <td align=left>bus station : exit towards: + <td nowrap valign=top><tt>00</tt>..<tt>03</tt> </td> + <td align=left>lorry loading area/truck station : exit towards: <table> <tr> - <td><tt>47</tt> </td> + <td><tt>00</tt> </td> <td align=left>NE</td> </tr> <tr> - <td><tt>48</tt> </td> + <td><tt>01</tt> </td> <td align=left>SE</td> </tr> <tr> - <td><tt>49</tt> </td> + <td><tt>02</tt> </td> <td align=left>SW</td> </tr> <tr> - <td><tt>4A</tt> </td> + <td><tt>03</tt> </td> <td align=left>NW</td> </tr> </table> @@ -916,52 +799,40 @@ </tr> <tr> - <td nowrap valign=top><tt>4B</tt> </td> - <td align=left>oilfield</td> - </tr> - - <tr> - <td nowrap valign=top><tt>4C</tt>..<tt>51</tt> </td> + <td nowrap valign=top><tt>00</tt>..<tt>05</tt> </td> <td align=left>ship dock <table> <tr> - <td><tt>4C</tt> </td> + <td><tt>00</tt> </td> <td align=left>SW coast part</td> </tr> <tr> - <td><tt>4D</tt> </td> + <td><tt>01</tt> </td> <td align=left>NW coast part</td> </tr> <tr> - <td><tt>4E</tt> </td> + <td><tt>02</tt> </td> <td align=left>NE coast part</td> </tr> <tr> - <td><tt>4F</tt> </td> + <td><tt>03</tt> </td> <td align=left>SE coast part</td> </tr> <tr> - <td><tt>50</tt> </td> + <td><tt>04</tt> </td> <td align=left>X direction water part</td> </tr> <tr> - <td><tt>51</tt> </td> + <td><tt>05</tt> </td> <td align=left>Y direction water part</td> </tr> </table> </td> </tr> - <tr> - <td nowrap valign=top><tt>52</tt> </td> - <td align=left>buoy</td> - </tr> - <tr> - <td nowrap valign=top><tt>53</tt>..<tt>A7</tt> </td> - <td align=left>used by RichK's larger airports</td> - </tr> </table> </li> - <li>m6 bit 3: 1 when a drive through road stop is built over a town owned road, otherwise 0</li> + <li>m6 bits 3..5: the station type (rail, airport, truck, bus, oilrig, dock, buoy)</li> + <li>m6 bit 2: 1 when a drive through road stop is built over a town owned road, otherwise 0</li> <li>m6 bits 1..0 : <a href="#tropic_zone">Tropic zone definition</a></li> </ul> </td> diff --git a/docs/landscape_grid.html b/docs/landscape_grid.html index 06351e2aa..9f9e3e3ca 100644 --- a/docs/landscape_grid.html +++ b/docs/landscape_grid.html @@ -184,7 +184,7 @@ the array so you can quickly see what is used and what is not. <td class="bits">XXXX XXXX</td> <td class="bits">XXXX XXXX</td> <td class="bits">XXXX XXXX</td> - <td class="bits"><span class="free">OOOO O</span>XXX</td> + <td class="bits"><span class="free">OO</span>XX XXXX</td> <td class="bits"><span class="free">OOOO OOOO</span></td> </tr> <tr> |