diff options
author | rubidium <rubidium@openttd.org> | 2009-12-21 16:13:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-12-21 16:13:30 +0000 |
commit | abb601f682775de2f0670482f0b4b773300c9949 (patch) | |
tree | ecebbb1001c8171c92e35634800c8fc47464549b /src/tile_type.h | |
parent | b3ecc90992d2d74b6be77ba084e21671b7ba9163 (diff) | |
download | openttd-abb601f682775de2f0670482f0b4b773300c9949.tar.xz |
(svn r18585) -Codechange: replace some magic numbers by constants
Diffstat (limited to 'src/tile_type.h')
-rw-r--r-- | src/tile_type.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tile_type.h b/src/tile_type.h index 4083dfd67..bd1d62dab 100644 --- a/src/tile_type.h +++ b/src/tile_type.h @@ -21,6 +21,8 @@ enum { TILE_HEIGHT = 8, ///< The standard height-difference between tiles on two levels is 8 (z-diff 8) MAX_TILE_HEIGHT = 15, ///< Maximum allowed tile height + MIN_SNOWLINE_HEIGHT = 2, ///< Minimum snowline height + DEF_SNOWLINE_HEIGHT = 7, ///< Default snowline height MAX_SNOWLINE_HEIGHT = (MAX_TILE_HEIGHT - 2), ///< Maximum allowed snowline height }; |