From 28a08437075be6495df383ca854f6026965a8b8e Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 20 Aug 2006 18:40:57 +0000 Subject: (svn r5999) -Feature: change the original date format to a 32 bits format based at the year 0. The game date subsystem now allows someone to start in the year 0 and continue up to the year 5 000 000. However, you currently cannot build anything before 1920 as there is no newgrf support for dates before 1920 or after 2090 yet. --- openttd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'openttd.h') diff --git a/openttd.h b/openttd.h index a7b2abd91..857f92b15 100644 --- a/openttd.h +++ b/openttd.h @@ -54,11 +54,11 @@ typedef byte WindowClass; enum { INVALID_YEAR = -1, - INVALID_DATE = (uint16)-1, + INVALID_DATE = -1, }; -typedef int16 Year; -typedef uint16 Date; +typedef int32 Year; +typedef int32 Date; enum GameModes { -- cgit v1.2.3-54-g00ecf