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
commitccb13bdd52dd8a0b0a6eebbb6222ef56aa6e9837 (patch)
tree834594acaf672bdbcf810b84c3e44cbd20b7e2fe /src/tile_type.h
parent1268a70466a4dd16a8af5f191c3aeba41dae286f (diff)
downloadopenttd-ccb13bdd52dd8a0b0a6eebbb6222ef56aa6e9837.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
};