(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.
This commit is contained in:
rubidium
2006-08-20 18:40:57 +00:00
parent a87a2c26ec
commit 6fb092aa7a
25 changed files with 160 additions and 87 deletions

View File

@@ -3003,7 +3003,8 @@ static const SaveLoad _station_desc[] = {
// Was custom station class and id
SLE_CONDNULL(2, 3, 25),
SLE_CONDVAR(Station,build_date, SLE_UINT16, 3, SL_MAX_VERSION),
SLE_CONDVAR(Station,build_date, SLE_FILE_U16 | SLE_VAR_I32, 3, 30),
SLE_CONDVAR(Station,build_date, SLE_INT32, 31, SL_MAX_VERSION),
SLE_CONDREF(Station,bus_stops, REF_ROADSTOPS, 6, SL_MAX_VERSION),
SLE_CONDREF(Station,truck_stops, REF_ROADSTOPS, 6, SL_MAX_VERSION),