Skip to navigation

Landscape: landscapeConfig

Name: landscapeConfig [Show more] Type: Variable Category: Landscape Summary: The configuration data for each tile row in the landscape
Context: See this variable in context in the source code References: This variable is used as follows: * landscapeConfigAddr uses landscapeConfig

This table contains configuration data for the tile rows that make up the landscape. The first byte is read but is never used. The second byte is the number of points (i.e. corners) in each tile row. This is the same for all tile rows, so while this table would allow us to tailor the number of tiles plotted on each row, perhaps to make them taper off into the distance, this isn't actually done.
.landscapeConfig \ We need a configuration for each tile \ corner row EQUB &3A, TILES_X \ Tile row #0 ] FOR I% = 1 TO (TILES_Z - 1) / 2 [ OPT pass% EQUB &E3, TILES_X \ Tile row data (even) EQUB &E4, TILES_X \ Tile row data (odd) ] NEXT [ OPT pass% EQUB &E3, TILES_X \ Tile row #TILES_Z ALIGN