summaryrefslogtreecommitdiff
path: root/src/tile_type.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-01-30 17:22:06 +0000
committerfrosch <frosch@openttd.org>2008-01-30 17:22:06 +0000
commit46589fa8270516b476cbafd3b1df490ec4106dce (patch)
tree834594acaf672bdbcf810b84c3e44cbd20b7e2fe /src/tile_type.h
parent1cdee354b490d4c1dbbfe05f51322b2b143cb392 (diff)
downloadopenttd-46589fa8270516b476cbafd3b1df490ec4106dce.tar.xz
(svn r12020) -Documentation: Correct description of TropicZone.
Diffstat (limited to 'src/tile_type.h')
-rw-r--r--src/tile_type.h15
1 files changed, 12 insertions, 3 deletions
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
};