summaryrefslogtreecommitdiff
path: root/date.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-15 15:18:03 +0000
committerrubidium <rubidium@openttd.org>2006-08-15 15:18:03 +0000
commit0d3ccad29fb035fced3a1a87b7804fde8c4e94b1 (patch)
tree40cc27f619e175b8c9a80e13e6651c33b92144aa /date.h
parent8aa76f306db00b81f14b53a736b6e30099258841 (diff)
downloadopenttd-0d3ccad29fb035fced3a1a87b7804fde8c4e94b1.tar.xz
(svn r5916) -Cleanup: use MIN_YEAR/MAX_YEAR for the year boundaries and BASE_YEAR when comparing _cur_year with a 'full' year.
-Cleanup: replace some magic '1920' values with BASE_YEAR.
Diffstat (limited to 'date.h')
-rw-r--r--date.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/date.h b/date.h
index 96fa2799a..5c486f374 100644
--- a/date.h
+++ b/date.h
@@ -8,9 +8,9 @@
*/
#define DAY_TICKS 74
-#define MAX_YEAR_BEGIN_REAL 1920
-#define MAX_YEAR_END_REAL 2090
-#define MAX_YEAR_END 170
+#define BASE_YEAR 1920
+#define MIN_YEAR 1920
+#define MAX_YEAR 2090
/* Year and Date are defined elsewhere */
typedef uint8 Month;