From fea811a4b7734e57bc982860a23574bdf96beb4b Mon Sep 17 00:00:00 2001 From: Darkvater Date: Fri, 11 Mar 2005 18:31:56 +0000 Subject: (svn r1991) - Fix: Fix some of the gaping holes in the colouring, and added some additional info --- docs/landscape.html | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'docs/landscape.html') diff --git a/docs/landscape.html b/docs/landscape.html index 4b57808a1..2f4f6c775 100644 --- a/docs/landscape.html +++ b/docs/landscape.html @@ -2,22 +2,19 @@ - + -Transport Tycoon Deluxe savegame internals +OpenTTD Landscape Internals

Landscape

-Five arrays are used to encode the information of the contents of each tile. These arrays are referred to as map_owner, map2, map3_lo, type_and_height and map5. The known encodings are listed in the table below. The most important value is the class of a tile, stored in the upper 4 bits of the type_and_height array. The lower 4 bits are used to encode the height and slope data. For a graphical represenation of the tile-layout have a look at Landscape grid page. +Five arrays are used to encode the information of the contents of each tile. These arrays are referred to as "map_owner", "map2", "map3_lo|_hi", "map_type_and_height" and "map5". The known encodings are listed in the table below. The most important value is the class of a tile, stored in the upper 4 bits of the type_and_height array. The lower 4 bits are used to encode the height and slope data. For a graphical represenation of the tile-layout have a look at Landscape grid page.

-Owner values 00 through 07 are companies (they're indices into the array of companies), 10 is no owner, 11 appears to be reserved for water, 80 and above are towns (in this case the low 7 bits contain an index into the town array). -

-

-TTD's class-specific periodic tile processing routine is called once every +256 ticks for each tile. +OTTD's class-specific periodic tile processing routine is called once every +256 ticks for each tile.

@@ -606,13 +603,13 @@ map5 bit 5 set:
-Classes B through F are reserved. The presence of a tile in one of the reserved classes will crash TTD. +Classes B through F are reserved. The presence of a tile in one of the reserved classes will crash OTTD.

-Copyright © 2003 by Marcin Grzegorczyk.
+Original Copyright © 2003 by Marcin Grzegorczyk for TTDLX.
Transport Tycoon and Transport Tycoon Deluxe are Copyright © by Chris Sawyer. All the other trademarks are the property of their respective owners.
-- cgit v1.2.3-54-g00ecf