From ab5b0ceff219a2b12253dbd3e008cf4551608b8a Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 11 Aug 2010 14:14:06 +0000 Subject: (svn r20446) -Codechange: unify the location of the water class --- docs/landscape.html | 27 ++++++++++++++------------- docs/landscape_grid.html | 30 +++++++++++++++--------------- 2 files changed, 29 insertions(+), 28 deletions(-) (limited to 'docs') 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 @@ Landscape grid page.

- The owner of a tile, as frequently associated with attribute m1, + The owner of a tile, as frequently associated with attribute m1 bits 4..0, can be either companies (human or AI) or "Game entities". They are identified using: @@ -78,7 +78,7 @@
 
    -
  • m1: owner of the tile (normally 10)
  • +
  • m1 bits 4..0: owner of the tile (normally 10)
  • m2: see fields
  • m3 bits 3..0: see fields
  • m3 bit 4: set if the tile is covered with snow
  • @@ -183,7 +183,7 @@
 
    -
  • m1: owner of the tile
  • +
  • m1 bits 4..0: owner of the tile
  • m2: see signals
  • m3 bits 7..4: see signals
  • m3 bits 3..0 = track type: @@ -548,7 +548,7 @@
  • m3 bits 7..4: owner of road type 1 (tram); OWNER_NONE (10) is stored as OWNER_TOWN (0F)
  • m5 bit 6 clear: road
      -
    • m1: owner of the road type 0 (normal road)
    • +
    • m1 bits 4..0: owner of the road type 0 (normal road)
    • m7 bits 3..0: counter for the roadworks
    • m5 bits 3..0: road layout road type 0 (normal road): bit set = road piece present: @@ -587,7 +587,7 @@
    • m5 bit 6 set: level crossing
    • @@ -610,7 +610,7 @@
    • m5 bit 7 set, bit 6 clear: road depot
        -
      • m1: owner of the depot
      • +
      • m1 bits 4..0: owner of the depot
      • m2: Depot index
      • m5 bits 3..0: exit towards:
    • @@ -723,7 +723,7 @@
       
        -
      • m1: owner (normally 10)
      • +
      • m1 bits 4..0: owner (normally 10)
      • m2 bits 8..6: ground @@ -822,12 +822,12 @@
         
          -
        • m1: owner of the station
        • +
        • m1 bits 6..5: water class for buoys, water part of docks and for airport tiles
        • +
        • m1 bits 4..0: owner of the station
        • m2: index into the array of stations
        • m3 bits 7..4: persistent random data for railway stations/waypoints and airports)
        • m3 bits 7..4: owner of tram tracks (road stop)
        • m3 bits 3..0: track type for railway stations/waypoints
        • -
        • m3 bits 1..0: water class for buoys, water part of docks and for airport tiles
        • m4: custom station id; 0 means standard graphics
        • m5: graphics index (range from 0..255 for each station type): @@ -959,9 +959,9 @@
           
            -
          • m1: owner (for sea, rivers, and coasts normally 11)
          • +
          • m1 bits 6..5 : Water class (sea, canal or river) +
          • m1 bits 4..0: owner (for sea, rivers, and coasts normally 11)
          • m2: Depot index (for depots only)
          • -
          • m3 bits 1..0 : Water class (sea, canal or river)
          • m4: Random data for canal or river tiles
          • m5: tile type: @@ -1413,7 +1413,7 @@ - + @@ -77,7 +77,7 @@ the array so you can quickly see what is used and what is not. - + @@ -89,7 +89,7 @@ the array so you can quickly see what is used and what is not. - + @@ -123,7 +123,7 @@ the array so you can quickly see what is used and what is not. - + @@ -169,7 +169,7 @@ the array so you can quickly see what is used and what is not. - + @@ -181,7 +181,7 @@ the array so you can quickly see what is used and what is not. - + @@ -216,7 +216,7 @@ the array so you can quickly see what is used and what is not. - + @@ -227,7 +227,7 @@ the array so you can quickly see what is used and what is not. - + @@ -238,7 +238,7 @@ the array so you can quickly see what is used and what is not. - + @@ -259,9 +259,9 @@ the array so you can quickly see what is used and what is not. - + - + @@ -272,7 +272,7 @@ the array so you can quickly see what is used and what is not. - + @@ -283,7 +283,7 @@ the array so you can quickly see what is used and what is not. - + @@ -306,7 +306,7 @@ the array so you can quickly see what is used and what is not. - + @@ -329,7 +329,7 @@ the array so you can quickly see what is used and what is not. - + -- cgit v1.2.3-70-g09d2
             
              -
            • m1: owner
            • +
            • m1 bits 4..0: owner
            • m3 bits 7..4: owner of tram
            • m3 bits 3..0: track type for railway
            • m5 bit 4: pbs reservation state for railway
            • @@ -1566,7 +1566,8 @@
             
              -
            • m1: owner of the object (for lighthouses and transmitters normally 10)
            • +
            • m1 bits 6..5 : Water class (sea, canal, river or land) +
            • m1 bits 4..0: owner of the object (for lighthouses and transmitters normally 10)
            • m2: see company statue
            • m3: offset to northern most tile
            • 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.
            0 ground XXXX XXXX~~~~ ~~~~OOO~ ~~~~ OOOO OOOO OOOO OOOO OOOX OOOO XXXX XXOO
            farmland -inherit-~~~~ ~~~~-inherit- XXXX XXXX XXXX XXXX OOOX XXXX -inherit-1 rail XXXX XXXX~~~X XXXXOOOX XXXX OOOO XXXX OOOO OOOO OOOO XXXX OOOO XXXX2 road XXXX XXXX~~~X XXXXOOOX XXXX XXXX XXXX XXXX XXXX XXXX XXXX OOOO OOOO4 trees XXXX XXXX~~~~ ~~~~OOO~ ~~~~ OOOO OOOX XXXX XXXX ~~XX XXXX XXXX XXOO5 rail station XXXX XXXX~~~X XXXXOXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX-inherit- -inherit- -inherit-OOOO OOXXOOOO OOOO OOOO OOOO ~~~~ ~XXX OOXX XOXX-inherit- -inherit- -inherit-XXXX OOXXXXXX OOOO OOOO OOOO XXXX XXXX OOXX XOXX-inherit- -inherit- -inherit-OOOO OOXXOOOO OOOO OOOO OOOO ~~~~ ~~~~ OOXX XOXX6 sea, shore XXXX XXXX~~~X XXXXOXXX XXXX OOOO OOOO OOOO OOOOOOOO OOXXOOOO OOOO OOOO OOOO X~~X XXXX XXOO OOXX-inherit- -inherit- OOOO OOOO OOOO OOOOOOOO OOXXOOOO OOOO XXXX XXXX -inherit- XXOO OOXX-inherit- -inherit- XXXX XXXX XXXX XXXXOOOO OOXXOOOO OOOO OOOO OOOO -inherit- XXOO OOXX9 tunnel entrance XXXX XXXX~~~X XXXXOOOX XXXX OOOO OOOO OOOO OOOO XXXX XXXX OOOO OOOOA objects XXXX XXXX~~~X XXXXOXXX XXXX OOOO OOOO OOOO OOOO OOOX XXXX OOOO OOOO