(svn r18585) -Codechange: replace some magic numbers by constants

This commit is contained in:
rubidium
2009-12-21 16:13:30 +00:00
parent b3ecc90992
commit abb601f682
4 changed files with 12 additions and 7 deletions

View File

@@ -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
};