diff options
author | frosch <frosch@openttd.org> | 2010-04-14 19:57:19 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-04-14 19:57:19 +0000 |
commit | aea22529607303aadd138b75b95382c4b3ed02e3 (patch) | |
tree | e6c618956ca8137af08953249c33bef0f0f5d236 /src/tree_map.h | |
parent | a929ab0c24826e80e01c59fe57b4c6087d59301c (diff) | |
download | openttd-aea22529607303aadd138b75b95382c4b3ed02e3.tar.xz |
(svn r19634) -Codechange: Use TREE_INVALID more consistently.
Diffstat (limited to 'src/tree_map.h')
-rw-r--r-- | src/tree_map.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tree_map.h b/src/tree_map.h index 18966da82..a7282cadc 100644 --- a/src/tree_map.h +++ b/src/tree_map.h @@ -22,17 +22,15 @@ * offsets from the grfs files. These points to the start of * the tree list for a landscape. See the TREE_COUNT_* enumerations * for the amount of different trees for a specific landscape. - * - * @note TREE_INVALID may be 0xFF according to the coding style, not -1 (Progman) */ enum TreeType { - TREE_INVALID = -1, ///< An invalid tree TREE_TEMPERATE = 0x00, ///< temperate tree TREE_SUB_ARCTIC = 0x0C, ///< tree on a sub_arctic landscape TREE_RAINFOREST = 0x14, ///< tree on the 'green part' on a sub-tropical map TREE_CACTUS = 0x1B, ///< a catus for the 'desert part' on a sub-tropical map TREE_SUB_TROPICAL = 0x1C, ///< tree on a sub-tropical map, non-rainforest, non-desert TREE_TOYLAND = 0x20, ///< tree on a toyland map + TREE_INVALID = 0xFF, ///< An invalid tree }; /** |