From 46589fa8270516b476cbafd3b1df490ec4106dce Mon Sep 17 00:00:00 2001 From: frosch Date: Wed, 30 Jan 2008 17:22:06 +0000 Subject: (svn r12020) -Documentation: Correct description of TropicZone. --- src/tile_type.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'src/tile_type.h') diff --git a/src/tile_type.h b/src/tile_type.h index e954aa1fb..2d46a74d5 100644 --- a/src/tile_type.h +++ b/src/tile_type.h @@ -41,11 +41,20 @@ enum TileType { /** * Additional infos of a tile on a tropic game. * - * Each non-water tile in a tropic game is either a rainforest tile or a - * desert one. + * The tropiczone is not modified during gameplay. It mainly affects tree growth. (desert tiles are visible though) + * + * In randomly generated maps: + * TROPICZONE_DESERT: Generated everywhere, if there is neither water nor mountains (TileHeight >= 4) in a certain distance from the tile. + * TROPICZONE_RAINFOREST: Genereated everywhere, if there is no desert in a certain distance from the tile. + * TROPICZONE_NORMAL: Everywhere else, i.e. between desert and rainforest and on sea (if you clear the water). + * + * In scenarios: + * TROPICZONE_NORMAL: Default value. + * TROPICZONE_DESERT: Placed manually. + * TROPICZONE_RAINFOREST: Placed if you plant certain rainforest-trees. */ enum TropicZone { - TROPICZONE_INVALID = 0, ///< Invalid tropiczone-type + TROPICZONE_NORMAL = 0, ///< Normal tropiczone TROPICZONE_DESERT = 1, ///< Tile is desert TROPICZONE_RAINFOREST = 2, ///< Rainforest tile }; -- cgit v1.2.3-54-g00ecf