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/date_type.h | |
parent | b3ecc90992d2d74b6be77ba084e21671b7ba9163 (diff) | |
download | openttd-abb601f682775de2f0670482f0b4b773300c9949.tar.xz |
(svn r18585) -Codechange: replace some magic numbers by constants
Diffstat (limited to 'src/date_type.h')
-rw-r--r-- | src/date_type.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/date_type.h b/src/date_type.h index 5afc925e4..e0481ff49 100644 --- a/src/date_type.h +++ b/src/date_type.h @@ -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. |