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

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

View File

@@ -68,6 +68,9 @@ enum {
/** The absolute minimum & maximum years in OTTD */
#define MIN_YEAR 0
/** The default starting year */
#define DEF_START_YEAR 1950
/**
* MAX_YEAR, nicely rounded value of the number of years that can
* be encoded in a single 32 bits date, about 2^31 / 366 years.